First, type
pico -w /etc/antivirus.exim
Then, copy and paste this to the top of the file: (or anywhere)
CODE
## -----------------------------------------------------------------------
# Blocking for W32.Sobig.F@mm
if $header_subject: matches "Re: Approved|Re: Details|Re: My details|Re: Thank you!|Re: That movie|Re: Wicked screensaver|Re: Your application"
then
fail text "This message has been rejected since it hasn
the signature of a known virus (W32.Sobig.F@mm) in the subject header.n
If you believe this bounce message is in error, Pleasen
change the subject field of your email and re-send.n
The URL below has more information on W32.Sobig.F@mm:n
[url="http://www.securityresponse.symantec.com/avcenter/venc/data/w32.sobig.f@mm.html"]http://www.securityresponse.symantec.com/a...big.f@mm.html"[/url]
seen finish
endif
if $message_body matches "See the attached file for details|Please see the attached file for details"
then
fail text "This message has been rejected since it hasn
the signature of a known virus (W32.Sobig.F@mm)in the message body.n
If you believe this bounce message is in error, Pleasen
change the message body of your email and re-send.n
The URL below has more information on W32.Sobig.F@mm:n
[url="http://www.securityresponse.symantec.com/avcenter/venc/data/w32.sobig.f@mm.html"]http://www.securityresponse.symantec.com/a...big.f@mm.html"[/url]
seen finish
endif
## -----------------------------------------------------------------------
# Blocking for W32.Sobig.F@mm
if $header_subject: matches "Re: Approved|Re: Details|Re: My details|Re: Thank you!|Re: That movie|Re: Wicked screensaver|Re: Your application"
then
fail text "This message has been rejected since it hasn
the signature of a known virus (W32.Sobig.F@mm) in the subject header.n
If you believe this bounce message is in error, Pleasen
change the subject field of your email and re-send.n
The URL below has more information on W32.Sobig.F@mm:n
[url="http://www.securityresponse.symantec.com/avcenter/venc/data/w32.sobig.f@mm.html"]http://www.securityresponse.symantec.com/a...big.f@mm.html"[/url]
seen finish
endif
if $message_body matches "See the attached file for details|Please see the attached file for details"
then
fail text "This message has been rejected since it hasn
the signature of a known virus (W32.Sobig.F@mm)in the message body.n
If you believe this bounce message is in error, Pleasen
change the message body of your email and re-send.n
The URL below has more information on W32.Sobig.F@mm:n
[url="http://www.securityresponse.symantec.com/avcenter/venc/data/w32.sobig.f@mm.html"]http://www.securityresponse.symantec.com/a...big.f@mm.html"[/url]
seen finish
endif
## -----------------------------------------------------------------------
After that, Type:
ctrl + x to save and exit
Then:
service exim restart
Works very well, but is not meant to be permanent as it may also filter some legitimate email.