I'm having a problem using sieve on my linux box (SuSE 8.0). Cyrus and timesieved are working fine. I can even auth to imap and cyradm with plain method over saslauthd and pam. But I cannot login via sieveshell. I'm always getting the same error message!
I've been googling around but I didn't find any hint how to solve this. Here my configs and logs!
allowplaintext: yes sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN LOGIN saslauthd -a pam -m /var/state/saslauthd
This one is working, so there is no service problem:
telnet localhost sievesubaddress relational regex"
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
"IMPLEMENTATION" "Cyrus timsieved v2.1.15"
"SASL" "PLAIN"
"SIEVE" "fileinto reject envelope vacation imapflags notify
OK
But sieveshell is unable to connect and exits with an error message:
sieveshell -u cyrus -a cyrus localhost<STDIN> line 1.
connecting to localhost
Please enter your password:
unable to connect to server at /usr/local/bin/sieveshell line 174,
Here is what the log is saying about:
If I enter *no* password:
Aug 31 19:43:22 galgnet saslauthd[940]: do_request : NULLpassword received
Aug 31 19:43:22 galgnet timsieved[17257]: Password verification failedpam_authenticate failed: Authentication failure
Aug 31 19:43:39 galgnet saslauthd[938]: DEBUG: auth_pam:
If I enter a *wrong* password:
Aug 31 19:43:39 galgnet saslauthd[938]: do_auth : auth
failure: [user=cyrus] [service=sieve] [realm=] [mech=pam] [reason=PAM auth error]
Aug 31 19:43:39 galgnet timsieved[17263]: Password verification failed
If I enter the *right* password:
Sep 1 11:06:15 galgnet master[9733]: about to exec /usr/lib/cyrus/bin/timsieved
Sep 1 11:06:15 galgnet sieve[9733]: executed
Sep 1 11:06:15 galgnet sieve[9733]: accepted connection
Sep 1 11:06:19 galgnet master[1367]: process 9733 exited, status 0
So, it doesn't seem to be an authentication failure either....
My /etc/pam.d/sieve (same as imap):
cat sieve #%PAM-1.0 auth required pam_unix.so account required pam_unix.so
Only copied sieve to imap because cyrus version 2.1.x are using another service for sieve to authenticate!
So, I'm not understanding what ist going wrong here.
Alain