[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

postfix in unstable does not auth to smarthost



Hello everybody,

I am trying to relay my mail through my new provider, instead of
gmail. This is mail.log after a postqueue -f

Sep  5 19:25:13 omnibook postfix/qmgr[5774]: 6D0FC1BB1A: from=<andreimpopescu@gmail.com>, size=540, nrcpt=1 (queue active)
Sep  5 19:25:14 omnibook postfix/smtp[7066]: warning: SASL authentication failure: No worthy mechs found
Sep  5 19:25:14 omnibook postfix/smtp[7066]: 6D0FC1BB1A: SASL authentication failed; cannot authenticate to server mail.clicknet.ro[86.35.15.38]: no mechanism available
Sep  5 19:25:14 omnibook postfix/smtp[7066]: warning: SASL authentication failure: No worthy mechs found
Sep  5 19:25:14 omnibook postfix/smtp[7066]: 6D0FC1BB1A: to=<andreimpopescu@gmail.com>, relay=mail.clicknet.ro[86.35.15.39]:25, delay=73067, delays=73066/0.04/0.35/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server mail.clicknet.ro[86.35.15.39]: no mechanism available)


postfix version

$ dpkg -l postfix | grep ii
ii  postfix        2.3.3-1        A high-performance mail transport agent


sasl packages

$ dpkg -l *sasl* | grep ii
ii  libsasl2                 2.1.19.dfsg1-0.2 Authentication abstraction library
ii  libsasl2-modules         2.1.19.dfsg1-0.2 Pluggable Authentication Modules for SASL
ii  sasl2-bin                2.1.19.dfsg1-0.2 Programs for manipulating the SASL users dat


postfix config:

# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
inet_protocols = ipv4
mailbox_command =
mailbox_size_limit = 0
mydestination = localhost.localdomain, omnibook.homenet, localhost.homenet, localhost
myhostname = omnibook.homenet
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost = [mail.clicknet.ro]
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_type = cyrus
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes

I also tried the empty "smtp_sasl_security_options =" mentioned at bug
#252837.

Thanks for reading,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)



Reply to: