OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Redeliver archived messages

From: Kai Wang (kwangucalgary.ca)
Date: Wed May 10 2006 - 17:57:24 CDT


We quarantine attachments in MailScanner on the file name rules. Some of
the quarantined messages may not contain any virus at all. Our users can
request to redeliver a message is it just matched the file name rules.
So archiving before anything makes sense.

Mihira Fernando wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kai Wang wrote:
>
>> Greetings.
>>
>> We are running postfix with MailScanner. We archive the incoming
>> messages. The archived messages are in postfix format.
>>
>> I want to write a script which does the following things:
>> 1. scan virus in an archived message
>> 2. if it is clean, tag '{Redelivered}' in subject line and requeue it to
>> postfix
>>
>> My problem is that the archived message is in postfix format. Should I
>> run postcat to dump it to another file then submit it to virus scanner?
>> Can anybody tell me how to modify the subject?
>>
>>
> Wouldnt it be easier to just scan the mail first and then archive it ?
> eg : Incoming mail -->Postfix-->Virus Scanner -->(Re Queued
> to)Postfix-->Archive.
>
> Mihira.
>
> - --
> Random Quotes From Megas XLR
> Coop: You see? The mysteries of the Universe are revealed when you break
> stuff.
> Jamie: When in doubt, blow up a planet.
> Kiva: It's an 80 foot robot, if we can't see it, absolutely it's not here.
> Glorft Technician: Unnecessary use of force in capturing the Earthers
> has been approved.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.1 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFEXDSE7U+DAAbUYg0RAnLeAJ9s6F+xx2q2KU7inyoF7PpwjAGk+QCfR7pE
> rdFda8V12LbocmXr5F41yxI=
> =4M2Z
> -----END PGP SIGNATURE-----
>

--
Kai Wang
System Services
Information Technologies, University of Calgary,
2500 University Drive, N.W.,
Calgary, Alberta, Canada T2N 1N4
Phone (403) 220-2423, Fax (403) 282-9361