Spamassassin headers in all mails
Hi!
Is there a way to include spamassassin headers in ALL mails and not just in some? I found this article, but it's 2009: Exim, Apache SpamAssassin and X-Spam-Status Header
Any suggestions?
One customer is getting spam mails, but some come without spamassassin headers.
Thanks!
-
Hello, Could you provide an example of the information you'd like to see in the header of every email? For instance, which lines are added to the header on some messages, but not others? Thank you. 0 -
I mean the usual "spamassassin" headers, for example: X-Spam-Status: No, score=-0.5 X-Spam-Score: -4 X-Spam-Bar: / X-Ham-Report: Spam detection software, running on the system "servidor.muchoespacio.net", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see root\@localhost for details. 0 -
Hello, That should appear in the header of any message as long as SpamAssassin is enabled for the account. Could you let us know the output from /var/log/exim_mainlog for one of the messages that doesn't include this information in the message header? EX: exigrep MSGID /var/log/exim_mainlog
Replace MSGID with the message ID found in the header of an affected message. Thank you.0 -
Here you are: root@servidor [~]# exigrep 1cyIQ9-003lsZ-JB /var/log/exim_mainlog 2017-04-12 08:34:54 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1cyIQ9-003lsZ-JB 2017-04-12 08:34:54 1cyIQ9-003lsZ-JB H=mail-oln040092002090.outbound.protection.outlook.com (NAM01-SN1-obe.outbound.protection.outlook.com) [40.92.2.90]:23328 Warning: Message has been scanned: no virus or other harmful content was found 2017-04-12 08:34:54 1cyIQ9-003lsZ-JB <= someusr@hotmail.com H=mail-oln040092002090.outbound.protection.outlook.com (NAM01-SN1-obe.outbound.protection.outlook.com) [40.92.2.90]:23328 P=esmtps X=TLSv1.2:ECDHE-RSA-AES256-SHA384:256 CV=no S=38387 id=CY4PR15MB1254564E3E69F5C416D50EF6C7030@CY4PR15MB1254.namprd15.prod.outlook.com T="Re: MENU \"ANTOJITOS EL PARAISO\"" for someusr@example.com.mx 2017-04-12 08:34:55 1cyIQ9-003lsZ-JB => someusr (someusr@example.com.mx) R=virtual_user T=dovecot_virtual_delivery C="250 2.0.0 6SB5Lf4s7lhLsA0Awi/dpA Saved" 2017-04-12 08:34:55 1cyIQ9-003lsZ-JB Completed
I checked, and Spamassassin is activated on the account "someusr" Maybe the problem is that the sender's mail is on the same server?0 -
Maybe the problem is that the sender's mail is on the same server?
Hello, To confirm, is this an email sent to an email account that's hosted on the same server? If so, SpamAssassin will automatically allow these emails to pass through. Thank you.0
Please sign in to leave a comment.
Comments
5 comments