Hello,
I'm giving an update of the problem. I think this is a bug.
First of all, the require "redirect" line isn't needed in the scripts anymore.
When setting up redirect the following happens:
- mails are redirected
- the subject of the redirected message is empty
- the to field has undisclosed recipients in it
- when an empty line is found in the body of the email, everything after the empty line is not redirected
I've cc'ed the author of libsieve, maybe he has some knowlegde of this problem.
Could someone please take a look at this?
Thank you,
Rudy
Rudy Gevaert wrote:
Hello,
I have set up postfix to use dove-cot lda. This works perfect. Sieve works a bit...
I would like to user the redirect feature of sieve. Having followed the wiki I added the following in my .dovecot.sieve :
require "redirect";
if header :contains "subject" ["order", "buy"] { redirect "orders@company.dom"; }
With this setup I get the following error: Sep 22 11:25:38 zalm deliver: sieve parse error for rgevaert: line 1: unsupported feature
Remove the require line makes a forward. But this doesn't forward the message I set, but makes a new empty message... :
- From Rudy.Gevaert@UGent.be Thu Sep 22 14:31:46 2005
- Date: Thu, 22 Sep 2005 14:29:01 +0200 (CEST)
- From: Rudy.Gevaert@UGent.be (Rudy Gevaert)
- To: undisclosed-recipients: ;
Is this a bug? Or have i missed something?
Thanks in advance,
--
Rudy Gevaert e-mail: Rudy.Gevaert@UGent.be Directie ICT, Afdeling Infrastructuur Groep Systemen tel: +32 9 264 4734 Universiteit Gent fax: +32 9 264 4994 Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be