Include a SPAM report on all mail (even non-spam)

Questions and answers about how to do stuff
Post Reply
drewmorris
Posts: 35
Joined: 13 Aug 2014 18:16

Include a SPAM report on all mail (even non-spam)

Post by drewmorris »

I would like to include a SPAM report header on every mail that is processed. I assume I can set the required SPAM threshold to 0 since I am delivering all mail (even SPAM) and I will be processing the headers but I would like to avoid this if possible. Is there a way to include the SPAM report header on all mail without having to sacrifice the threshold?

To clarify... I am talking about the header:

X-{Orgname}-MailScanner-EFA-SpamCheck

I would like this to be on every mail... even non-spam
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Include a SPAM report on all mail (even non-spam)

Post by shawniverson »

I do not see any other way to do this without lowering the threshold to 0 or modifying MailScanner behavior...
drewmorris
Posts: 35
Joined: 13 Aug 2014 18:16

Re: Include a SPAM report on all mail (even non-spam)

Post by drewmorris »

I figured it out and it was surprisingly easy... I feel a little silly now that I did it but in MailScanner.conf I just set the following:

Detailed Spam Report = yes
Include Scores In SpamAssassin Report = yes
Always Include SpamAssassin Report = yes
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Include a SPAM report on all mail (even non-spam)

Post by shawniverson »

:clap: :dance:
Post Reply