[Dovecot] Sieve/Vacation
hi,
i'm using 1.1.rc5 but the same error occured with 1.0.13.
the dovecot package was installed on centos 5 with rpm's from atrpms. exim 4.69.
everything works fine except the vacation's from sieve. don't get me wrong, sieve works for everything, including mailforwards, or sorting in subfolders.
but when i have a vacation, the script is compiled, but it produces the following output:
sieve_execute_bytecode(/var/virtuser/test@<adomain>.sievec) failed
(the "<adomain>" is replaced with the real domain of the user).
i use virtual users in different domains. the sieve-scripts are generated by horde/ingo and stored via ftp in the "/var/virtuser" directory with the pattern "%u.sieve".
the "sievec" files are up-to-date, because:
a) i can delete the "sievec" files and they are regenerated b) i can "sieved" them and get an disassembled output with the vacation rule inside
but when executing the script (when a mail arrives) the upper error is logged and no vacation is processed.
the same error occured with 1.0.13
thank you </usc>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 28 May 2008, Ulrich Schreiner wrote:
everything works fine except the vacation's from sieve. don't get me wrong, sieve works for everything, including mailforwards, or sorting in subfolders.
If Sieve's redirect is working, but vacation is not; I suspect, Dovecot Deliver can invoke sendmail to send mails. This was my problem some time ago.
With v1.1 there should be no problem with the missing Return-Path header, as well.
There was a post some time ago, which leads to think that there can be problems with UTF8 encodings. Did you tested vacation with a clean 7bit mail and vacation message? Also, did you stripped down the vacation directive to its minimum?
Did you already invoked deliver from command line? Sometimes there are hints:
Craft a valid message, then su systemuser -c 'limit -c unlimited ; dovecot-deliver -f sender -d user < msg'
If there is a problem sending the mail, it might be useful to know what deliver calls, e.g. run a kernel API trace, e.g. "strace" in Linux.
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIPlk9VJMDrex4hCIRAq5mAKDMKUf1lHU9HNMGc789PgDAV4CvuwCgrM/X 0KdwwGzNCzWuK+2E4bfWGuM= =F6O2 -----END PGP SIGNATURE-----
participants (2)
-
Steffen Kaiser
-
Ulrich Schreiner