Author: Evgeniy Berdnikov Date: To: exim-users Subject: Re: [exim] stopping spam with forged from:
On Wed, May 25, 2022 at 08:38:32AM -0600, Chad Leigh Shire.Net LLC via Exim-users wrote: > What is the best strategy to combat and right out reject mail that
> has the from: and the recipient address the same? Or alternately to
> force things like SPF checking against the from: in addition to the
> envelope-sender? (Not sure if that is a good idea — will it mess up
> legit email from mail processors etc )
Such a mail may be a test message that user sent to its own address.
So blind comparison of From: and To: is not a good idea, especially taking
into accout that To: can contain several destination addresses and
may be used as Cc: field to keep own copy of outgoing mail.