Re: Vacation don't work for me

2001-01-23 Thread Ken Murchison



serg wrote:
> 
> Hi all!
> 
> I'm just install cyrus 2.0.9 on RH 6.2 machine.
> Sieve work fine [reject, redirect,  discard, keep..] except vacation rule.
> 
> Can anybody help me with sieve vacation?
> 
> I'm attach two files:
> filter - it's filter file
> message - mail message
> 
> I try run sieve/test message filter  and it dosn't work.

If you input '[EMAIL PROTECTED]' and the envelope 'to' address when asked, it
should work.  I any case, you should give vacation the addresses of the
recipient.

Try:

require ["fileinto", "reject", "imapflags", "subaddress", "vacation",
"notify", "envelope"];

if allof(true,  header :contains "subject" "fail") {
discard;
}
if allof(true,  header :contains "subject" "test") {
vacation :addresses ["[EMAIL PROTECTED]"] "test";
stop;
}
keep;


-- 
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



Vacation don't work for me

2001-01-23 Thread serg

Hi all!

I'm just install cyrus 2.0.9 on RH 6.2 machine.
Sieve work fine [reject, redirect,  discard, keep..] except vacation rule.

Can anybody help me with sieve vacation?

I'm attach two files:
filter - it's filter file
message - mail message

I try run sieve/test message filter  and it dosn't work.

Thanks.

X-Sieve: cmu-sieve 2.0
Received: from [192.168.1.247] (helo=iname.ru)
by vot.ru with asmtp
id 14KejE-RR-00
for [EMAIL PROTECTED]; Mon, 22 Jan 2001 14:01:40 +0300
Sender: serg
Message-ID: <[EMAIL PROTECTED]>
Date: Mon, 22 Jan 2001 17:16:02 +0200
From: serg <[EMAIL PROTECTED]>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-12bc i686)
X-Accept-Language: en
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Subject: test



--



require ["fileinto", "reject", "imapflags", "subaddress", "vacation", "notify", 
"envelope"];

if allof(true,  header :contains "subject" "fail") {
discard;
}
if allof(true,  header :contains "subject" "test") {
vacation "test";
stop;
}
keep;