On Thu, Sep 18, 2025 at 04:08:53PM +0200, R. Diez via Postfix-users wrote:

> I wonder whether Postfix is making this basic antispoofing feature too
> hard for basic/economic mail hosters to implement. I am thinking of
> some new, easy configuration option which rejects, or automatically
> replaces, the "From:" mail header without resorting to external
> filtering tools or to a full scripting language.
> 
> Or may be there is some ready-to-use script which automatically
> replaces both the envelope address and the "From:" header to match the
> ones associated with the SMTP account, but only for those SMTP
> accounts listed in some configuration file? This way, not every hoster
> must implement it all from scratch.

A suitable milter configured into the submission service should be able
to do that.  While Postfix can easily be configured apply restrictions
like "reject_authenticated_sender_loging_mismatch" selectively, that
applies only the envelope sender not the message "From:" header.

-- 
    Viktor.  🇺🇦 Слава Україні!
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to