[exim] Exim Filter To block Outgoing Email

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Usama Tariq
Ημερομηνία:  
Προς: Exim Users
Αντικείμενο: [exim] Exim Filter To block Outgoing Email
Dear Concern,

The thing i want is to block outgoing-email(means outside from domainone.com)
of specific user and send the copy of outgoing email to
monitoring@???.
I have tried alot and manupuliate below acl, but all my efforts were in
vein.

###########################################
if $sender_address is "block@???"
and ("$h_to:" does not matches "domainone.com")
or ("$h_cc:" does not matches "domainone.com")
or ("$h_bcc:" does not matches "domainone.com")
then
unseen deliver monitoring@???
fail text "This message has been rejected"
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>