How to test timsieved
Paul van der Vlis
paul at vandervlis.nl
Thu Aug 13 06:01:47 EDT 2009
Duncan Gibb schreef:
> Paul van der Vlis wrote:
>
>> C: AUTHENTICATE "PLAIN" {16+}
>> AHBhdWwAZXJ1NGJj
>
> I hope you changed your password after you posted that ;-)
>
>> S: NO "Authentication Error"
>> Authentication failed. generic failure
>> Security strength factor: 0
>
> PvdV> Anybody here knows how to find-out why the
> PvdV> authentication does not work?
>
> Assuming the Debian default logging config, have a look in
> /var/log/mail.log for lines containing both "sieve" and "badlogin".
Aug 13 11:27:40 sigmund cyrus/timsieved[16455]: badlogin:
localhost[127.0.0.1] PLAIN authentication failure
> If
> that looks OK apart from "authentication failure", look at
> /var/log/auth.log.
Aug 13 11:27:40 sigmund saslauthd[12960]: do_auth : auth
failure: [user=root] [service=sieve] [realm=] [mech=pam] [reason=PAM
auth error]
> PvdV> On another machine (with Cyrus 2.2) everything works fine.
>
> Then you can use the two configurations to compare.
Yes, there is no big difference.
> Does IMAP authentication on the _same_ machine work?
Yes.
> What settings are you using for (sieve_)allowplaintext and tls_*?
I don't have a "sieve_allowplaintext", I have tried it with "yes", but
it did not help.
allowplaintext: yes
I have the same problems with "tls_sieve_cert_file: disabled" or not, so
I think the problem is not tls-related.
> What is your authentication backend?
saslauthd -> pam -> unix
In the pam modules for both imap and sieve I have:
@include common-auth
@include common-account
Thanks for your help.
With regards,
Paul van der Vlis.
--
http://www.vandervlis.nl/
More information about the Info-cyrus
mailing list