How to test timsieved

Paul van der Vlis paul at vandervlis.nl
Thu Aug 13 10:56:39 EDT 2009


Dan White schreef:
> On 13/08/09 12:01 +0200, Paul van der Vlis wrote:
>> Duncan Gibb schreef:
>>> Paul van der Vlis wrote:
>>>
>>>> C: AUTHENTICATE "PLAIN" {16+}
>>>> AHBhdWwAZXJ1NGJj
>>>
>>> I hope you changed your password after you posted that ;-)
> 
> Let me echo that statement, since it looks like you're logging in as root!
> Your password is now publicly known.

I did change the password (and it was not the root-password).

>> Aug 13 11:27:40 sigmund cyrus/timsieved[16455]: badlogin:
>> localhost[127.0.0.1] PLAIN authentication failure
>>
>> Aug 13 11:27:40 sigmund saslauthd[12960]: do_auth         : auth
>> failure: [user=root] [service=sieve] [realm=] [mech=pam] [reason=PAM
>> auth error]
>>
> 
> Try:
> 
> testsaslauthd -u username -p password
> testsaslauthd -u username -p password -s sieve
> testsaslauthd -u username -p password -s imap
> 
> Do you get different answers?

No, they give all:  0: OK "Success." when I do it as root or as user cyrus.

But when I execute "testsaslauthd" as another user, it fails with a
"connect() : Permission denied".
But this is also the case on the other machine what works correct.

> If not, can you include the output of 'grep sasl /etc/imapd.conf'?
> (assuming there is no sensitive information), and the contents of your
> /etc/default/saslauthd?

sasl_mech_list: PLAIN
sasl_minimum_layer: 0
#sasl_maximum_layer: 256
sasl_pwcheck_method: saslauthd
#sasl_auxprop_plugin: sasldb
sasl_auto_transition: no

/etc/default/saslauthd:
START=yes
MECHANISMS="pam"
MECH_OPTIONS=""
THREADS=5
OPTIONS="-c"

Maybe this is important:
sigmund:~# ls -ld /var/run/saslauthd
lrwxrwxrwx 1 root root 37 2009-07-22 14:01 /var/run/saslauthd ->
/var/spool/postfix/var/run/saslauthd/
sigmund:~# ls -ld /var/spool/postfix/var/run/saslauthd/
drwx--x--- 2 root sasl 200 2009-07-22 14:02
/var/spool/postfix/var/run/saslauthd/
sigmund:~# ls -l /var/spool/postfix/var/run/saslauthd/
total 929
-rw------- 1 root root      0 2009-07-22 14:02 cache.flock
-rw------- 1 root root 945152 2009-07-22 14:02 cache.mmap
srwxrwxrwx 1 root root      0 2009-07-22 14:02 mux
-rw------- 1 root root      0 2009-07-22 14:02 mux.accept
-rw------- 1 root root      6 2009-07-22 14:02 saslauthd.pid

Thanks for your help!

With regards,
Paul van der Vlis.




-- 
http://www.vandervlis.nl/



More information about the Info-cyrus mailing list