Re: [exim] Virus confirmation to recipient

Etusivu
Poista viesti
Vastaa
Lähettäjä: Odhiambo G. Washington
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Virus confirmation to recipient
* On 11/01/06 15:41 -0500, Slawomir Orlowski (CYMPAK) wrote:
> Hello there,
>
> I have exim-4.60 and clamav-0.88 installed on Linux RH7.2.
> According to exim-4.60 documentation:
>
> http://www.exim.org/exim-html-4.60/doc/html/spec.html/ch40.html
> "
> When a virus is found, the condition sets up an expansion variable called
> $malware_name that contains the name of the virus. You can use it in a
> message modifier that specifies the error returned to the sender, and/or in
> logging data.
> "
> >From my exim configuration file :
> av_scanner = clamd:127.0.0.1 3310
>
> deny malware = */defer_ok
> message = Exim ClamAV this message contains a virus ($malware_name).
>
> Questions:
> How to configure exim (clamav) so error message is logged? (Right now is
> not).


deny malware = */defer_ok
message = Exim ClamAV this message contains a virus ($malware_name).
log_message = Life sucks with $malware_name from $sender_host_address


> How to configure exim so e-mail with message about virus would be send to
> would-be recipient?


Please don't do this, since not many people send malware intentionally.
You'll be creating collateral spam, really!


        cheers
       - wash 
+----------------------------------+-----------------------------------------+
Odhiambo Washington                    . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash () WANANCHI ! com            . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223            . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121            . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"  
                         --from a /. post