Sieve authentication problem
Andreas Winkelmann
ml at awinkelmann.de
Sun Sep 10 02:12:55 EDT 2006
Am Sunday 10 September 2006 08:00 schrieb Andreas Winkelmann:
> > do I get some help about Sieve here too? Some days ago I've added
> > authentication by sasldb and today I saw that Sieve doesn't work
> > anymore. I can't login to sieveshell from root like "sieveshell --user
> > mailuser --authname mailuser localhost", the correct password is not
> > accepted. There are these entries in the log file:
> >
> >
> > Sep 9 12:25:44 salamucha master[7088]: about to exec
> > /usr/lib/cyrus/bin/timsieved
> > Sep 9 12:25:44 salamucha sieve[7088]: executed
> > Sep 9 12:25:44 salamucha sieve[7088]: accepted connection
> > Sep 9 12:25:49 salamucha PAM-warn[1066]: function=[pam_sm_authenticate]
> > service=[sieve] terminal=[<unknown>] user=[mailuser] ruser=[<unknown>]
> > rhost=[<unknown>]
>
> But this is saslauthd/pam, which is queried, not sasldb.
>
> Check your saslauthd/pam Configuration.
Ok forget it, sometimes it is better to read further.
> > Sep 9 12:25:49 salamucha PAM-warn[1066]: function=[pam_sm_acct_mgmt]
> > service=[sieve] terminal=[<unknown>] user=[mailuser] ruser=[<unknown>]
> > rhost=[<unknown>]
> > Sep 9 12:25:49 salamucha sieve[7088]: transitioning user mailuser to
> > auxprop database
> > Sep 9 12:25:49 salamucha sieve[7088]: setpass succeeded for mailuser
> > Sep 9 12:25:49 salamucha sieve[7088]: mkdir /var/lib/sieve/m/mailuser:
> > File exists
Check this Directory. Maybe it is a File, or the Permissions are incorrect.
> > Sep 9 12:25:49 salamucha sieve[7088]: error in actions_setuser()
> > Sep 9 12:25:49 salamucha perl: No worthy mechs found
> > Sep 9 12:25:49 salamucha master[6160]: process 7088 exited, status 0
> >
> > The actual imapd.conf looks like this:
> >
> > ...
> >
> > sasl_pwcheck_method: saslauthd auxprop
> > sasl_auxprop_plugin: sasldb
> > sasl_auto_transition: yes
> > sasl_mech_list: plain login
> > ...
> >
> > Also avelsieve doesn't work correctly before I got this problem above,
> > in the meantime I can't use avelsieve too of course (with a similar
> > error message). That might be another question and not here, but I like
> > to ask about the rights for the Sieve directory. It's set to 600 and the
> > owner is cyrus:mail, is that right?
--
Andreas
More information about the Info-cyrus
mailing list