When does procmail stop processing a RCFile?

When does procmail stop processing a RCFile?

If a delivering recipe is found to match, procmail considers the mail (you guessed it) delivered and will cease processing the rcfile after having successfully executed the action line of the recipe. If a non-delivering recipe is found to match, processing of the rcfile will continue after the action line of this recipe has been executed.

When to use a locallockfile in procmail?

A special case is if variablename is equal to ‘B’, ‘H’, ‘HB’ or ‘BH’; this merely overrides the default header/body search area defined by the initial flags on this recipe. To quote any of the above at the start of the line. If you put a second (trailing) ‘:’ on the first recipe line, then procmail will use a locallockfile (for this recipe only).

When to use multiple directories in procmail?

If the mailbox is specified to be an MH folder or maildir folder, procmail will create the necessary directories if they don’t exist, rather than treat the mailbox as a non-existent filename. When procmail is delivering to directories, you can specify multiple directories to deliver to (procmail will do so utilising hardlinks).

Which is the best way to write procmail?

The whole trick to Procmail is writing the .procmailrc file. However, to the beginner, the format may look like some magical incantation, so I’ll start with a small example (actually, an excerpt from my personal .procmailrc!) and walk through it.

Where does the action line start in procmail?

You can optionally specify the locallockfile to use; if you don’t however, procmail will use the destination filename (or the filename following the first ‘>>’) and will append $LOCKEXT to it. The action line can start with the following characters: ! Forwards to all the specified mail addresses.

What does the closing brace do in procmail?

The closing brace exists merely to delimit the block, it will not cause procmail to terminate in any way. If the end of a block is reached processing will continue as usual after the block. On a nesting block, the flags ‘H’ and ‘B’ only affect the conditions leading up to the block, the flags ‘h’ and ‘b’ have no effect whatsoever.

What does the first recipe in procmail do?

The first recipe that matches is used to determine where the mail has to go (usually a file). If processing falls off the end of the rcfile, procmail will deliver the mail to $DEFAULT . There are two kinds of recipes: delivering and non-delivering recipes.

Can you use procmail on a different system?

If you’re planning on using Procmail on a different system, you should consult your system administrator. You can find a link to the Procmail ftp site at the end of this file. Currently, these UMBC systems are already running Procmail.