On 27.07.21 11:18, Reindl Harald wrote:



Hi Harald,

Am 27.07.21 um 10:44 schrieb Dipl-Inform. Frank Gadegast:
Im using SA 3.4 on CentOS 7 via milter.
And have a asn.cf in /etc/mail/spamassassin like this:

loadplugin Mail::SpamAssassin::Plugin::ASN
asn_lookup asn.routeviews.org _ASN_ _ASNCIDR_
add_header all ASN _ASN_ _ASNCIDR_

This gets ignored, when sendmail runs mails through spamass-milter and spamd, there is no X-Spam-ASN nor a X-Spam-Source header inserted

the problem here is that spamass-milter has it's own idea of which headers are present - god only knows why
your asn.cf is running fine ...

Yes, I tweaked the asn.cf to create a test that will be listed in the X-Spam-Status. The asn.cf really works, even when loading via spamass-milter ...

>  but spamass-milter throws away the header

... also right. spamass-milter is removing the header lines.

Yes, I found this here
https://github.com/andybalholm/spamass-milter/issues/11

Seems to be, that spamass-milter simply strippes out any X-Spam* header lines, not caring, if the own call to spamd sets them, hm.

Im really not getting, why spamass-milter should strip X-Spam-lines of the header AFTER SA was running. If Im right, SA is stripping them of anyway, before running or modifying anything ...


Anybody an idea how to get arround this ?

--

Mit freundlichen Gruessen, Frank Gadegast
--
MOTD: "have you enabled SSL on a website or mailbox today ?"
--
PHADE Software - PowerWeb                       http://www.powerweb.de
Inh. Dipl.-Inform. Frank Gadegast             mailto:fr...@powerweb.de
Schinkelstrasse 17                                fon: +49 33200 52920
14558 Nuthetal OT Rehbruecke, Germany             fax: +49 33200 52921
======================================================================

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to