[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim4 + Clamav



On Monday 01 August 2005 01:04 pm, Marco Tasinato wrote:
> Hi,
>
> I have a system with Debian Sarge 3.1 STABLE, MTA
> EXIM4-DAEMON-HEAVY, CLAMAV-DAEMON.
>
> I have the following lines in the exim4 configuration file:
>
> av_scanner = clamd:/var/run/clamav/clamd.ctl
>
>    # Reject messages containing malware.
>    deny message = This message contains a virus ($malware_name) and
> has been rejected demime = *
>      malware = *
>      log_message = MALWARE: $malware_name
>
> In this way clamav intercept the virus, exim4 reject the e-mail
> message without notifying it to the receiver. How can I enable
> clamav to sent an notification e-mail to the receiver when clamav
> finds a virus and exim turns it down???

You don't.  That's the MTA's job.  And the way you're doing it already 
sends a 500 response to the server.  It appears you're already doing 
it the only way you can without sending virus notifications to 
innocent third parties.

Attachment: pgpW6uknXgkKE.pgp
Description: PGP signature


Reply to: