User Tools

Site Tools


blog:flexible_vacation_responder_using_procmail

This is an old revision of the document!


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
:0:
* ^From:(.*domain1\.ch)|(.*domain2\.com)
{
  :0 c
  | /usr/bin/vacation -a firstname.lastname user

  :0
  ! user_o
}

~~LINKBACK~~

Discussion

Enter your comment. Wiki syntax is allowed:
  _____  ____   ____   _   __   __ __
 / ___/ / __ \ / __ \ | | / /  / //_/
/ (_ / / /_/ // /_/ / | |/ /  / ,<   
\___/  \____/ \___\_\ |___/  /_/|_|
 
blog/flexible_vacation_responder_using_procmail.1248019313.txt.gz · Last modified: 2009-07-19 18:01 by brb