From: Martijn de Munnik on
Hi list,

I had a problem with my primary mailserver which was not able to deliver
mail to some remote mx's. One of the mx's that we couldn't deliver to was
mx-cluster[1-2].one.com. After I modified the transport maps on
mx1.youngguns.nl (stevie.youngguns.nl) the message now is deliverd to
mx2.youngguns.nl (marcus.youngguns.nl). This is as I expected. Then
mx2.youngguns.nl tries to deliver the message but it is greylisted by both
one.com servers. Then after about 20 minutes the message is bounced and I
don't understand why? I searched the log file for the queueid and I found
these log entries:

Jan 21 17:01:58 marcus postfix/smtpd[16434]: 523FD1C11A:
client=stevie.youngguns.nl[213.207.90.2]
Jan 21 17:01:58 marcus postfix/cleanup[16431]: 523FD1C11A:
message-id=<EF40A21D-0444-487C-A6DD-1128C2E2BAAE(a)youngguns.nl>
Jan 21 17:02:30 marcus postfix/qmgr[16421]: 523FD1C11A:
from=<martijn(a)youngguns.nl>, size=650750, nrcpt=1 (queue active)
Jan 21 17:02:30 marcus postfix/smtp[16449]: 523FD1C11A: host
mx-cluster1.one.com[91.198.169.10] said: 450 4.7.1 <ron(a)musicscool.nl>:
Recipient address rejected: Greylisted for 5 minutes (in reply to RCPT TO
command)
Jan 21 17:02:30 marcus postfix/smtp[16449]: 523FD1C11A:
to=<ron(a)musicscool.nl>, relay=mx-cluster2.one.com[91.198.169.11]:25,
delay=32, delays=32/0.01/0.57/0.13, dsn=4.7.1, status=deferred (host
mx-cluster2.one.com[91.198.169.11] said: 450 4.7.1 <ron(a)musicscool.nl>:
Recipient address rejected: Greylisted for 5 minutes (in reply to RCPT TO
command))
Jan 21 17:23:02 marcus postfix/qmgr[16900]: 523FD1C11A:
from=<martijn(a)youngguns.nl>, size=650750, nrcpt=1 (queue active)
Jan 21 17:23:02 marcus postfix/smtp[17064]: 523FD1C11A:
to=<ron(a)musicscool.nl>, relay=none, delay=1264, delays=1264/0.01/0/0,
dsn=5.4.6, status=bounced (mail for mx2.youngguns.nl loops back to myself)
Jan 21 17:23:02 marcus postfix/bounce[17065]: 523FD1C11A: sender
non-delivery notification: B15A81C76E
Jan 21 17:23:02 marcus postfix/qmgr[16900]: 523FD1C11A: removed

thanks,
Martijn

--
YoungGuns
Kasteleinenkampweg 7b
5222 AX 's-Hertogenbosch
T. 073 623 56 40
F. 073 623 56 39
www.youngguns.nl
KvK 18076568

From: Wietse Venema on
Martijn de Munnik:
> Jan 21 17:02:30 marcus postfix/qmgr[16421]: 523FD1C11A:
> from=<martijn(a)youngguns.nl>, size=650750, nrcpt=1 (queue active)
> Jan 21 17:02:30 marcus postfix/smtp[16449]: 523FD1C11A: host
> mx-cluster1.one.com[91.198.169.10] said: 450 4.7.1 <ron(a)musicscool.nl>:
> Recipient address rejected: Greylisted for 5 minutes (in reply to RCPT TO
> command)
> Jan 21 17:02:30 marcus postfix/smtp[16449]: 523FD1C11A:
> to=<ron(a)musicscool.nl>, relay=mx-cluster2.one.com[91.198.169.11]:25,
> delay=32, delays=32/0.01/0.57/0.13, dsn=4.7.1, status=deferred (host
> mx-cluster2.one.com[91.198.169.11] said: 450 4.7.1 <ron(a)musicscool.nl>:
> Recipient address rejected: Greylisted for 5 minutes (in reply to RCPT TO
> command))

Above, musicscool.nl is delivered directly to its MX hosts:

musicscool.nl mail is handled by 10 mx-cluster1.one.com.
musicscool.nl mail is handled by 10 mx-cluster2.one.com.

> Jan 21 17:23:02 marcus postfix/qmgr[16900]: 523FD1C11A:
> from=<martijn(a)youngguns.nl>, size=650750, nrcpt=1 (queue active)
> Jan 21 17:23:02 marcus postfix/smtp[17064]: 523FD1C11A:
> to=<ron(a)musicscool.nl>, relay=none, delay=1264, delays=1264/0.01/0/0,
> dsn=5.4.6, status=bounced (mail for mx2.youngguns.nl loops back to myself)
> Jan 21 17:23:02 marcus postfix/bounce[17065]: 523FD1C11A: sender
> non-delivery notification: B15A81C76E
> Jan 21 17:23:02 marcus postfix/qmgr[16900]: 523FD1C11A: removed

Above, the queue manager was restarted (pid changes from 16421 to
16900), presumably because some Postfix setting was changed.

Now, musicscool.nl is NOT delivered directly to its MX hosts. Try
undoing the change in Postfix setting.

Wietse

From: Martijn de Munnik on
On Thu, 21 Jan 2010 19:35:25 -0500 (EST), wietse(a)porcupine.org (Wietse
Venema) wrote:
> Martijn de Munnik:
>> Jan 21 17:02:30 marcus postfix/qmgr[16421]: 523FD1C11A:
>> from=<martijn(a)youngguns.nl>, size=650750, nrcpt=1 (queue active)
>> Jan 21 17:02:30 marcus postfix/smtp[16449]: 523FD1C11A: host
>> mx-cluster1.one.com[91.198.169.10] said: 450 4.7.1 <ron(a)musicscool.nl>:
>> Recipient address rejected: Greylisted for 5 minutes (in reply to RCPT
TO
>> command)
>> Jan 21 17:02:30 marcus postfix/smtp[16449]: 523FD1C11A:
>> to=<ron(a)musicscool.nl>, relay=mx-cluster2.one.com[91.198.169.11]:25,
>> delay=32, delays=32/0.01/0.57/0.13, dsn=4.7.1, status=deferred (host
>> mx-cluster2.one.com[91.198.169.11] said: 450 4.7.1 <ron(a)musicscool.nl>:
>> Recipient address rejected: Greylisted for 5 minutes (in reply to RCPT
TO
>> command))
>
> Above, musicscool.nl is delivered directly to its MX hosts:
>
> musicscool.nl mail is handled by 10 mx-cluster1.one.com.
> musicscool.nl mail is handled by 10 mx-cluster2.one.com.
>
>> Jan 21 17:23:02 marcus postfix/qmgr[16900]: 523FD1C11A:
>> from=<martijn(a)youngguns.nl>, size=650750, nrcpt=1 (queue active)
>> Jan 21 17:23:02 marcus postfix/smtp[17064]: 523FD1C11A:
>> to=<ron(a)musicscool.nl>, relay=none, delay=1264, delays=1264/0.01/0/0,
>> dsn=5.4.6, status=bounced (mail for mx2.youngguns.nl loops back to
>> myself)
>> Jan 21 17:23:02 marcus postfix/bounce[17065]: 523FD1C11A: sender
>> non-delivery notification: B15A81C76E
>> Jan 21 17:23:02 marcus postfix/qmgr[16900]: 523FD1C11A: removed
>
> Above, the queue manager was restarted (pid changes from 16421 to
> 16900), presumably because some Postfix setting was changed.

Ahh my mistake, the transport map is automatically copied between the
hosts using a cron job. I forgot about that... I solved it using two
separate transport maps.
>
> Now, musicscool.nl is NOT delivered directly to its MX hosts. Try
> undoing the change in Postfix setting.
>
> Wietse

--
YoungGuns
Kasteleinenkampweg 7b
5222 AX 's-Hertogenbosch
T. 073 623 56 40
F. 073 623 56 39
www.youngguns.nl
KvK 18076568