> On Feb 10, 2024, at 15:55, Wietse Venema via Postfix-users 
> <postfix-users@postfix.org> wrote:
> 
> Doug Hardie via Postfix-users:
>> I used Viktor's collate to trace a specific email handling.  There were a 
>> number of these entries.  However, I am only showing 2 of them:
>> 
> 
> This is host mx01.t-online.de[194.25.134.72]:
> 
>> Feb 10 03:15:40 mail postfix/smtp[60428]: 4TWjVT5qz7z2gF8w:
>> to=<us.ash...@t-online.de>,
>> orig_to=<SRS0=YPr1=JS=t-online.de=us.ash...@lafn.org>,
>> relay=mx01.t-online.de[194.25.134.72]:25, delay=59371,
>> delays=59369/0.02/1.5/0, dsn=4.0.0, status=deferred (host
>> mx01.t-online.de[194.25.134.72] refused to talk to me: 554
>> IP=47.181.130.121 - None/bad reputation. Ask your postmaster for
>> help or to contact t...@rx.t-online.de for reset. (NOWL))
> 
> With "smtp_skip_5xx_greeting = yes" (the default) Postfix
> will skip to an alternate MX address.
> 
> And this is mx03.t-online.de[194.25.134.73]:
> 
>> Feb 10 03:20:21 mail postfix/smtp[60525]: 4TWjVT5qz7z2gF8w:
>> to=<us.ash...@t-online.de>,
>> orig_to=<SRS0=YPr1=JS=t-online.de=us.ash...@lafn.org>,
>> relay=mx03.t-online.de[194.25.134.73]:25, delay=59652,
>> delays=59651/0/1.4/0, dsn=4.0.0, status=deferred (host
>> mx03.t-online.de[194.25.134.73] refused to talk to me: 554
>> IP=47.181.130.121 - None/bad reputation. Ask your postmaster for
>> help or to contact t...@rx.t-online.de for reset. (NOWL))
>> 
>> I am a bit confused as it appears that the receiving MTA is returning
>> a 554 and a 4.0.0 which appears inconsistent.  Obviously postfix
>> is using the temp failure as it continues to retry periodically.
>> From the text, it appears that this should be a permanent failure,
>> not temporary.  Is the receiving MTA confused or am I?
> 
> You can configure this to be permanent. But, as you see, even
> different MTAs of the same provider differ in their responses.

If I am understanding correctly, that means that if I set 
smtp_skip_5xx_greeting to "no", then postfix would stop after the first 5xx and 
terminate the email.  That seems like it might open up some issues where a 
provider with multiple MTAs might have one in problem state, but the others 
working fine.  If postfix tried the problem MTA first, the email would never 
get delivered.

Is there a way to configure postfix to drop the email if all the providers MTAs 
return a 5xx response?

-- Doug


_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to