[Postfixbuch-users] rimap & Debian fatal: no SASL authentication mechanisms

Patrick Ben Koetter p at state-of-mind.de
Fr Okt 29 12:33:59 CEST 2004


* Sven Schoeppner <schoeppner at biotec.uni-bremen.de> [041029 12:22]:
> >Das reicht vorerst und mech_list gehört in die smtpd.conf.
> >Zeig mal mit 'ps' wie saslauthd läuft.
> root     26795  0.0  0.1  6508 1636 ?        Ss   12:06   0:00 saslauthd 
> -m /var/run/saslauthd -a rimap -O localhost/143
> root     26796  0.0  0.1  6508 1632 ?        S    12:06   0:00 saslauthd 
> -m /var/run/saslauthd -a rimap -O localhost/143
> root     26797  0.0  0.1  6508 1636 ?        S    12:06   0:00 saslauthd 
> -m /var/run/saslauthd -a rimap -O localhost/143
> root     26798  0.0  0.1  6508 1632 ?        S    12:06   0:00 saslauthd 
> -m /var/run/saslauthd -a rimap -O localhost/143
> root     26799  0.0  0.1  6508 1636 ?        S    12:06   0:00 saslauthd 
> -m /var/run/saslauthd -a rimap -O localhost/143

Sehr gut.

> >
> >>-- active services in /etc/postfix/master.cf --
> >># service type  private unpriv  chroot  wakeup  maxproc command + args
> >>#               (yes)   (yes)   (yes)   (never) (100)
> >>smtp      inet  n       -       -       -       -       smtpd
> >
> >
> >raus aus dem chroot!
> Ist raus

 ;)

> 
> Kann es sein das die Prüfung mit virtualen Domains nicht geht?
> Ich bekomme die Fehlermeldung:

Das wäre zumindest den saslauthd völlig egal. Der benimmt sich einfach
wie ein normaler IMAP client:

.login user pass

und das war es dann auch schon. Wenn Du Dich mit jedem anderen IMAP
client mit Deinem testuser/testpass anmelden kannst, liegt das Problem
nicht am IMAP server, sondern zwischen den Infos, die saslauthd bekommt
und seinem Login. Mit ist kein Problem mit saslauthd Logins bekannt.
Also tippe ich in diesem Fall auf Probleme mit user und pass.

> OOct 29 12:18:07 btsun1 postfix/smtpd[26933]: warning: SASL 
> authentication failure: Password verification failed
> Oct 29 12:18:07 btsun1 postfix/smtpd[26933]: warning: 
> media-way-8-11.zfn.uni-bremen.de[134.102.8.11]: SASL PLAIN 
> authentication failed
> Oct 29 12:18:07 btsun1 postfix/smtpd[26933]: > 
> media-way-8-11.zfn.uni-bremen.de[134.102.8.11]: 435 Error: 
> authentication failed
> Oct 29 12:18:07 btsun1 postfix/smtpd[26933]: watchdog_pat: 0x808bff0
> Oct 29 12:18:07 btsun1 postfix/smtpd[26933]: < 
> media-way-8-11.zfn.uni-bremen.de[134.102.8.11]: AUTH LOGIN
> Oct 29 12:18:07 btsun1 postfix/smtpd[26933]: smtpd_sasl_authenticate: 
> sasl_method LOGIN
> Oct 29 12:18:07 btsun1 postfix/smtpd[26933]: smtpd_sasl_authenticate: 
> uncoded challenge: Username:
> Oct 29 12:18:07 btsun1 postfix/smtpd[26933]: > 
> media-way-8-11.zfn.uni-bremen.de[134.102.8.11]: 334 VXNlcm5hbWU6
> Oct 29 12:18:07 btsun1 postfix/smtpd[26933]: < 
> media-way-8-11.zfn.uni-bremen.de[134.102.8.11]: 
> c2Nob2VwcG5lckBiaW90ZWMudW5pLWJyZW1lbi5kZQ==
> 
> Oct 29 12:18:07 btsun1 postfix/smtpd[26933]: smtpd_sasl_authenticate: 
> decoded response: schoeppner at biotec.uni-bremen.de
> Das stimmt

Meldest Du Dich auch als schoeppner at biotec.uni-bremen.de an den IMAP an
oder nur als schoeppner?

> Oct 29 12:18:07 btsun1 postfix/smtpd[26933]: smtpd_sasl_authenticate: 
> uncoded challenge: Password:
> Oct 29 12:18:07 btsun1 postfix/smtpd[26933]: > 
> media-way-8-11.zfn.uni-bremen.de[134.102.8.11]: 334 UGFzc3dvcmQ6
> Oct 29 12:18:07 btsun1 postfix/smtpd[26933]: < 
> media-way-8-11.zfn.uni-bremen.de[134.102.8.11]: U3Rpbmdlcjcw
> Oct 29 12:18:07 btsun1 postfix/smtpd[26933]: smtpd_sasl_authenticate: 
> decoded response: pass
> Das stimmt

Du denkst daran, das pass nacher zu ändern, ja?

> Oct 29 12:18:07 btsun1 imaplogin: Connection, ip=[::ffff:127.0.0.1]
> Oct 29 12:18:07 btsun1 imaplogin: chdir Maildir: No such file or directory
> Warum das, geht es nicht mit einer virtuelle Domain?
> 
> Maildir liegt unter /virtual/schoeppner at biotec.uni-bremen.de/

Kannst Du Dich als IMAP user einloggen? Wenn nein, dann hast DU ein IMAP
Problem.

> Oct 29 12:18:07 btsun1 postfix/smtpd[26933]: warning: 
> media-way-8-11.zfn.uni-bremen.de[134.102.8.11]: SASL LOGIN 
> authentication failed
> Oct 29 12:18:07 btsun1 postfix/smtpd[26933]: > 
> media-way-8-11.zfn.uni-bremen.de[134.102.8.11]: 435 Error: 
> authentication failed
> Oct 29 12:18:07 btsun1 postfix/smtpd[26933]: watchdog_pat: 0x808bff0
> 
> Oct 29 12:12:54 btsun1 postfix/smtpd[26933]: smtpd_sasl_authenticate: 
> uncoded challenge: Password:
> Oct 29 12:12:54 btsun1 postfix/smtpd[26933]: > 
> media-way-8-11.zfn.uni-bremen.de[134.102.8.11]: 334 UGFzc3dvcmQ6
> Oct 29 12:12:54 btsun1 postfix/smtpd[26933]: < 
> media-way-8-11.zfn.uni-bremen.de[134.102.8.11]: U3RpbmdlcjffMA==
> 
> 
> -
> Oct 29 12:12:54 btsun1 postfix/smtpd[26933]: smtpd_sasl_authenticate: 
> decoded response: pass?s
> 
> Das Passwort wird nicht richtig übertragen, es muss pass sein

Puh... das schauen wir uns an, wenn die anderen Vorschläge nichts
geholfen haben.

> Oct 29 12:12:54 btsun1 imaplogin: Connection, ip=[::ffff:127.0.0.1]
> Oct 29 12:13:00 btsun1 imaplogin: LOGIN FAILED, ip=[::ffff:127.0.0.1]

Courier?

> Die Antwort des IMAP-Server FAILD
> -
> 
> 
> Oct 29 12:13:00 btsun1 postfix/smtpd[26933]: warning: 
> media-way-8-11.zfn.uni-bremen.de[134.102.8.11]: SASL LOGIN 
> authentication failed
> Oct 29 12:13:00 btsun1 postfix/smtpd[26933]: > 
> media-way-8-11.zfn.uni-bremen.de[134.102.8.11]: 435 Error: 
> authentication failed
> 
> DA  IMAP-Server FAILD ist das richtig.
> 
> 
> Oct 29 12:13:00 btsun1 postfix/smtpd[26933]: watchdog_pat: 0x808bff0
> Oct 29 12:13:00 btsun1 imaplogin: DISCONNECTED, ip=[::ffff:127.0.0.1], 
> time=5
> 
> 
> Warum wird das Passwort um ein ? ergänzt?

Weiß ich auch (noch) nicht. Sehen wir uns erst mal die anderen Fragen
an.

p at rick

-- 
SMTP AUTH
Howto: <http://postfix.state-of-mind.de/patrick.koetter/smtpauth/>
Debug: <http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>




Mehr Informationen über die Mailingliste Postfixbuch-users