I have dovecot configured to use an LDAP database for mail delivery with dovecot-lda. All of of my user accounts and aliases work fine except for postmaster@ which consistantly bounces. I have compared the entry for postmaster with another working alias and see no difference. When I send mail to postmaster I get the following in the logs:
Jun 11 02:11:13 server1 postfix/pipe[12083]: 6D6CF33444: to=postmaster@mydomain.com, orig_to=<postmaster>, relay=dovecot, delay=3, status=bounced (user unknown)Jun 11 02:11:13 server1 deliver(treed@mydomain.com): saved mail to INBOX Jun 11 02:11:13 server1 postfix/pipe[12193]: 6D6CF33444: to=treed@mydomain.com, orig_to=<postmaster>, relay=dovecot, delay=3, status=sent (mydomain.com) Jun 11 02:11:13 server1 postfix/cleanup[12055]: 49F1F33431: message-id=20060611091113.49F1F33431@mail.mydomain.com Jun 11 02:11:13 server1 postfix/qmgr[29342]: 49F1F33431: from=<>, size=2138, nrcpt=2 (queue active) Jun 11 02:11:13 server1 postfix/qmgr[29342]: 6D6CF33444: removed Jun 11 02:11:13 server1 postfix/smtpd[12089]: 6464D33415: client=d150-39-102.home.cgocable.net[24.150.39.102] Jun 11 02:11:13 server1 postfix/pipe[12193]: 49F1F33431: to=treed@mydomain.com, orig_to=root@mydomain.com, relay=dovecot, delay=0, status=sent (mydomain.com) Jun 11 02:11:13 server1 postfix/pipe[12083]: 49F1F33431: to=myboss@mydomain.com, orig_to=root@mydomain.com, relay=dovecot, delay=0, status=sent (mydomain.com)
Then I get a bounce email back saying:
postmaster@drjays.com (expanded from <postmaster>): user unknown
The strange thing is that first I get the bounce and then the mail goes on to be delivered to the two users (me and my boss) specified in the alias as it should be. How is this possible that the user is unknown and then it goes on to deliver to the alias?
I am running 1.0.beta8 pulled from CVS May 23 16:46 (PDT) with openldap-2.2.13-4 on CentOS 4.3
Thanks for any clues you can provide!
-- Tracy R Reed http://ultraviolet.org
On Sun, 2006-06-11 at 02:30 -0700, Tracy R Reed wrote:
I have dovecot configured to use an LDAP database for mail delivery with dovecot-lda. All of of my user accounts and aliases work fine except for postmaster@ which consistantly bounces. I have compared the entry for postmaster with another working alias and see no difference.
The postmaster is just an alias, not a real account? In that case it should never have even gotten to dovecot-lda. So that's a Postfix configuration problem, but I'm not too good with Postfix myself so can't help you there.
participants (2)
-
Timo Sirainen
-
Tracy R Reed