Here is what I have in my vacation code:

if allof ( 
header :contains ["to", "cc", "bcc", "X-Delivered-to"]["myal...@example.com"], 
) 
{ vacation 
:addresses ["myal...@example.com"] 
:subject "Out of Office" 
"I am not here now."; 
}


Hope this helps,
Bret.


On Wednesday, June 15, 2011 08:40:25 AM Sergej Pupykin wrote:
> Hi All:
> 
> did anybody use sieve vacation command?
> 
> I try following:
> 
> ***
> require ["vacation"];
> 
> if header :contains "From" "us...@gmail.com" {
>    vacation :days 0 :addresses "myal...@example.com" "I am away";
>    stop;
> }
> ***
> 
> and always get
> 
> > dbmail/smtp[21100]: Debug:[sort] sortsieve.c,sort_debugtrace(+557):
> > libSieve: module [sv_interface] file [script.c] function
> > [libsieve_eval] message
> > [Vacation didn't find my address in To, Cc, Bcc, Resent-To, Resent-Cc
> > or Resent-Bcc.]
> 
> I send email from "us...@gmail.com" to "myal...@example.com".
> _______________________________________________
> DBmail mailing list
> DBmail@dbmail.org
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

-- 
Bret Baptist
Senior Network Administrator
Internet Exposure
bbapt...@iexposure.com
(612) 676-1946 x117

Check out our blog: www.iexposure.com/blog
Follow us on Twitter: www.twitter.com/iexposure
Like us on Facebook www.facebook.com/iexposure
Connect on Linkedin: www.linkedin.com/company/internet-exposure

A Digital Agency Since 1995
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to