[Dovecot] Sieve script executed, but nothing happens
Hi all,
I think I have almost solved my dovecot-deliver lookup problems, but now sieve still fails to work. From deliver's logfile I can tell the user's homedir is found and the sieve script is executed, but not as expected. My sieve testscript is very basic:
/home/virtual/user.dovecot.sieve:
require "fileinto";
if address :is "to" "user@ mydomain.nl" {
fileinto "sieve"; ( I also tried INBOX.sieve, without succes)
}
But incoming messages for this account are still delivered in the normal inbox, not in the sieve folder. Why won't this work?
/var/log/deliver:
deliver(user@mydomain.nl): Apr 17 09:55:40 Info: Loading modules from directory: /usr/lib/dovecot/lda
deliver(user@mydomain.nl): Apr 17 09:55:40 Info: Module loaded: /usr/lib/dovecot/lda/lib90_cmusieve_plugin.so
deliver(user@mydomain.nl): Apr 17 09:55:40 Info: auth input: user@mydomain.nl
deliver(user@mydomain.nl): Apr 17 09:55:40 Info: auth input: home=/home/virtual/user
deliver(user@mydomain.nl): Apr 17 09:55:40 Info: auth input: uid=5000
deliver(user@mydomain.nl): Apr 17 09:55:40 Info: auth input: gid=5000
deliver(user@mydomain.nl): Apr 17 09:55:40 Info: maildir: data=/data/mail/mydomain/user
deliver(user@mydomain.nl): Apr 17 09:55:40 Info: maildir: root=/data/mail/mydomain/user, index=/data/mail/mydomain/user, control=, inbox=
deliver(user@mydomain.nl): Apr 17 09:55:40 Info: cmusieve: Using sieve path: /home/virtual/user/.dovecot.sieve
deliver(user@mydomain.nl): Apr 17 09:55:40 Info: cmusieve: Executing script /home/virtual/user/.dovecot.sievec
deliver(user@mydomain.nl): Apr 17 09:55:40 Info: msgid=20080417075530.5E8BD20111@termsrv.mydomain.local: saved mail to INBOX
TIA,
Wouter
No, that's a typo.
Wouter
-----Oorspronkelijk bericht----- Van: dovecot-bounces+wamsterdam=zesgoes.nl@dovecot.org [mailto:dovecot-bounces+wamsterdam=zesgoes.nl@dovecot.org] Namens Asheesh Laroia Verzonden: vrijdag 18 april 2008 9:24 Aan: Wouter Amsterdam CC: dovecot@dovecot.org Onderwerp: Re: [Dovecot] Sieve script executed, but nothing happens
On Fri, 18 Apr 2008, Wouter Amsterdam wrote:
if address :is "to" "user@ mydomain.nl" {
Is this space intentional? "user<at><space>mydomain.nl"?
-- Asheesh.
-- "In the long run, every program becomes rococo, and then rubble." -- Alan Perlis
On Fri, 2008-04-18 at 09:21 +0200, Wouter Amsterdam wrote:
I think I have almost solved my dovecot-deliver lookup problems, but now sieve still fails to work. From deliver's logfile I can tell the user's homedir is found and the sieve script is executed, but not as expected. My sieve testscript is very basic:
How about trying an even more basic script:
require "fileinto"; fileinto "test";
If it delivers the mail to test mailbox, then the if-check is somehow wrong. If it doesn't, something else is broken..
participants (3)
-
Asheesh Laroia
-
Timo Sirainen
-
Wouter Amsterdam