Add an aditional header to spam mail.

James Ytterstene james.ytterstene at MDH.SE
Tue Oct 19 14:09:37 IST 2004


Hello

My misstake. I ment that it was this header i would like to doubble. The
header "Spam Header = X-%org-name%-MailScanner-SpamCheck:" includes the
detailed information about the different scores from a spam mail. I need a
clean header with only the value "YES".

So a correct look would be like this
------------------------------------

X-spam: YES
X-My-Company-MailScanner-SpamCheck: spam, SpamAssassin (resultat=26.966, krav 5,
        autolearn=disabled, HTML_10_20 0.29, HTML_MESSAGE 0.00,
...
        X_MESSAGE_INFO 4.19)
X-My-Company-MailScanner-SpamScore: ssssssssssssssssssss

-------------------------------------

/James

On Tue, 19 Oct 2004, Martin Hepworth wrote:

> James
> Already there..
>
> from MailScanner.conf
>
> # Add this extra header to all messages found to be spam.
> # This can also be the filename of a ruleset.
> Spam Header = X-%org-name%-MailScanner-SpamCheck:
>
>
>
>
>
> --
> Martin Hepworth
> Snr Systems Administrator
> Solid State Logic
> Tel: +44 (0)1865 842300
>
>
> James Ytterstene wrote:
> > Hello
> >
> > I would like to add an extra header to all mail that is spam.
> > There is an header named "Spam Score Header" that is inserted into mails
> > that are spam, but i would like to have two headers.
> > The first header is a static one and the second is the normal where i get
> > the detailed information. The result should look something like this
> >
> > X-spam: YES
> > X-My-Company-MailScanner-SpamScore: spam, bla bla
> >
> > It is this first extra line i would like to insert. I have tried
> > everyting i know. but cant get it to work. Can it be done with rulesets ?
> >
> >
> > /James Ytterstene
> >
> > ------------------------ MailScanner list ------------------------
> > To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> > 'leave mailscanner' in the body of the email.
> > Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> > the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> **********************************************************************
>
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote confirms that this email message has been swept
> for the presence of computer viruses and is believed to be clean.
>
> **********************************************************************
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).



More information about the MailScanner mailing list