saslauthd -a rimap
Patrick Ben Koetter
p at state-of-mind.de
Wed Aug 1 02:17:19 EDT 2007
* Gert Cuykens <gert.cuykens at gmail.com>:
> On 7/31/07, Patrick Ben Koetter <p at state-of-mind.de> wrote:
> > * Gert Cuykens <gert.cuykens at gmail.com>:
> > > On 7/31/07, Patrick Ben Koetter <p at state-of-mind.de> wrote:
> > > > * Gert Cuykens <gert.cuykens at gmail.com>:
> > > > > saslauthd -a rimap
> > > > > saslauthd[7569] :set_auth_mech : failed to initialize mechanism rimap
> > > > >
> > > > > What does this mean ?
> > > >
> > > > What does "saslauthd -v" give you?
> > >
> > > root at 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 at 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 at www:~# mkdir /var/run/saslauthd
> root at www:~# saslauthd -a rimap -O localhost
> root at www:~# vi /var/lib/mysql/mail.log
> root at 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 at rick
--
The Book of Postfix
<http://www.postfix-book.com>
saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>
More information about the Cyrus-sasl
mailing list