Flexible vacation responder using procmail

I wanted to have a vacation response to business mails while on holiday, while letting private mails untouched.

  • Main account is user
  • Create a second mail account on the server, user_o
  • Create a .vacation.msg file with the response
  • Create a .procmailrc file
* ^((Delivered-To:)|(From:)|(To:))((.*domain1\.ch)|(.*domain2\.com))
  :0 c
  | /usr/bin/vacation -a firstname.lastname user

  ! user_o


Enter your comment. Wiki syntax is allowed:
If you can't read the letters on the image, download this .wav file to get them read to you.