Mike McLean wrote:
>
> I'm still having problems getting sieve to work. My system is postfix
> with cyrus-imapd setup on a freebsd 4.5 -stable system. I have now
> configured postfix to use lmtp as the mailbox_transport using unix
> domain sockets. It delivers the messages to the INBOX folder fine. but
> it seems to completely ignore sieve and the filtering script I installed
> for the user.
>
> I've put this in /usr/local/etc/cyrus.conf:
>
> lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
>
> this in /usr/local/etc/postfix/main.cf:
>
> mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
>
> and this in /usr/local/etc/postfix/master.cf
>
> lmtp unix - - n - - lmtp
>
> My sieve script is as follows:
>
> require "fileinto";
> if header :is "X-Mailinglist" "flightgear-devel" {
> fileinto "FGFS-Devel";}
> elsif header :contains "Mailing-List" "allegro" {
> fileinto "Allegro";}
> elsif header :contains "List-Id" "[EMAIL PROTECTED]" {
> fileinto "Bind9-Users";}
> elsif header :contains "Mailing-list" "dri-user"{
> fileinto "DRI-User";}
> elsif header :contains "From" "[EMAIL PROTECTED]"{
> fileinto "libolt.ME";}
> else {
> fileinto "Inbox2";
If this is your actual script, you have a syntax error (no closing
'}'). Otherwise, is your script installed in the correct place, does it
have a 'default' symlink to it, and is it readable by the 'cyrus' user?
Ken
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26 Orchard Park, NY 14127
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp