O'Reilly logo

Linux Email: Set up and Run a Small Office Email Server by Patrick Ben, Magnus Back, Alistair McDonald, Carl Taylor, David Rusenko

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Advanced Recipe Analysis

Here we have a much more complicated recipe that implements a form of vacation service to inform senders that you are away and unable to reply to e-mails. At first thought this could be a simple non-delivering recipe to send a message back to all messages received; however, this is not ideal as some people may end up receiving multiple delivery confirmation messages and you may also end up sending messages back to system utilities that have no way of understanding your well-meant reply.

The example is based upon the "vacation example" from the Procmail procmailex manual page.

The vacation.cache file is maintained by formail. It maintains a vacation database by extracting the name of the sender and inserting it in the

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required