Dusan Obradovic:
> 
> > On Mar 18, 2020, at 11:45 AM, ego...@gmail.com wrote:
> > 
> > host xxx-xxx.mail.protection.outlook.com[X.X.X.X] said: 554 5.4.14 Hop
> > count exceeded - possible mail loop ATTR1
> > [xxx-xxx.prod.protection.outlook.com] (in reply to end of DATA
> > command)
> > 
> 
> I suspect this is based on received headers.
> 
> > Is there a way in Postfix to
> > "mask" (?) source IP and avoid this loop? Do you have better ideas?
> 
> Alternatively, You could remove some of the existing Received: headers with 
> Postfix.
> See http://www.postfix.org/header_checks.5.html

That is a dangerous solution as it could cause mail to loop forever.

To find out if there actually is a hopcount problem, look for the
message ID of a looping message.  

Exmnple:

Mar 18 00:56:32 spike postfix/cleanup[71391]: 48hyS02vZDzJrNs: 
message-id=<48hys02vzdzj...@spike.porcupine.org>

The message ID is "48hys02vzdzj...@spike.porcupine.org".

If mail is really looping then you should see that message ID
going through your mail system repeatedly.

If mail is not really looping, then Microsoft may be reporting 
a hopcount error for other reasons, and using a different
source IP address may help.

        Wietse

Reply via email to