On 24.03.25 15:19, Andreas Haumer wrote:
Recently I noticed a (at least for me) very strange problem
with a mailserver running sendmail + SpamAssassin: sometimes
(not always!) the Received: header inserted by sendmail is completely wrong,
triggering SpamAssassin rules like "T_DATE_IN_FUTURE_96_Q"

More details: this is an internet-facing mail MX, currently running Debian 10
with sendmail 8.15.2 and spamass-milter 0.4.0

note that with milter, current Received: header is NOT the one produced by MTA but by spamass-milter. The milter protocol provides message exactly as it came without local additions like Received: header.

This also means that Received: header spamd sees as mail is being received is diferent than the one you see later.

looking at logs I've had similar problem years ago:

https://marc.info/?l=spamassassin-users&m=139282758624769&w=2
without success:
https://marc.info/?l=spamassassin-users&m=139410750008972&w=2


and IIRC the working solution was to avoid sending 'b' macro at all, so spamass-milter generates its own.


--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"One World. One Web. One Program." - Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler

Reply via email to