Re: [opensuse] Postfix + Cyrus IMAP + MySQL won't work :-(



Martin Mielke wrote:
Hi all,

I followed the instructions under http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/index.html to set up Postfix + Cyrus IMAP + MySQL.

Before posting here I was searching for a solution but couldn't find it, so maybe someone here could shed some light...

After setting everything up I wanted to test the whole scenario...
It doesn't seem to work, though...

These are the relevant error lines taken from /var/log/mail when sending one single email from root to my newly created email account:

---
May 9 13:05:27 v601 sendmail[13720]: l49B5RoD013720: from=root, size=60, class=0, nrcpts=2, msgid=<200705091105.l49B5RoD013720@xxxxxxxxxxxxxxxxxxxxxx>, relay=root@localhost

You have a mixed configuration!! This syslog entry was made by Sendmail,
not the compatibility binary of Postfix.

Did you have a previous installation with Sendmail enabled?

The sendmail binary from Postfix logs its entries like

May 9 13:05:27 v601 postfix/pickup[12532]: 41C5B4940E: uid=0 from=<root>


May 9 13:05:27 v601 postfix/smtpd[13721]: connect from v601.myemaildomain.com[127.0.0.1]
May 9 13:05:27 v601 postfix/smtpd[13721]: 081342C0168: client=v601.myemaildomain.com[127.0.0.1], sasl_sender=root@xxxxxxxxxxxxxxxxxxxxxx
May 9 13:05:27 v601 postfix/cleanup[13725]: 081342C0168: message-id=<200705091105.l49B5RoD013720@xxxxxxxxxxxxxxxxxxxxxx>
May 9 13:05:27 v601 postfix/qmgr[13497]: 081342C0168: from=<root@xxxxxxxxxxxxxxxxxxxxxx>, size=536, nrcpt=2 (queue active)
May 9 13:05:27 v601 sendmail[13720]: l49B5RoD013720: to=martin.mielke@xxxxxxxxxxxxxxxxx,., ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60060, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 081342C0168)
May 9 13:05:27 v601 postfix/smtpd[13721]: disconnect from v601.myemaildomain.com[127.0.0.1]
May 9 13:05:27 v601 master[13733]: about to exec /usr/lib/cyrus-imapd/lmtpd
May 9 13:05:27 v601 lmtpunix[13733]: executed
May 9 13:05:27 v601 lmtpunix[13733]: accepted connection
May 9 13:05:27 v601 lmtpunix[13733]: lmtp connection preauth'd as postman
May 9 13:05:27 v601 master[13735]: about to exec /usr/lib/cyrus-imapd/lmtpd
May 9 13:05:27 v601 lmtpunix[13733]: verify_user(user.^) failed: Mailbox does not exist
May 9 13:05:27 v601 lmtpunix[13733]: accepted connection
May 9 13:05:27 v601 lmtpunix[13733]: lmtp connection preauth'd as postman
May 9 13:05:27 v601 lmtpunix[13733]: verify_user(user.martin^mielke^myemaildomain^com) failed: Mailbox does not exist

Are you able to use deliver to submit mails to Cyrus? This looks as if
either The mailbox does not exist in Cyrus (verify in cyradm, that the
mailbox was successfully created AND that it has beed created within a
virtual domain.

May 9 13:05:27 v601 lmtpunix[13735]: executed
May 9 13:05:27 v601 postfix/pipe[13731]: 081342C0168: to=<martin.mielke.myemaildomain.com@xxxxxxxxxxxxxxxxx>, orig_to=<martin.mielke@xxxxxxxxxxxxxxxxx>, relay=cyrus, delay=0.08, delays=0.05/0.01/0/0.02, dsn=5.6.0, status=bounced (data format error. Command output: martin.mielke.myemaildomain.com: Mailbox does not exist )
May 9 13:05:28 v601 postfix/pipe[13730]: 081342C0168: to=<.@xxxxxxxxxxxxxxxxxxxxxx>, relay=cyrus, delay=1.1, delays=0.05/0.01/0/1.1, dsn=5.6.0, status=bounced (data format error. Command output: .: Mailbox does not exist )
May 9 13:05:28 v601 postfix/cleanup[13725]: 20A4E2C016C: message-id=<20070509110528.20A4E2C016C@xxxxxxxxxxxxxxxxxxxxxx>
May 9 13:05:28 v601 postfix/bounce[13736]: 081342C0168: sender non-delivery notification: 20A4E2C016C
May 9 13:05:28 v601 postfix/qmgr[13497]: 20A4E2C016C: from=<>, size=2805, nrcpt=1 (queue active)
May 9 13:05:28 v601 postfix/qmgr[13497]: 081342C0168: removed
May 9 13:05:28 v601 lmtpunix[13733]: accepted connection
May 9 13:05:28 v601 lmtpunix[13733]: lmtp connection preauth'd as postman
May 9 13:05:28 v601 lmtpunix[13733]: verify_user(user.root) failed: Mailbox does not exist
May 9 13:05:28 v601 postfix/pipe[13731]: 20A4E2C016C: to=<root@xxxxxxxxxxxxxxxxxxxxxx>, relay=cyrus, delay=0.01, delays=0/0/0/0, dsn=5.6.0, status=bounced (data format error. Command output: root: Mailbox does not exist )
May 9 13:05:28 v601 postfix/qmgr[13497]: 20A4E2C016C: removed

Okay, that address doesn't exist either, so Postfix killed the mail
completely. One more mail has succeeded to reach Digital Nirwana(TM)...

May 9 13:06:08 v601 master[13347]: process 13714 exited, status 0
May 9 13:06:28 v601 master[13347]: process 13733 exited, status 0
May 9 13:21:55 v601 master[13808]: about to exec /usr/lib/cyrus-imapd/ctl_cyrusdb

---


In the meantime I'll re-read and re-check one more time the whole process... although I'm close to have all in my mind already :-/

Without showing the actual configuration no advice can be given.

I suggest you get Cyrus up first, then at least you can deliver mails
safely. Afterwards you should see that Postfix is configured as you need it.

--
Sandy

List replies only please!
Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: [SLE] Seeking help with mail-server setup
    ... > fetchmail brought and feeds it to IMAP, ... > postfix can see it... ... Postfix uses his configuration to see, if the mails belong to a local ... Then postfix delivers the mails to Cyrus. ...
    (SuSE)
  • Sendmail v. Postfix/Exim/... (was: virtual domains and backscatter)
    ... That is what I'm doing on the old server. ... But cyrus isn't cooperating ... but as of this week the network went live with postfix (using ... cf)I'll still run sendmail on dedicated boxes, ...
    (comp.mail.sendmail)
  • Can not deliver to cyrus imapd
    ... I want to deliver mails to the cyrus imapd (like described in the ... manuel from cyrus). ... But the problem is sendmail delivers only to ...
    (comp.mail.sendmail)
  • Re: sendmail vs. postfix question
    ... > Sendmail is a large, monolithic, complicated program that runs as ... > Sendmail configuration is complicated and arcane -- it is the ... > Postfix has a different architecture, ...
    (FreeBSD-Security)
  • Re: [opensuse] How to monitor Linux systems from a focal/central point (was: ranting and raving abo
    ... I'm perfectly well aware of how to set up Postfix, and, for my sins, ... workstation ran Postfix, exim, sendmail or other such MTA. ... this is solely regarding the case of a minimal install on a resource-limited ... client machine that has absolutely no need for an MTA to be installed. ...
    (SuSE)