@tny ha: Thanks for your quick update. Infact the problem is I already have
many other default conditions at acl_smtp_mail. So if I do acl_smtp_mail =
acl_check_sender , only the conditions at acl_check_sender will be checked,
right? Or am I mistaken?
On Mon, Jun 10, 2013 at 2:21 PM, tony ha <tonyha1090@???> wrote:
> Hi,
>
> You can try :
>
> domainlist exim_blacklist = lsearch; /etc/exim/exim-blacklist-senders
> acl_smtp_mail = acl_check_sender
>
> begin acl
>
> ......
>
> acl_check_sender:
>
> deny senders = /etc/exim/exim-blacklist-senders
> message = This account is blacklisted from sending out mails
>
>
> On Mon, Jun 10, 2013 at 3:43 PM, soumya tr <soumya.324@???> wrote:
>
>> Hi,
>>
>> I wanted to know under which all smtp related acls I can add code to block
>> outgoing mails from a specific sender? I am planning to add the below
>> given
>> condition under acl_smtp_mail:
>>
>> ---------------
>> deny
>> senders = /etc/exim/exim-blacklist-senders
>> message = This account is blacklisted from sending out mails
>> ---------------
>>
>> Is their anyother acl where I can have the above condition added?
>>
>> Also I am planning to add a spoof prevention condition for outgoing mails
>> [only allow mails if sender domain part is hosted in the server]. I could
>> find that we can add it under acl_smtp_mail, is there any other acl under
>> which I can add the condition?
>>
>> Regards,
>> Soumya
>> --
>> ## 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/
>>
>
>
--
Regards,
Soumya
Linux Sytem Administrator
DirectI
<
http://poornam.com>
"I like the dreams of the future better than the history of the past."