Well, I'm feeling the need to implement Sieve on one of my servers too. So I'm preparing a new release of the rpm packages.
In the release 3 (cyrus-imapd-2.0.16-3rm) I limited myself to adding the sieve service line to the /etc/service file at install time. But that's far from what is needed to have the full environment for Sieve to work correctly. You need also to create the directories where the users's scripts will be stored (I'm putting them in /var/imap/sieve; the default Cyrus uses is /usr/cyrus). Let's say it's xxxxx Then, you need to tell Cyrus about that (in /etc/imapd.conf): sievedir: xxxxx sieveusehomedir: no And perhaps specify the location of the sendmail binary (if any) of your MTA with: sendmail: /usr/sbin/sendmail (that's for Postfix rpm package, Cyrus default is /usr/lib/sendmail) Then you must create the a..z dirs under xxxxx. Note: The xxxxx/ and xxxxx/{a..z} dirs mut be owned by cyrus.mail and with mod 0750. I hope being able to finish the new package release soon (I'm creating a new cyrus-imapd-sieve sub-package implementing all the steps above) but I'm trying to give the option to enable SNMP support to the src.rpm rebuilder and I want to get it right for all the Red Hat releases I'm targetting (6.2 ... 7.2) The specfile is starting to look a little messy :-/ Hope this helps. On 5 Jan 2002 at 15:48, Abu wrote about "Sieve again on cyrus 2.0.16": Date sent: Sat, 5 Jan 2002 15:48:29 +0700 From: Abu <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Sieve again on cyrus 2.0.16 } I use cyrus-imapd-2.0.16rm.rpm (Ramiro Morales rpm), using sasl_pw_chek: pam (mysql),cyrus-imapd running good, but i dont understand sieve : } } /etc/imapd.conf: } } configdirectory: /var/imap } partition-default: /var/spool/imap } admins: cyrus } allowanonymouslogin: no } quotawarn: 90 } } sasl_pwcheck_method: pam } } /etc/service: } sieve 2000/tcp } } using cyradm: } } [abu@kantorku SPECS]$ cyradm -u cyrus -auth login localhost } IMAP Password: } localhost> lm } user.abu } user.abu_kantorku_com } .. } } #telnet localhost sieve } } telnet localhost sieve } Trying 127.0.0.1... } Connected to localhost. } Escape character is '^]'. } "IMPLEMENTATION" "Cyrus timsieved v1.0.0" } "SASL" "LOGIN PLAIN" } "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress regex" } OK } } [abu@kantorku SPECS]$ sieveshell -u cyrus -a cyrus localhost } connecting to localhost } Please enter your password: xxx } unable to connect to server: Authentication error at /usr/bin/sieveshell line 149, <STDIN> line 1. } } Log pam say normaly/success but sieveshell cannot authenticate. } i have cyrus user, if i login with cyradm successfully but sieveshell failed, } anybody can help to solve this? } } tx. } } -- } __ } (oo) Open Solution Provider visit http://www.trabas.com } / \/ \ GnuPg public information pub 1024/EBD26280 } `V__V' A9A9 8F57 9E9D 14E3 05B4 3EDB C241 A313 EBD2 6280 } Don't relax! It's only your tension that's holding you together. } -- Ramiro