[KLUG Members] Re: smartsieve & vacation?

Peter Buxton somercet at core.com
Wed Jun 23 16:22:59 EDT 2004


On Wed, Jun 23, 2004 at 02:12:06PM -0400, Bruce Smith was only escaped
   alone to tell thee:

> Playing around with smartsieve on my test email server, I added a
> "vacation" auto respond setting, but nothing is being responded to.
> Does "vacation" work, or is there a trick to make it work?

require ["fileinto","reject","vacation"] ;


See below:


/* This is my new sieve file.
 *
 * fileinto reject envelope vacation imapflags 
 * notify subaddress relational regex
 */

require ["fileinto","reject","vacation"] ;

if address :domain :is ["To","CC"] "killdevil.ath.cx" {
  vacation :subject "New domain for killdevil.ath.cx"
  text:
 
This is an automatic reply.
 
For future reference, please note that killdevil.ath.cx is now killdevil.org.
Your message has been forwarded.
 
Thank you.
.
 ;
}


if address :domain :is ["To","CC"] ["kalamazoolinux.org","kazoolug.org"] {
   fileinto "INBOX.klug" ;
}
elsif address :domain :matches ["To","CC"] ["linuxdoc.org","*.tldp.org"] {
   fileinto "INBOX.ldp" ;
}
elsif address :localpart :is ["To","CC"] "continuing-time" {
   fileinto "INBOX.c-time" ;
}
elsif not address :localpart :contains ["From","To","CC"] 
   ["peter","somercet","root","postmaster"] {
   fileinto "INBOX.Spam" ;
}

else {
   keep ;
}


-- 
This is Ingo's world, we just schedule in it. -- David Nielsen


More information about the Members mailing list