I have an SMTP + IMAP server on linux and use sieve filtering to provide some useful features.

One such feature is out-of-office replies, provided by the following script:

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

# ignore spam
if header :contains "X-Spam-Flag" "YES" {
  fileinto "Junk E-mail";

  :days 1
  :subject "Out of office"
  :addresses ["..."]
"contact x, y, or z instead.";

However, I don't like the fact that the auto-replies are transparent to the user; there is no way for a user to definitively answer the question "did X receive a reply?". I would also prefer users, on principle, to be able to see every email that is sent from their address.

For this reason, I would like to store all out-of-office replies in the users sent folder. This way, users can easily review the automatic replies that have been sent.

Does anyone know how this could be achieved?

  • And you believe users will check their sent mail folder for this? Good luck with that. – Sven Apr 29 at 12:49
  • @Sven It's a small office, so training behaviour isn't such a problem. Besides, i think it's a fair principle that sent mail should include automatic replies from that address. – Marvin Apr 29 at 12:54
  • @Sven I modified the question to better explain my motivation. – Marvin Apr 29 at 13:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.