[exim] Exim Filters Bypass

Top Pagina
Delete this message
Reply to this message
Auteur: Usama Tariq
Datum:  
Aan: exim-users
Onderwerp: [exim] Exim Filters Bypass
Dear Concern,

Is it possible to bypass any specific domain or email id from global exim
filter:

#cat /usr/local/cpanel/etc/exim/sysfilter/options/cpanel_exim_system_filter

if
($received_protocol is "local"
or $received_protocol is "smtp"
or $received_protocol is "smtps"
or $received_protocol is "esmtp"
or $received_protocol is "esmtpa"
or $received_protocol is "esmtps"
or $received_protocol is "esmtpsa")
and ("$h_subject:" contains "swiss")
or ("$h_subject:" contains "sales")
or ("$h_subject:" contains "marketing")
or ("$h_subject:" contains "promotions")
then
logwrite "$tod_full $message_id from $sender_address contained **SPAM**
$h_subject to $h_to keywords"
seen finish
endif


With Best Regards,


[image: photo]
*Usama Tariq | NetOps Engineer*
Websouls
p:92.423.523.8871-73 | m:92.321.4077991 | e:usama@??? | w:
http://websouls.com/ | a: Office # 22, 2nd Office Floor, IT Tower,
Behind Hafeez Center, 73-E-1, Hali Road, Gulberg III, Lahore
<http://www.facebook.com/WebSouls>