Here is what I have in my vacation code: if allof ( header :contains ["to", "cc", "bcc", "X-Delivered-to"]["[email protected]"], ) { vacation :addresses ["[email protected]"] :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" "[email protected]" { > vacation :days 0 :addresses "[email protected]" "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 "[email protected]" to "[email protected]". > _______________________________________________ > DBmail mailing list > [email protected] > http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail -- Bret Baptist Senior Network Administrator Internet Exposure [email protected] (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 [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
