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

Top Page
Delete this message
Reply to this message
Author: Nigel Metheringham
Date:  
To: Peter Leeman
CC: exim-users@exim.org
Subject: Re: [exim] Block if sender and recipient domain are the same?
It should be possible to do this in an ACL running on RCPT TO, but I
would be very careful of finding unintended consequences...

    Nigel.


> Peter Leeman <mailto:Peter.Leeman@moray.gov.uk>
> 20 March 2017 at 14:57
> Hi All
>
> 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>
>
> The reason I am looking to do this is we are going to be using Exim to
> handle incoming/outgoing mail for a domain hosted on Exchange so any
> mail for domain-a.com being emailed from a mailbox on domain-a.com
> will never leave exchange. We still want a sender on domain-a.com to
> be able to email external domains, but want to prevent incoming emails
> destined for domain-a.com appearing as if they are coming from
> domain-a.com.
>
> The only alternative I can see at this stage is to have two Exim
> boxes, one to handle incoming the other to handle outgoing.
>
> Thanks for any help.
>
> Regards,
>
> Pete.


--

[ Nigel Metheringham ------------------------------ nigel@??? ] 
[                 Ellipsis Intangible Technologies                  ]