> On 2020-09-14 14:54, Dominic Raferd wrote:
On 14/09/2020 11:35, Fourhundred Thecat wrote:
I am receiving spam, where the "header from" is my actual email (ie, the
email that this spam is delivered to)
The "envelope from" that I see in postfix logs is some random email.
What mechanisms are there to reject such messages, which use my email
address as sender ?
Can I reject messages that have different envelope from and header from?
Or what would be the best approach ?
If you are accepting authenticated senders on a different port of your
server from unauthenticated (e.g. 587 versus 25), you can simply block
(with header_checks) any emails sent to your port 25 that have your own
email address in the 'From' header. As you will be sending through your
server using authentication (typically port 587), your own emails will
still pass through.
yes, I am accepting authenticated senders on port 465, and port 25 is
only for unauthenticated.
But how do I ensure that header_checks only apply to port 25 ?
I have blocked my email address in header_checks, but now cannot send
emails because they are also blocked.