Re: [Dovecot] Dovecot - Sieve script loaded but filtering doesn't works ?
Hello Steffen,
Thanks for your reply,
This is my script (using for my test) :
require "fileinto"; if address "To" "info@info.xx.com" { fileinto "Test"; }
Clement
Message: 7 Date: Mon, 18 Mar 2013 13:23:33 +0100 (CET) From: Steffen Kaiser skdovecot@smail.inf.fh-brs.de To: Dovecot Mailing List dovecot@dovecot.org Subject: Re: [Dovecot] Dovecot - Sieve script loaded but filtering doesn't works ? Message-ID: alpine.DEB.2.02.1303181322430.3303@pc-2m63.inf.fh-bonn-rhein-sieg.de Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 18 Mar 2013, Clement PAULET wrote:
When I use a Sieve script, it 's loaded but actions are not respect with this logs :
The sieve script just trying to redirect to INBOX.Test folder but doesn't works..
First of all, how does your script looks like?
Steffen Kaiser
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUUcHRl3r2wJMiz2NAQKoswf/WczI0q9k0WqWzRPr7lwuBEeiQQlYBDaq Lap8YNnbxDsczxgYZ/i0gDrq7f612A0nKWHBC806DxH4dHNyUwBPYVqFAT7edvk4 ns99f4bNh6GsufC1CY5tY/1DjT5ykEzkTmaV443YH50jQ4iPnDohOMsBBRlhoWN4 8KCLCNafCYXf48QjnAfoLt4TjaxyYb//7otYJN2CqLOGbvWoJwrpNgmuhvST+PNm RQXLG1lpxzt7QMP++fTMXa6A/SwVsglhAUS6xFdAuoOBsx1jPtvA+mot9gqpi02I j2WquMsycviWprYD2FsET903TWU/5+boxg2UBOettsTqhfwABkIcvQ== =ygun -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 18 Mar 2013, Clement PAULET wrote:
Dear Clement,
This is my script (using for my test) :
require "fileinto"; if address "To" "info@info.xx.com" { fileinto "Test"; }
Works for me in v2.2.
Did you verified that the header "To" really exists in the message and that "info@info.xx.com" is part of it? The log you've posted displays the envelope information, which is not necessary the same as the header information.
Also, remove the precompiled Sieve script, in order to ensure that the pre-compiled one is really one from the script. You could also decompile it to make sure, it has been created from your test script. You'll find sieve-dump in src/sieve-tools/, if you compile from sources, or maybe in /usr/local/bin.
Message: 7 Date: Mon, 18 Mar 2013 13:23:33 +0100 (CET) From: Steffen Kaiser skdovecot@smail.inf.fh-brs.de To: Dovecot Mailing List dovecot@dovecot.org Subject: Re: [Dovecot] Dovecot - Sieve script loaded but filtering doesn't works ? Message-ID: alpine.DEB.2.02.1303181322430.3303@pc-2m63.inf.fh-bonn-rhein-sieg.de Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 18 Mar 2013, Clement PAULET wrote:
When I use a Sieve script, it 's loaded but actions are not respect with this logs :
The sieve script just trying to redirect to INBOX.Test folder but doesn't works..
First of all, how does your script looks like?
Steffen Kaiser
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUUcWcV3r2wJMiz2NAQJJzgf/aoOk3Wr3EJ2j+f9RZETz11Jy1RJuHxgj KON6bi7XrQ9kP1Qyh52kWxX2lwYeM1mW8sMxtI97kym0nP2O6jMMUX99BRXGWcCc U/40chqbYdEv15nvAzBx44ZP6sgy+GySgIFCfnGeUBeGaSalo/26oYGK/BqsUP+M v7qjDyyZpI/SaA/k4AwlwGIMM3L6STVjG2rmiAeJbFeAZn6PtXgnV9qq6Dx7TWEI cQiAdAti2GTL/98vjpwvY4RX1yt4tpsjtjoDo9rQTyW4SyuvzZRON1vnP48JJ+I6 GlhR5kkrSV88UYsLbXZ06jY/3HyfmXnq+EYB2Cr0eCuubtcNkH+O3g== =9T5c -----END PGP SIGNATURE-----
participants (2)
-
Clement PAULET
-
Steffen Kaiser