[Dovecot] Sieve - not functioning for additional email aliases.

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Tue Jan 14 09:58:46 EET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 13 Jan 2014, Jacek Osiecki wrote:

> The sieve file is simple: forward message and reply with vacation:
> ----
> require ["copy","vacation"];
> # rule:[redirect]
> if anyof (true)
> {
> 	redirect :copy "my.boss at newdomain.pl";
> 	vacation :days 1 :addresses 
> ["my.name at olddomain.pl","my.name at newdomain.pl"] text:
> I'm unavailable now.
>
> Please contact my boss: my.boss at newdomain.pl
>
> Greetings
> .
> ;
> }
> ----
>
> When I send email to my.name at olddomain.pl - it is sent to 
> my.boss at newdomain.pl and I receive the vacation message.
>
> When I send it to the alias (my.name at newdomain.pl) - none of above is done.
>
> Any idea how I can debug it? Running test-sieve does not help - it claims 
> that will simply forward and deliver the message...

First, try to determine, if the Sieve script runs for newdomain at all, 
e.g. add a fileinto at the beginning of the script.

Second, in v2 there is a dovecot.sieve.log file for Sieve error messages - 
not syntax, but processing errors. Maybe Sieve cannot send messages with 
my.name at newdomain.pl sender, check out mail log, too.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUtTuNnD1/YhP6VMHAQLuYAf+LmBpZikSxTMM3IPGjf36FkBPfbNgOANn
c8oyS43hv7io3+l7kRfjQZ+Awfb/ha2eYmYDefHNfV2jC+3vx1oPI+kNd8ZjXtqE
V1ut/unFZISKVqmF639o2DhJQ51zzH+TM0hGFIuBwj9XBRctmRdCPZax3qfwTK3T
ENIR7MYFqA0c+OswM27SVF4oqdi8bLWtLnRkyBW7s10l1o9e5Jh7P2PUCpPFrBOM
v9cFoK8dr06/S0YBqkFZIr6I7/UG3h20KbcuFO0xZBN+nu74c/4xSq0Ys9mpKboK
GGfP+VcXwPldITatbLRjqQd9vsTeU1JINAZ4Wf8Qr7FXHbz7siA01g==
=G9gE
-----END PGP SIGNATURE-----


More information about the dovecot mailing list