Linode Forum
https://forum.linode.com/

postfix and dovecot issues
https://forum.linode.com/viewtopic.php?f=11&t=6994
Page 1 of 1

Author:  lilmike [ Thu Apr 21, 2011 1:50 am ]
Post subject:  postfix and dovecot issues

Hi all,
I re-installed dovecot along with postfix a while back following the linode library article, hoping it would solve a couple problems I'd been having. However, it didn't seem to.
Basically, I'll start with one problem first, as I can't test any other problems until this is resolved. I can't seem to send mail to any users on my system. I don't get an error mailed back for most of the domains under my control, but one in particular (mtgames.org) sends back "no such user..." whenever I send email to it, although I know it's in the table -- I've checked many times. The others just silently don't get received. I've checked using squirrel mail -- as I can't use any external clients, it's kind of hard to test -- but squirrel mail doesn't seem to be seeing anything new. Logs for two domains (mtgames.org first, then another domain that doesn't bounce):

Apr 21 00:42:55 mtgames postfix/qmgr[25927]: EA0F3290AB: from=<ai5hf@hotmail.com>, size=3904, nrcpt=1 (queue active)
Apr 21 00:42:55 mtgames postfix/trivial-rewrite[18933]: warning: do not list domain mtgames.org in BOTH mydestination and virtual_mailbox_domains
Apr 21 00:42:55 mtgames postfix/local[18940]: EA0F3290AB: to=<webmaster@mtgames.org>, relay=local, delay=7.1, delays=7/0.05/0/0.02, dsn=5.1.1, status=bounced (unknown user: "webmaster")
Apr 21 00:42:55 mtgames postfix/cleanup[18939]: 4CD6529151: message-id=<20110421054255.4CD6529151@mtgames.org>
Apr 21 00:42:55 mtgames postfix/bounce[18941]: EA0F3290AB: sender non-delivery notification: 4CD6529151
Apr 21 00:42:55 mtgames postfix/qmgr[25927]: 4CD6529151: from=<>, size=5632, nrcpt=1 (queue active)
Apr 21 00:42:55 mtgames postfix/qmgr[25927]: EA0F3290AB: removed
Apr 21 00:42:55 mtgames postfix/smtp[18942]: 4CD6529151: to=<ai5hf@hotmail.com>, relay=mx3.hotmail.com[65.55.37.104]:25, delay=0.5, delays=0.03/0.03/0.17/0.27, dsn=2.0.0, status=sent (250<20110421054255.4CD6529151@mtgames.org> Queued mail
for delivery)
Apr 21 00:42:55 mtgames postfix/qmgr[25927]: 4CD6529151: removed

Apr 21 00:39:50 mtgames postfix/smtpd[18777]: connect from snt0-omc4-s51.snt0.hotmail.com[65.54.51.102]
Apr 21 00:39:51 mtgames postfix/smtpd[18777]: E11E6290AB: client=snt0-omc4-s51.snt0.hotmail.com[65.54.51.102]
Apr 21 00:39:51 mtgames postfix/cleanup[18758]: E11E6290AB: message-id=<SNT144-ds47D061DB4B9E84ED0FC07FC920@phx.gbl>
Apr 21 00:39:51 mtgames postfix/qmgr[25927]: E11E6290AB: from=<ai5hf@hotmail.com>, size=3903, nrcpt=1 (queue active)
Apr 21 00:39:51 mtgames postfix/smtpd[18777]: disconnect from snt0-omc4-s51.snt0.hotmail.com[65.54.51.102]
Apr 21 00:39:51 mtgames postfix/virtual[18785]: E11E6290AB: to=<webmaster@mtprox.org>, relay=virtual, delay=0.52, delays=0.13/0.23/0/0.16, dsn=2.0.0, status=sent (delivered to maildir)
Apr 21 00:39:51 mtgames postfix/qmgr[25927]: E11E6290AB: removed

As you can see, it looks like the second one got there, but looking in the /home/vmail directory for mtprox.org and webmaster, the latest has a timestamp of around February 26. This shows the same thing that squirrel mail showed.
Any help is appreciated.
Thanks,
-Michael.

Author:  Stever [ Thu Apr 21, 2011 11:07 am ]
Post subject:  Re: postfix and dovecot issues

lilmike wrote:
warning: do not list domain mtgames.org in BOTH mydestination and virtual_mailbox_domains

Fix this. You can't use virtual delivery on a domain listed in mydestination. Most likely you want to remove the domain in question from mydestination.

Quote:
As you can see, it looks like the second one got there, but looking in the /home/vmail directory for mtprox.org and webmaster, the latest has a timestamp of around February 26.

Add a "-v" to the end of the virtual line in master.cf like so:
Code:
virtual   unix  -       n       n       -       -       virtual -v

Restart postfix and your logs will tell you more than you ever wanted to know about how it decided where to put that message.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/