• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Postfix: mapping outgoing IP address with SASL username

Miguel_Tellería

Basic Pleskian
[Plesk 12.0.18 on CentOS 6, Postfix 2.8.17]

Dear all,

I would like to have the outgoing IP address for submitted emails at the 587 port to be based on the SASL username (or the domain part of it at least).

I observe that Postfix uses the sender_dependent_default_transport_maps to choose the IP based on the MAIL FROM: part (thanks to a mapping maintained by Plesk in /var/spool/postfix/plesk/sdd_transport_maps).

However the MAIL FROM: is specified by the client submitter and cannot be verified in any way. And not only for security reasons, also for a specific use case of a local web app we need to use the SASL username instead of the sender.

If the change cannot be done globally, we are open to create a new submission process in master.cf with whichever options needed in order to have at least this web app be routed their email in this specific way.

Thanks in advance for any suggestion.

Regards,

Miguel Telleria
 
Back
Top