[pmmail-list] Antivirus and PMMail2000

Koen pmmail-list@blueprintsoftwareworks.com
Sat, 07 Feb 2004 22:17:08 +0100 (CET)


On Sat, 07 Feb 2004 11:57:29 -0800 (PST), James F. Marshall wrote:

>On Sat, 07 Feb 2004 16:02:15 +0100, Volker Beushausen wrote:
>
>> " which Antivirus Software works with PM?
>
>Norman does.  It shuts down PMMail when a virus is detected.  I
>need to watch which message is downloading at the time and then
>telnet in to delete that message.  
Under OS/2 I created a filter that invokes a (borrowed) filter script, which 
starts Norman when there is a mail with an attachment or message is in html.
When the mail is infected, the message is moved to a particular subdirectory 
and deleted in Inbox.

/borrowed script/
/* filter script */
PARSE ARG messagefile namefile
'X:\Norman\Nvc\Bin\Nvcc.exe /CP /C /N /U 'messagefile
IF RC = 1 THEN
DO
lastbackslash = LASTPOS( '\',messagefile )
lengthname    = LENGTH( messagefile )
filename      = RIGHT( messagefile, lengthname - lastbackslash )
PARSE VAR filename name '.' extension
'copy 'messagefile' X:\...\PMMAIL\TDN0069.ACT\Virus0.FLD\'name'.MSG'
'erase 'messagefile''
EXIT 3
END
ELSE
EXIT 0
/END borrowed script/

The script is saved as filtervirus.cmd.
In the filter settings under Actions choose User hook (background) and a 
reference to filtervirus.cmd
To make the infected mail visible, I have to Re-Index the subdirectory.

My thanks to John Bijnens.
http://www.os2ezine.com/20020216/page_7.html

>Perhaps not the best way to
>handle the situation under OS/2 -eCS, which does not really need
>to fear viruses.

Maybe no need to fear viruses under OS/2-eCS, but very usefull to protect the 
windows-pc's

Regards
Koen
- pmmail-list - The PMMail Discussion List ---------------------------
To POST to the list, send your message to:
pmmail-list@blueprintsoftwareworks.com

To UNSUBSCRIBE, send a message to mdaemon@bmtmicro.com 
with the first line of the message body being...
UNSUBSCRIBE pmmail-list@blueprintsoftwareworks.com
---------------------------------------------------------------------