Trusted Relay by FQDN / DynDns or ASMTP

for outgoing Relay I´d like to have trusted Networks by FQDN
What do you mean by that?
If you want to add a DNS name as trusted source (and permit all IPs to which the DNS name resolves) - you need to adapt the postfix configuration using the templateing system:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine

check the postfix HOWTOs on the topic:
http://www.postfix.org/SMTPD_ACCESS_README.html
http://www.postfix.org/access.5.html
http://www.postfix.org/postconf.5.html#smtpd_client_restrictions

Is there any Way to do or use authenticated Relay?
not built-in to the GUI or API - but again you can modify the postfix config to do SASL authentication

I hope this helps!
 
What do you mean by that?
If you want to add a DNS name as trusted source (and permit all IPs to which the DNS name resolves) - you need to adapt the postfix configuration using the templateing system:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine

check the postfix HOWTOs on the topic:
http://www.postfix.org/SMTPD_ACCESS_README.html
http://www.postfix.org/access.5.html
http://www.postfix.org/postconf.5.html#smtpd_client_restrictions


not built-in to the GUI or API - but again you can modify the postfix config to do SASL authentication

I hope this helps!
thanks i appreciate your detailed answer

i cant find the folder /etc/pmg/templates/

so perhaps sasl is an option? is there a tutorial you can reccomend? is it then the 25 or 26 port i have to modify?
 
Hello cpzengel,

If folder /etc/pmg/templates/ does not exist, you have to create it. Then you can find the default templates in /var/lib/pmg/templates/. Please do not modify these directly, otherwise your modifications will be lost on the next update. Instead, copy the template you wish to change to /etc/pmg/templates/, then apply your changes there.

Final, you need to run the following after modifying a template, or when you directly edit configuration files:
Code:
pmgconfig sync --restart 1