Gianni Socionovo wrote:
Hi Sandy,
Sandy Drobic wrote:
Gianni Socionovo wrote:
if i run sieveshell i got:
/usr/bin/sieveshell -u cyrus -a cyrus 127.0.0.1 connecting to 127.0.0.1 unable to connect to server at /usr/bin/sieveshell line 169
Please try to log in as a mail user, not as mail admin. The account used to log in needs to have a mailbox.
By the way, this has nothing to do with webcyradm. Though you need to get the basic sieveshell function working before you can think about webcyradm.
I got the same error with mailbox users both with extension myuser.mydomain.dom (the way i recorded the users in table accountuser for postfix and cyrus-imap) both with only myuser. With words "webcyradm work great" I meant that postfix, mailbox traffic, imap mailboxes user creation, cyrus imap access to mailboxes, mailboxes quota work all, the only thing doesn't work is sieve and consequently vacation and message filtering.
Okay, let's try to do this step by step. Please verify first, that cyrus is configured to run sieve at all. In /etc/cyrus.conf you should find a line like SERVICES { ... sieve cmd="timsieved" listen="sieve" prefork=0 ... } also a netstat -an | grep ":2000" should show, that there is a program listening at Port 2000, preferably on localhost. a telnet localhost sieve should show something like this: Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. "IMPLEMENTATION" "Cyrus timsieved v2.2.8" "SASL" "LOGIN PLAIN" "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress relational regex" "STARTTLS" OK
logout OK "Logout Complete" Connection closed by foreign host.
The SASL mechanisms should be the same as those you use to login to Imap. If you have a system user (with login shell) with a mailbox in Cyrus, please login as that user and try to connect to sieveshell with sieveshell localhost (with no additional parameters) Do you now get a prompt for the password? Sandy