cp /var/lib/pmg/templates/main.cf.in /etc/pmg/templates/main.cf.in
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth
smtp_sasl_security_options = noanonymous
relay.host.tld username:password
chmod 640 /etc/postfix/smtp_authpostmap /etc/postfix/smtp_authpmgconfig sync --restart 1smarthost, you can configure that directly in the PMG web UIhost username:pasword lookups.We use essential cookies to make this site work, and optional cookies to enhance your experience.