Re: [exim] Block if sender and recipient domain are the same…

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] Block if sender and recipient domain are the same?
On 20/03/17 14:57, Peter Leeman wrote:
> Is it possible to block an email if both the sender and recipient domain are the same?
> Example - sender@???<mailto:sender@domain-a.com> to recipient@???<mailto:recipient@domain-a.com>


Yes. Just write an ACL clause that does that.

Docs:

exim.org/exim-html-current/doc/html/spec_html/ch-access_control_lists.html

http://exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html

--
Cheers,
Jeremy