Yes, I have to agree I can see where it should go but the code I am using must be wrong:
#virus checked header if ($FoundVirus) { action_add_header("X-virus_checked", "$FoundVirus"); } I think what I want it to do is tell me that the virus scanner looked at the mail and returned a result of 'nothing found' So I would need: #virus checked header if ($FoundVirus) = 0 { action_add_header("X-virus_checked", "$FoundVirus"); } but I know that is not correct as when I put it in mimedefang-filter I cannot get mail in to the server. What I am looking for is x-virus-check, [EMAIL PROTECTED], when there is a virus (which is done by another part of the script x-virus-checked , when no virus was found, but the mail was checked. Appended to the header. Any code advice would be cool, as I'm not a perl coder. Cheers, andrew -----Original Message----- From: Lucas Albers [mailto:[EMAIL PROTECTED] Sent: 11 February 2004 20:14 To: [EMAIL PROTECTED] Subject: Re: [Mimedefang] x-virus checked Andrew Jayes said: > Hi, > Is it posable to append the header with a virus checked field? > The same as the x-spam-score field. > > Just to back track a little, maybe mimedefang does this already and my > scanners are just not working. put it in mimedefang-filter. right where it does append_header for x-spam-score. Look, you'll see it's obvious where it goes. If it hits filter-end (then it has been virus scanned.) -- Luke Computer Science System Administrator _______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang _______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang