Re: problem with sieve syntax

[email protected]
Newsgroups gmane.ietf.mta-filters
Message-ID <[email protected]>
> Dear sirs,

> I have trouble while setting up some sieve roules via roundcube plugin
> ("managesieve"). When set up an autoresponder with 2 automatically-sent
> messages I won't receive any automatic e-mails anymore. When I remove
> one of these, it works fine again.

> Heres my syntax:

> # rule:[[email protected]]
> if allof (address :contains "to" "[email protected]")
> {
> 	vacation :days 1 :addresses "[email protected]" :subject "Re: ${1}" text:
> This is my automated mail number one
> .
> ;
> 	vacation :addresses "[email protected]" :subject "Re: ${1}" text:
> This is my automated mail number two
> .
> ;
> }

> Can you tell me whats the problem?

It's not really the purpose of this list to provide assistance in debugging
sieve problems, but FWIW, I see two problems here:

(1) No require statement for the vacation extension:
 
    require "vacation";

(2) You're clearly trying to perform a variable substition, but there's
    no code to do that and no require statement for the variables extension
    either.

Now, both of these may be due to your not having provided the entire
script. If that's the case, and you have the necessary require commands
as well as some sort of preceeding :matches operation, then I don't
see any sieve problem here.

				Ned

_______________________________________________
sieve mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/sieve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.