Kirya [.net]

07 Aug, 2006

dspam virus notifications

Posted by: Julien @ 10:24 am

I managed to write a patch to allow the recipient of an infected mail to receive a notification. This is especially useful if ClamavResponse is set to “accept”, and avoid losing important mail.

I have chosen to add a new entry in the configuration file: VirusNotifications (on/off) as I think some users would want to use these notifications, but not the standard ones (first{run,spam}, quarantinefull).

The text of the notification has to be called virusnotification.txt, and the following variables are parsed (in addition to standard $u):

  • $i - IP of the sending server)
  • $s (sender e-mail address - more exactly the contents of the From: header of the infected mail)

The patch applies to current CVS version, but I have built backported Debian packages for the 3.6.8 release. They are available in my repository.

I have sent this patch to dspam-devel mailing-list for reviewing, in the hope it can be applied upstream.

Tags:

No Responses to "dspam virus notifications"

Comments are closed.

About

You will find here some information about me and my different projects. I am involved in several open source projects, and try to promote Free software. This site is thus mainly dedicated to Free Software use on GNU/Linux systems. Please do not hesitate to contact me for any comments on this site.