Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DBMail: users

Sieve script vacation not working

 

 

DBMail users RSS feed   Index | Next | Previous | View Threaded


leandro at texnet

May 22, 2012, 8:56 AM

Post #1 of 2 (361 views)
Permalink
Sieve script vacation not working

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.]

Any idea? Can you provide me your sieve script for example?

Leandro

_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


paul at nfg

May 23, 2012, 2:46 AM

Post #2 of 2 (338 views)
Permalink
Re: Sieve script vacation not working [In reply to]

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 [leandro [at] texnet]
:subject "Automatic response" "body text";
}





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

* Premium Hosting Services and Web Application Consultancy *

www.nfg.nl/info [at] nfg/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
DBmail [at] dbmail
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

DBMail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.