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.