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
[email protected].
I have tried alot and manupuliate below acl, but all my efforts were in
vein.

###########################################
if $sender_address is "[email protected]"
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 [email protected]
  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:[email protected] | 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>
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to