Adding a mail header...

Julian Field mailscanner at
Tue Jan 14 08:55:23 GMT 2003

At 22:05 13/01/2003, you wrote:
>So, what I would like is to have a line like the following added to
>emails that are touched by MailScanner:
>  X-MailScanner-Information: <some URL or contact info>

Do you want this in messages which MailScanner was configured not to scan
as well as those it did scan?
Or do you want it only in messages which MailScanner was configured to scan?

What does anyone else want?

>If MailScanner gets shutdown, I don't want that header in the messages.
>I certainly don't want that header in emails that come into our server
>and go back out without ever touching MailScanner.
>I agree that in some cases, it should be the MTA's responsibility to add
>headers to emails, but not in all cases.  I believe this is one of them.
>I would suggest in the next version to allow for such a header, maybe
>call the config option "Information Header:".
>--On Monday, January 13, 2003 6:53 PM +0000 Julian Field
><mailscanner at ECS.SOTON.AC.UK> wrote:
>>At 17:40 13/01/2003, you wrote:
>>>Maybe I missed something, but it doesn't look like it is possible to add
>>>an arbitrary header to the emails in addition to the "Mail Header" and
>>>the "Spam Header" headers.  I am interested in adding a header that
>>>contains a URL to a web page we maintain describing the spam checking
>>>and virus scanning we are now doing.  Is there an easy way to do this
>>>that I might be missing?
>>Best way is to get your MTA to do it for you. Apparently very easy in
>>Exim, shouldn't be too taxing in sendmail either.
>>In sendmail you should be able to add this to your file:
>>If you want to know how to do it in Exim, search the archives for the past
>>couple of weeks, this was discussed recently.
>>Julian Field
>>MailScanner thanks transtec Computers for their support
>      Scott W. Adkins      
>   UNIX Systems Engineer                  mailto:adkinss at
>        ICQ 7626282                 Work (740)593-9478 Fax (740)593-1944
>     PGP Public Key available at

Julian Field
MailScanner thanks transtec Computers for their support

More information about the MailScanner mailing list