[clamassassin-discuss] Send a "Virus Alert" to receiver
Eric Trösch
eric.troesch at gmx.de
Wed Nov 30 01:42:40 PST 2005
I solved it by myself.
1) Istall this Script:
http://caspian.dotconf.net/menu/Software/SendEmail/
2) Insert This in tr procmailrc:
############################################################
#Infomail über Virus
:0:
* ^Subject:[ ]*\/[^ ].*
{
BETREFF=$MATCH
}
:0:
* ^To:[ ]*\/[^ ].*
{
EMPFAENGER=$MATCH
}
:0:
* ^X-Virus-Report:[ ]*\/[^ ].*
{
VIRUS=$MATCH
}
:0:
* ^X-Virus-Status: Yes
| /usr/local/bin/sendEmail -f "webmaster at hedu.org" \
-t "$EMPFAENGER" \
-u "$VIRUS IN EMAIL - $BETREFF" \
-m "Die original Email wurde gelöscht, da sie mit einem Virus befallen war." \
-q
############################################################
Greetings
Eric
----- Original Message -----
From: Eric Trösch
To: clamassassin-discuss at tcp.com
Sent: Tuesday, November 29, 2005 10:32 AM
Subject: [clamassassin-discuss] Send a "Virus Alert" to receiver
Hello,
I use clamassassin with postfix and procmail.
Is it possible that procmail sends an "Virus alert" email to the receiver of the origin email?
Thanks.
Greetings
Eric
------------------------------------------------------------------------------
_______________________________________________
clamassassin-discuss mailing list
clamassassin-discuss at tcp.com
http://www.tcp.com/mailman/listinfo/clamassassin-discuss
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://www.tcp.com/pipermail/clamassassin-discuss/attachments/20051130/65b9be5a/attachment.html
More information about the clamassassin-discuss
mailing list