SMTP Relay - Konfiguracja Lokalnego Przekaźnika
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 nazwa_użytkownika:hasłopostmap /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:nazwa_użytkownika" "P:hasło" "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