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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jasen Betts
日付:  
To: exim-users
題目: Re: [exim] Block if sender and recipient domain are the same?
On 2017-03-20, Peter Leeman <Peter.Leeman@???> wrote:
> 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>


sure it's possible, I'm not a common solution though.

> 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.


Publish an SPF record for domain-a.com, whitelist the exchange server
in exim and turn on SPF enforcement.

this has the advantage of sharing your rule with the rest of the
internet.

--
This email has not been checked by half-arsed antivirus software