Ellie via Postfix-users:
> Dear postfix users group,
> 
> Sorry if this is the wrong place to ask, or if this is a nonsensical 
> question.
> 
> But it seems to me that discarding the exact end-user device IP from 
> e-mails sent via any authenticated path is going to be a common scenario 
> in today's more privacy aware age.
> 
> Yet, it seems to be somewhat convoluted to do: 
> https://askubuntu.com/a/78168 (My apologies if this is easy to all you 
> experts, but I feel like to most postfix newcomers this is going to look 
> somewhat difficult.)
> 
> Is there any easier approach for doing this? Or was there ever a 
> consideration for doing a simple yes/no option as a new feature for 
> postfix, which omits the sender IP address from authenticated(!) 
> incoming mail? I feel like there might be a wider demand for that.

There is no built-in featrue to delete IP addresses from headers.

If this is for messages submitted on port 587 (submission) or 465
(smtps or submissions), then you can simply delete all Received:
message headers, because there shuold be only one.

master.cf:

    submission  .. .. .. .. .. .. .. smtpd
        -o { header_checks = pcre:{{/^Received:/ IGNORE}} }
        ...other -o options...

    submissions  .. .. .. .. .. .. .. smtpd
        -o { header_checks = pcre:{{/^Received:/ IGNORE}} }
        ...other -o options...

This is much simpler than some of the on-line discussions.

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to