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

  :0
  ! user_o
}

Discussion

Enter your comment
If you can't read the letters on the image, download this .wav file to get them read to you.
 
blog/flexible_vacation_responder_using_procmail.txt · Last modified: 2009/07/20 13:15 by brb
Back to top
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0