Smarthost relay and sender dependant relay

smarthost
postfix
mail

(Stefano Gatto) #1

Hello,
can I modify /etc/postfix/main.cf to employ a sender dependant authentication to the smarthost? In case of the host where I want to relay email doesn’t accept mismatched sender?

BR
Stefano


(Markus Neuberger) #2

This howto may help you:

https://wiki.nethserver.org/doku.php?id=howto:how_to_configure_nethserver_for_mail_configuration_with_office365_multiple_mailaccounts

main.cf is templated, so you may use custom templates to add custom config, else your changes will be overwritten.

http://docs.nethserver.org/projects/nethserver-devel/en/v7/templates.html


(Stefano Gatto) #3

Thank you,
just what i was looking for…