How to add individual antivirus X headers to a message?
Julian Field
MailScanner at ecs.soton.ac.uk
Thu Sep 29 19:34:23 IST 2005
[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jonathan B. Bayer wrote:
>Hello MAILSCANNER,
>
>I'd like to be able to add an X header as a result of each virus
>scanning engine. I don't see an easy way to do this, am I missing
>something?
>
>For example, I use Clam and bitdefender. I'd like to see a like for
>clam, and then another line for bitdefender.
>
>
The only way I can think of doing this is with a Custom Function, which
you could hook onto the "Information Header" configuration option. Apart
from returning the string to be used, it could also look through the
%{$message->{virusreports}} and pull out the reports from each of the
virus scanners you use. Then you could add whatever you want into the
headers by using the $global::MS->{mta}->AddHeader() function.
You will need to know a bit of perl to be able to do this.
If you want to hire me as a consultant, I'll write it for you if you can
give me an accurate spec. But I don't come cheap, there are bills to pay :-)
- --
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.2 (Build 2424)
iQA/AwUBQzwzsBH2WUcUFbZUEQIxbACffGkoys/0/G7zxKow5f/vbOrxAO8An0C3
aaUo82oMawlQizuWjXGcwpTZ
=+eXg
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, 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 Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list