Difference between revisions of "Vacation"
From Mailutils
Jump to navigationJump to search (Initial revision) |
m |
||
Line 9: | Line 9: | ||
[:reply_regex <''expr'': string>] | [:reply_regex <''expr'': string>] | ||
[:reply_prefix <''prefix'': string>] | [:reply_prefix <''prefix'': string>] | ||
+ | [:sender <''addr'': email>] | ||
<''reply_text'': string> | <''reply_text'': string> | ||
Revision as of 12:20, 27 December 2010
Vacation is an E-mail autoresponder implemented as a Sieve extension action.
Syntax
vacation [:days <ndays: number>] [:subject <subject: string>] [:aliases <address-list: list>] [:addresses <noreply-address-list: list>] [:reply_regex <expr: string>] [:reply_prefix <prefix: string>] [:sender <addr: email>] <reply_text: string>
Vacation returns a message reply_text to the sender of the message being processed informing them that the recipient is currently not reading their mail. The message is sent to each sender once per reply interval specified by the ndays tagged parameter. The reply is formatted as a MIME message with reply_text as its body and subject as its Subject header. If :subject is not supplied, the Subject line is created by prefixing the subject of the original message with the reply prefix (Re: , by default). To avoid unnecessary duplication, this mechanism is suppressed if the original subject already begins with the reply prefix.
Sample usage
require "vacation";
vacation :days 7 :reply_regex "^(re|aw|sv|ang|odp|rv)(\[[0-9]+\])?:[[:blank:]]" text:
I am not able to attend your mail now, because I am on vacation until 2010-07-01.
I will reply to you when I am back.
Best regards,
Ty Coon
.
;