Strange sieve problem....
Bryntez
tom at bryntez.com
Sat Feb 1 10:06:13 EST 2003
Hi list..
I have trouble connecting to sieve. Everything else works fine.
I'm using RedHat 7.3. I've tried Simons rpms also, but the same error
occures. I'm using Cyrus Sasl 2.1.11 and Cyrus Imap 2.1.11.
The system is a "web-cyradm" based config with MySQL and Postfix.
saslauthd -a pam& are working fine against smtp, pop and imap.
im the "pam.d" dir, there's "imap", "pop", "sieve" and "smtp" with the
same content in them, pointing to "/lib/security/pam_mysql.so etc..."
When I telnet localhost sieve, I get:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
"IMPLEMENTATION" "Cyrus timsieved v2.1.11"
"SASL" "LOGIN PLAIN"
"SIEVE" "fileinto reject envelope vacation imapflags notify subaddress
relational
regex"
OK
When trying to use sivtest with plain, this happens:
sivtest -u cyrus -a cyrus -m plain -p 2000 localhost
S: "IMPLEMENTATION" "Cyrus timsieved v2.1.11"
S: "SASL" "LOGIN PLAIN"
S: "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress
relational regex"
S: OK
Please enter your password:
C: AUTHENTICATE "PLAIN" {32+}
Y3lydXMAY3lydXMAY3lydXNfcGFzc3dk
S: NO "Authentication Error"
Authentication failed. generic failure
Security strength factor: 0
The logs come up with:
Feb 1 15:21:57 gollum master[23388]: about to exec /usr/cyrus/bin/timsieved
Feb 1 15:21:57 gollum sieve[23388]: executed
Feb 1 15:21:57 gollum sieve[23388]: accepted connection
Feb 1 15:22:25 gollum master[23364]: process 23388 exited, status 0
When trying to use sivtest with login, this happens:
sivtest -u cyrus -a cyrus -m login -p 2000 localhost
S: "IMPLEMENTATION" "Cyrus timsieved v2.1.11"
S: "SASL" "LOGIN PLAIN"
S: "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress
relational regex"
S: OK
C: AUTHENTICATE "LOGIN"
S: {12}
S: VXNlcm5hbWU6
Please enter your password:
C: {8+}
Y3lydXM=
S: {12}
S: UGFzc3dvcmQ6
C: {16+}
Y3lydXNfcGFzc3dk
S: NO "Authentication Error"
Authentication failed. generic failure
Security strength factor: 0
When I try to use sieveshell I get:
connecting to localhost
Please enter your password:
Please enter your password:
Bad protocol from MANAGESIEVE server: lost connection
And the log says: gollum perl: No worthy mechs found
Feb 1 15:28:35 gollum timsieved[23539]: attempting server step after
doneflag
Feb 1 15:28:35 gollum master[23364]: process 23539 exited, signaled to
death by 11
============================================================================
=
My configs...:
cyrus.conf:
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=0
# imaps cmd="imapd -s" listen="imaps" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=0
# pop3s cmd="pop3d -s" listen="pop3s" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0
imapd.conf:
postmaster: postmaster
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus
allowanonymouslogin: no
allowplaintext: yes
sasl_mech_list: PLAIN LOGIN
servername: gollum.xxx.yyy
autocreatequota: 20000
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
sasl_pwcheck_method: saslauthd
sievedir: /usr/sieve
sendmail: /usr/sbin/sendmail
sieve_maxscriptsize: 32
sieve_maxscripts: 5
unixhierarchysep: yes
umask: 077
============================================================================
==
Any advisory are much appreciated
regards
-bryntez
More information about the Info-cyrus
mailing list