I've followed this
tuturial step by step.. and everything has worked fine until I shall test smtp.
I try to telnet to port 25 -> connect's ..but get's disconnected afer 1 sec ..and reason according to logs is this.
warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL
fatal: no SASL authentication mechanisms
I've googled and banged my head against the wall for 7-8 hours now .. without solving it.
To me it looks like saslauthd dont find it's login mechanism.. and acording to some other forums this is solved by adding those libs ..
But what I can se both libplain and liblogin is pressent in /usr/lib/sasl2/
wich is the ones I list (And they offcause should be there since I've installed all packs according to tuto.) in /etc/postfix/sasl/smtpd.conf
mech_list: plain login
sql_select: select password from users where email = '%u'
So. how do I find out what it is that fails ..??
What coud it be that results in the above error log.??
And I'm as sure as I can be that all config-files are exactly as the tuto says.
If I've done something wrong .. what can it be??
Please help me! I'l be gratefull forever!!
Iv'e narowed it down some I think . but still not able to find the solution
I found that I could test saslauthd by running
testsaslauthd -u user -p pass -s smtp
ressult of that is
Connect() : No such file or directory
bit if I add this
testsaslauthd -u user -p pass -f /var/spool/postfix/var/run/saslauthd/mux -s smtp
It actualy works .. it says ok if I use correct user/password from the db and tels me auth fails if I use wrong password
I have myselfe no clue why it is like this .. can I ad dthat info somewhere in the configfiles so postfix can comunicate with it or am I on the wrong track here.