Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vacation trigger #10

Open
jaromil opened this issue Oct 28, 2015 · 0 comments
Open

Vacation trigger #10

jaromil opened this issue Oct 28, 2015 · 0 comments

Comments

@jaromil
Copy link
Member

jaromil commented Oct 28, 2015

Make it easy to activate or deactivate a vacation auto-responder acting only for whitelisted contacts (not for lists to avoid public nuisance, nor for unknown contacts for privacy).

Preliminary example in sieve script:

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

if header :is "X-Spam-Flag" "YES" {
    fileinto "Spam";
}

if header :matches "Subject" "*" {
    set "subjwas" ": ${1}";
}

vacation
  :days 1
  :subject "Out of office reply${subjwas}"
"I'm out of office, please contact Joan Doe instead.
Best regards
John Doe";

This example uses the sieve vacation extension and needs whitelist/mailingist filter implemented (likely as simple as finding the right positioning in current sieve filters).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant