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@v601.myemaildomain.com>, 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@v601.myemaildomain.com May 9 13:05:27 v601 postfix/cleanup[13725]: 081342C0168: message-id=<200705091105.l49B5RoD013720@v601.myemaildomain.com> May 9 13:05:27 v601 postfix/qmgr[13497]: 081342C0168: from=<root@v601.myemaildomain.com>, size=536, nrcpt=2 (queue active) May 9 13:05:27 v601 sendmail[13720]: l49B5RoD013720: to=martin.mielke@myemaildomain.com,., 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@myemaildomain.com>, orig_to=<martin.mielke@myemaildomain.com>, 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=<.@v601.myemaildomain.com>, 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@v601.myemaildomain.com> 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@v601.myemaildomain.com>, 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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org