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:[email protected]>
> 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 - [email protected]<mailto:[email protected]> to
> [email protected]<mailto:[email protected]>
>
> 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 ------------------------------ [email protected] ] 
[                 Ellipsis Intangible Technologies                  ]
 


-- 
## 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/

Reply via email to