Any update regarding this query ? Right now this filter is not working properly. Any email id with Domainone is unable to sent email outside that domain, just block and sent email to unseen address. Actually instead of any email id it should only block block@Domainone email id to sent email outside that Domainone and if cc and bbc matches to Domainone that it allows only cc/bcc.
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> On Sat, Mar 18, 2017 at 11:28 AM, Usama Tariq <[email protected]> wrote: > 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/
