SMTP Relay Configuration
relayhost = [smtp.emaillabs.net.pl]:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/relay_password
smtp_sasl_security_options = cd /etc/postfix/ touch relay_passwordsmtp.emaillabs.net.pl user_name:passwordpostmap /etc/postfix/relay_password
chmod 600 /etc/postfix/relay_password /etc/postfix/relay_password.db/etc/init.d/postfix restartAuthInfo:smtp.emaillabs.net.pl "U:user_name" "P:password "M:PLAIN"define(SMART_HOST', smtp.emaillabs.net.pl')dnl
FEATURE(`access_db')dnl
define(RELAY_MAILER_ARGS', TCP $h 587')dnl
define(ESMTP_MAILER_ARGS', TCP $h 587')dnlm4 sendmail.mc >sendmail.cf
makemap hash access < access/etc/init.d/sendmail restartLast updated