Sziasztok!
Abban kérném a segítségeteket, hogy egy debian kiszolgálón nem tudom beállítani az smtp relay-t.
A levelek csak gmail-os smtp-vel (rendesen hitelesítve) mennek ki, de nekem t-online-s vagy a tárhelyszolgáltató smtp-je kellene.
A main.cf-em:
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = FTN2
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = ferroton.hu, localhost.hu, , localhost
mydestination = localhost.hu, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
# SASL Auth Settings
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
#------------------
# SMTP
#------------------
smtp_use_tls=yes
smtp_sasl_auth_enable = yes
smtp_sasl_security_options =
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
# Tarhely.eu
#relayhost = [smtp.ferroton.hu]:587
#smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd_tarhely
# Gmail SMTP relay
#relayhost = [smtp.gmail.com]:587
#smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd_gmail
# T-Com SMTP relay
relayhost = [mail.t-online.hu]:465
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd_tcom
A logban ez szerepel:
Sep 28 11:42:39 ferroton postfix/pickup[6561]: F38412D013DC: uid=0 from=
Sep 28 11:42:39 ferroton postfix/cleanup[6594]: F38412D013DC: message-id=<20140928094239.F38412D013DC@FTN2>
Sep 28 11:42:40 ferroton postfix/qmgr[6560]: 921642D013D0: skipped, still being delivered
Sep 28 11:42:40 ferroton postfix/qmgr[6560]: F38412D013DC: from=, size=306, nrcpt=1 (queue active)
Sep 28 11:42:40 ferroton postfix/qmgr[6560]: 7B8202D013DA: skipped, still being delivered
Sep 28 11:42:40 ferroton postfix/smtp[6602]: CLIENT wrappermode (port smtps/465) is unimplemented
Sep 28 11:42:40 ferroton postfix/smtp[6602]: instead, send to (port submission/587) with STARTTLS
Sep 28 11:43:22 ferroton cyrus/master[4090]: process 6597 exited, status 0
Sep 28 11:45:17 ferroton postfix/smtp[6392]: 7B8202D013DA: to=, relay=mail.t-online.hu[84.2.46.3]:465, delay=1898, delays=1298/0.02/600/0, dsn=4.4.2, status=deferred (lost connection with mail.t-online.hu[84.2.46.3] while receiving the initial server greeting)
Sep 28 11:45:17 ferroton postfix/smtp[6393]: 921642D013D0: to=, relay=mail.t-online.hu[84.2.44.3]:465, delay=2038, delays=1438/0.02/600/0, dsn=4.4.2, status=deferred (lost connection with mail.t-online.hu[84.2.44.3] while receiving the initial server greeting)
Előre is köszönöm a hozzászólásokat!