|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
SASL Auth Problem with SMTP-Client
From: C & C Pelz (ch.pelz
gmx.de)
Date: Tue Nov 01 2005 - 16:22:35 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I'm trying to use postfix to relay mail from our server to my ISP but fail
with the error "Authentication failed: cannot
SASL authenticate to server mail.notar-pelz.de[212.112.241.164]: no
mechanism available"
extract from main.cf:
...
relayhost = mail.notar-pelz.de
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtp_sasl_mechanism_filter = cram-md5, digest-md5
...
I included "smtp_sasl_mechanism_filter" to exclude LOGIN as a mechanism.
The mail-server does not do the LOGIN stuff properly. I've verified this
with KMail: Login is reported as an authentication-mechanism, however, if
I choose to use it, it fails. If, however, I use CRAM-MD5 or DIGEST-MD5,
KMail can send the mail all right.
extract from the log: (username and password are what they should be)
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]:
mail.notar-pelz.de[212.112.241.164]: 250-AUTH NTLM LOGIN PLAIN DIGEST-MD5
CRAM-MD5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: <
mail.notar-pelz.de[212.112.241.164]: 250-AUTH=NTLM LOGIN PLAIN DIGEST-MD5
CRAM-MD5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: <
mail.notar-pelz.de[212.112.241.164]: 250 8BITMIME
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_string: NTLM ~?
cram-md5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_string: NTLM ~?
digest-md5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_list_match: NTLM:
no match
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_string: LOGIN ~?
cram-md5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_string: LOGIN ~?
digest-md5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_list_match: LOGIN:
no match
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_string: PLAIN ~?
cram-md5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_string: PLAIN ~?
digest-md5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_list_match: PLAIN:
no match
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_string: DIGEST-MD5
~? cram-md5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_string: DIGEST-MD5
~? digest-md5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_string: CRAM-MD5
~? cram-md5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_string: NTLM ~?
cram-md5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_string: NTLM ~?
digest-md5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_list_match: NTLM:
no match
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_string: LOGIN ~?
cram-md5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_string: LOGIN ~?
digest-md5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_list_match: LOGIN:
no match
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_string: PLAIN ~?
cram-md5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_string: PLAIN ~?
digest-md5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_list_match: PLAIN:
no match
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_string: DIGEST-MD5
~? cram-md5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_string: DIGEST-MD5
~? digest-md5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: match_string: CRAM-MD5
~? cram-md5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: server features: 0x102f
size 10240000
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: Using ESMTP PIPELINING,
TCP send buffer size is 4096
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: maps_find:
smtp_sasl_passwd: hash:/etc/postfix/sasl_passwd(0,100): mail.notar-pelz.de
= username:password
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: smtp_sasl_passwd_lookup:
host `mail.notar-pelz.de' user `username' pass `password'
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: starting new SASL client
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: name_mask: noanonymous
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: smtp_sasl_authenticate:
mail.notar-pelz.de[212.112.241.164]: SASL mechanisms DIGEST-MD5 CRAM-MD5
Nov 1 23:12:44 wlan-desktop postfix/smtp[14582]: warning: SASL
authentication failure: No worthy mechs found
Any ideas where the problem might be?
Thank you!
Chris
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]