Re: [exim] how to block an email sent using a script in EXIM

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] how to block an email sent using a script in EXIM
On 03/08/2019 08:25, DL via Exim-users wrote:
> 2019-07-29 06:40:30 cwd=/home/nordic/public_html 4 args:
> /usr/sbin/sendmail -t -i -p125
>
> My question is, may I configure temporarily exim.conf to block any email
> sent from:
>
> /home/nordic/public_html
>
> If yes, how to do that please?


Test $initial_cwd in your not_smtp ACL.

--
Cheers,
Jeremy