quarantine notify in CreatePostmasterNotice?

Jeff A. Earickson jaearick at COLBY.EDU
Sat Mar 12 22:42:30 GMT 2005


On Sat, 12 Mar 2005, Julian Field wrote:

> Date: Sat, 12 Mar 2005 16:09:34 +0000
> From: Julian Field <MailScanner at ECS.SOTON.AC.UK>
> Reply-To: MailScanner mailing list <MAILSCANNER at JISCMAIL.AC.UK>
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: quarantine notify in CreatePostmasterNotice?
>
> Undo those last changes and apply the attached patches to Message.pm and
> Quarantine.pm.

Julian,
    I got it to work with a little by-hand fiddling.  The report output
now looks like:

     Sender: support at northforkbank.com
IP Address: 62.231.71.118
  Recipient: xxx at colby.edu
    Subject: NFB - Urgent Security Notification
  MessageID: j2CMLkOc025394
Quarantine: /var/spool/MailScanner/quarantine/20050312/j2CMLkOc025394, /var/spool/MailScanner/quarantine/20050312/j2CMLkOc025394
     Report: ClamAV Module: msg-25962-32.html was infected: HTML.Phishing.Bank-118

In looking at the code, it seems that you grab both an archive location
and a quarantine location and join them together.  Maybe separate them
into two lines, eg

Quarantine: [path]
    Archive: [path]

Don't print if archive and/or quarantine not turned on?  Otherwise, looks
good.  Many thanks.

Jeff Earickson
Colby College

------------------------ 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).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list