OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Mail Undeliverable error with Postfix

From: mouss (moussml.netoyen.net)
Date: Sun Feb 01 2009 - 09:17:25 CST


jan gestre a écrit :
> Hi Mouss,
>
> I've just replicated the issue right now, from /var/log/maillog:
>
> Feb 1 21:26:38 mail postfix/cleanup[19777]: 55E6C148049: hold: header
> Received: from [127.0.0.1] (unknown [122.53.207.8])??by
> mail.ddblocal.com <http://mail.ddblocal.com> (Postfix) with ESMTP id
> 55E6C148049??for <ragestrexinapse.net <mailto:ragestrexinapse.net>>;
> Sun, 1 Feb 2009 21:26:37 +0800 (PHT) from unknown[122.53.207.8];
> from=<jan.gestreddb.com <mailto:jan.gestreddb.com>>
> to=<ragestrexinapse.net <mailto:ragestrexinapse.net>> proto=ESMTP
> helo=<[127.0.0.1]>
> Feb 1 21:26:38 mail postfix/cleanup[19777]: 55E6C148049:
> message-id=<4985A3E0.7000802ddblocal.com
> <mailto:4985A3E0.7000802ddblocal.com>>
> Feb 1 21:26:38 mail postfix/smtpd[19520]: disconnect from
> unknown[122.53.207.8]
> Feb 1 21:26:38 mail dovecot: imap-login: Login:
> user=<jan.gestreddb.com <mailto:jan.gestreddb.com>>, method=plain,
> rip=::ffff:122.53.207.8, lip=::ffff:192.168.1.3
>
> Feb 1 21:26:42 mail MailScanner[17048]: Uninfected: Delivered 1 messages
> Feb 1 21:26:42 mail MailScanner[17048]: MailScanner child dying of old age
> Feb 1 21:26:42 mail postfix/pipe[19788]: D9A6D148050:
> to=<postmasterddblocal.com <mailto:postmasterddblocal.com>>,
> relay=dovecot, delay=5.6, delays=5.6/0.01/0/0.03, dsn=5.1.1,
> status=bounced (user unknown)
>
>
> postmasterddbphil.com <mailto:postmasterddbphil.com> exists and has an
> alias jan.gestreddbphil.com <mailto:jan.gestreddbphil.com>, all emails
> for the postmaster gets forwarded to this account. This doesn't happen
> when I used a webmail client.
>

I guess the alias is defined in alias_maps, but this map is only
consulted by "local", which you don't use (you deliver via dovecot, not
via local).

use virtual_alias_maps instead.