Re: sieve

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dan,

The rule it self is:

require ["fileinto"];

if allof (address :contains ["Cc","CC","To","TO"] "from@xxxxxxxxxx") {
     redirect "forwardto@xxxxxxxxxxxxxxx";
     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@xxxxxxx> 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@xxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxxxxxx>-pattyjones@xxxxxxxxxxx
> .pattyjones@xxxxxxxxxxxxxxxxxx 0
> Feb  9 08:34:48 neo cyrus/lmtpunix[18087]: duplicate_mark:
>
<1234567890@xxxxxxxxxxxxxxxxxxxxxxxxxxx>-pattyjones@xxxxxxxxxxxxxxxxxxxxxx@example.net.sieve.
> 1265726088 0
> Feb  9 08:34:48 neo cyrus/lmtpunix[18087]: sieve redirected:
> <1234567890@xxxxxxxxxxxxxxxxxxxxxxxxxxx>-pattyjones@xxxxxxxxxxx> to:
> pattyjones@xxxxxxxxxxx
> 
> And the rule which produced it:
> require
>
["fileinto","envelope","reject","vacation","imapflags","relational","comparator-i;ascii-numeric","regex","notify"];
> if
> true
> {
> keep;
> redirect "pattyjones@xxxxxxxxxxx";
> }
> 
> Do you see any errors in the logs?
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux