sieve

Richard Pijnenburg richard at softwaredev.nl
Wed Feb 10 10:23:50 EST 2010


Hi Dan,

The rule it self is:

require ["fileinto"];

if allof (address :contains ["Cc","CC","To","TO"] "from at domain.com") {
     redirect "forwardto at otherdomain.com";
     keep;
}

else {
     keep;
}


I don't see anything in the log files. Looks like it's not even redirected
to Sieve.
Could it be i have a mis configuration in postfix or cyrus?

What i already have checked is that timsieved is reachable and that the
sieve directory is specified at the imapd.conf:

sievedir: /usr/sieve
sendmail: /usr/sbin/sendmail
sieve_maxscriptsize: 32
sieve_maxscripts: 5

On Wed, 10 Feb 2010 08:36:46 -0600, Dan White <dwhite at olp.net> wrote:
> On 10/02/10 10:20 +0100, Richard Pijnenburg wrote:
>>Hi Dan,
>>
>>I've used websieve for creating the rules.
>>as far as i can see it communicates with timsieved.
>>Below a list of the files
>>
>>4.0K drwx------ 2 cyrus mail 4.0K Feb  8 23:10 .
>>4.0K drwx------ 3 cyrus mail 4.0K Feb  8 21:44 ..
>>   0 lrwxrwxrwx 1 cyrus mail   12 Feb  8 21:47 defaultbc -> defscript.bc
>>4.0K -rw------- 1 cyrus mail  196 Feb  8 23:10 defscript.bc
>>4.0K -rw------- 1 cyrus mail   20 Feb  8 23:10 defscript_pseudo.bc
>>4.0K -rw------- 1 cyrus mail  207 Feb  8 23:10 defscript_pseudo.script
>>4.0K -rw------- 1 cyrus mail  258 Feb  8 23:10 defscript.script
>>
>>Best regards,
>>
>>Richard
>>
>>On Tue, 9 Feb 2010 23:01:25 -0600, Dan White <dwhite at olp.net> wrote:
>>> On 08/02/10 23:14 +0100, Richard Pijnenburg wrote:
>>>>Hi all,
>>>>
>>>>I have websieve running to test sieve out.
>>>>
>>>>I've setup 2 simple rules.
>>>>
>>>>1.       Vacation message
>>>>2.       Forward
>>>>
>>>>In both cases they aren't being executed.  I have found the rules in
the
>>>>sieve directory and they both seem okay.  I have the idea that sieve
>>>>isn't executed at all.  Is there something I need to add to the cyrus
or
>>>>postfix config to make it work?
> 
> What do you see in your logs? You should see something similar to this,
for
> the Forward rule:
> 
> Feb  9 08:34:48 neo cyrus/lmtpunix[18087]: duplicate_check:
> <1234567890 at UnionEmail-Cert.example.com>-pattyjones at example.org
> .pattyjones at example.net.sieve. 0
> Feb  9 08:34:48 neo cyrus/lmtpunix[18087]: duplicate_mark:
>
<1234567890 at UnionEmail-Cert.example.com>-pattyjones at example.org.pattyjones@example.net.sieve.
> 1265726088 0
> Feb  9 08:34:48 neo cyrus/lmtpunix[18087]: sieve redirected:
> <1234567890 at UnionEmail-Cert.example.com>-pattyjones at example.org> to:
> pattyjones at example.org
> 
> And the rule which produced it:
> require
>
["fileinto","envelope","reject","vacation","imapflags","relational","comparator-i;ascii-numeric","regex","notify"];
> if
> true
> {
> keep;
> redirect "pattyjones at example.org";
> }
> 
> Do you see any errors in the logs?


More information about the Info-cyrus mailing list