Re: Sendmail rejects incoming messages with large number of 'received' headers
On Sun, Feb 06, 2005 at 09:42:21PM +1030, Wayne Sierke wrote: > My FreeBSD mail server includes a getmail/sendmail/maildrop combination > which occasionally fails when getmail retrieves a message via POP which > has a large number of 'received' headers which result in it being > rejected by sendmail. Is there some way of convincing sendmail to accept > these messages, other than arbitrarily increasing MaxHopCount? Not really. All MTA have a MaxHopCount feature to prevent mail-looping due to misconfiguration. You won't appreciate it until you've have thousands of emails bouncing between 2 servers due to a misconfiguration. Your best bet is to up your MaxHopCount to some reasonably large number to cover your situation, eg: 100? Cheers. -- Jonathan Chen <[EMAIL PROTECTED]> -- The Internet: an empirical test of the idea that a million monkeys banging on a million keyboards can produce Shakespeare ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Sendmail rejects incoming messages with large number of 'received' headers
My FreeBSD mail server includes a getmail/sendmail/maildrop combination which occasionally fails when getmail retrieves a message via POP which has a large number of 'received' headers which result in it being rejected by sendmail. Is there some way of convincing sendmail to accept these messages, other than arbitrarily increasing MaxHopCount? I have applied the 'no_delivered_to' and 'no_received' options to getmail to suppress its additional header insertion but the messages in question already have enough headers (from having been caught up in a loop somewhere on their way to the external POP server) to cause sendmail to reject them. Currently I am forced to delete the message manually from the POP server. Surprisingly I haven't been able to locate any details about how to deal with this situation. All the info I can find either simply re-states the sendmail doc re MaxHopCount "The maximum number of times a message is allowed to ``hop'' before we decide it is in a loop." or discusses a local mis-configuration issue resulting in a local mail delivery loop. It makes me wonder whether I'm missing something quite obvious? Thanks, Wayne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"