/* Example: "vacation" This MFL script will send a vacation reply to any message where the subject is "Would you like supper?" While mvmda has logic to inhibit improper vacation notices, you should also take care not to use vacation willy-nilly, as return addresses can be forged. Use vacation AFTER you've whitelisted and blacklisted and otherwise filtered out unwanted incoming messages. */ sieve { /* Open the sieve block */ require "dnsbl"; require "vacation"; // Enable the vacation verb. /* discard anything from a spamhaus/sbl listed site */ if dnsbl "spamhaus" "sbl" { discard; } /* discard mail that looks like "make money fast" */ if header :matches "subject" "*mak*money*fast*" { discard ; } // Only send a reply to any given person once in 11 days. elsif header :is "subject" "Would you like supper?" { vacation :from "mem@mv.com" :handle "eats" :days 11 :addresses ["mem@mv.mv.com", "mem@geezer.org", "mem@mv.com"] "Thanks for the invite, but I'm away, and I will not be returning in time for supper."; } // Implicit keep will save the message }