On 05/22/2012 05:56 PM, Leandro wrote:
> I am using dbmail 3.0 and while sieve scripts work fine, I can't use the
> vacation script. I tried a very simple one like:
> 
> require ["vacation"];
>    if header :matches "subject" "*" {
>        vacation :subject "Automatic response"
>                 "I'm away -- send mail to foo in my absence";
>    }
> 
> But it doesn't work. I get the following error in the debug log:
> 
> May 22 17:24:37 dbmail32 dbmail-lmtpd[4512]: [0x9bc3fb8] Debug:[sort]
> sort_debugtrace(+625): sieve: [sv_interface,script.c,libsieve_eval:
> [VACATION aborted: no match found in script.]

You need to specify what addresses you want to respond to. Also you
subject match always matches and is therefor redundant:

require "vacation";
if true {
  vacation :days 7 :addresses [lean...@texnet.it]
    :subject "Automatic response" "body text";
}





-- 
________________________________________________________________
Paul J Stevens        pjstevns @ gmail, twitter, skype, linkedin

  * Premium Hosting Services and Web Application Consultancy *

           www.nfg.nl/i...@nfg.nl/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to