O'Reilly logo

Linux E-mail by Ralf Hildebrandt, Patrick Ben Koetter, Magnus Back, Ian Haycox, David Rusenko, Carl Taylor, Alistair McDonald

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 on 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 vacation.cache ...

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