* Gert Cuykens <gert.cuykens@xxxxxxxxx>: > On 7/31/07, Patrick Ben Koetter <p@xxxxxxxxxxxxxxxx> wrote: > > * Gert Cuykens <gert.cuykens@xxxxxxxxx>: > > > On 7/31/07, Patrick Ben Koetter <p@xxxxxxxxxxxxxxxx> wrote: > > > > * Gert Cuykens <gert.cuykens@xxxxxxxxx>: > > > > > saslauthd -a rimap > > > > > saslauthd[7569] :set_auth_mech : failed to initialize mechanism rimap > > > > > > > > > > What does this mean ? > > > > > > > > What does "saslauthd -v" give you? > > > > > > root@www:~# saslauthd -v > > > saslauthd 2.1.22 > > > authentication mechanisms: sasldb getpwent kerberos5 pam rimap shadow ldap > > > > So saslauthd supports rimap. What I miss in your initial "saslauthd -a rimap" > > command line argument is that you tell saslauthd which IMAP-server it should > > turn to. > > > > Have you tried "saslauthd -a rimap -O imap.example.com" where > > imap.example.com is your desired IMAP host? > > root@www:~# saslauthd -a rimap -O localhost > saslauthd[5916] :main : could not chdir to: /var/run/saslauthd > saslauthd[5916] :main : chdir: No such file or directory > saslauthd[5916] :main : Check to make sure the directory > exists and is > saslauthd[5916] :main : writeable by the user this process runs as. > root@www:~# mkdir /var/run/saslauthd > root@www:~# saslauthd -a rimap -O localhost > root@www:~# vi /var/lib/mysql/mail.log > root@www:~# saslauthd -a rimap -O localhost > saslauthd[5927] :detach_tty : Cannot start saslauthd > saslauthd[5927] :detach_tty : Another instance of saslauthd is > currently running Stop all instances. Run only one. > Oh oh something happening :) So how do i try to log in ? Use 'testsaslauthd' and look at the switches. You might want to use 'testsaslauthd -s smtp ...' p@rick -- The Book of Postfix <http://www.postfix-book.com> saslfinger (debugging SMTP AUTH): <http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>