GNU/Linux Desktop Survival Guide
by Graham Williams
We can specify exactly which emails we wish a recipe to apply to. We
do this for a recipe which will forward email on to another user, as
well as keeping a copy for ourselves:
:0 c * ^From.*abc.com ! firstname.lastname@example.org
With this recipe the recipe introduction uses the c flag to pass the email message on to following recipes as a carbon copy. Also, there is no trailing colon, so we are not requesting a lockfile for this recipe--in this case we don't need to use a lockfile because two instances of procmail will not interfere with each other when the action is to send the email on to someone else.
Copyright © 1995-2014 Togaware Pty Ltd