We're doing sender verification for our local domains, so a message sent from 
"f...@plexicomm.net" gets rejected.
A message with an envelope sender of "va...@spammer.com" with a from: header of 
"f...@plexicomm.net" gets
accepted.  Is there a way to enable verification on "from:" header addresses?
in other words you want to block your own messages to this list?
why? look in the headers! bad idea what you try to do!
as well you would block *many* other legit mail!

Why would that block my message to this list? adamli...@plexicomm.net is in the 
from: header and that's a valid
address which my server could verify
if you block forged senders and take the From-header into account
you block your own messages you wrote to this list - period

*do not* block based on random headers and if you do so don't
whine if things going terrible wrong

in case of SMTP *envelope* is what counts

I wonder if I haven't stated the desire clearly, or if I'm missing something obvious.

I don't do address verification on a non-local envelope sender. I do address verification on envelope senders whose domain part is within our domain. So you cannot send me an email where the envelope sender is a made up address on my own domain. I already do this. Works great. We're also checking whether the envelope sender has a valid domain part. So you can't send me an email where the envelope sender is from a made up domain. That also works great. The list email has an envelope sender of owner-postfix-us...@postfix.org (valid domain) and a from: header containing my real email address. (valid local user). I don't see how verifiying the address in the from: header would result in rejecting that. An email from anybody else on the list would have the same valid domain on the envelope and a non-local address in the from: header which we wouldn't attempt verification on at all.

I'd want to reject the message only if the from: header contained a fake/non-existent address at a local domain. Can postfix do that?

If this counts as "whining" or blocking based on "random headers" then I'll shut up and go away.

Reply via email to