echo "mail.domain.org user@domain.org:password" > /etc/postfix/relay_password
chmod 600 /etc/postfix/relay_password
postmap /etc/postfix/relay_password
/etc/postfix/main.cf
mydomain = domain.org
relayhost = mail.domain.org
smtp_use_tls=yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/relay_password
smtp_sasl_security_options = noanonymous
smtp_tls_security_level = encrypt
забиваем на ошибки "certificate verification failed for mail.domain.org[10.1.5.4]:25: untrusted issuer"
Комментариев нет:
Отправить комментарий