skip to content

System: procmail

 Tweet Share0 Tweets

System: procmail

Another insanely complex but very useful tool - not for the faint-hearted.

Filing mail for multiple addresses

If you have multiple email addresses that are used by different people for different purposes (ie. one for general use, one for friends, one for important clients, ...) you can use procmail to automatically place incoming messages into different folders for processing.

This will pick up all messages that are sent or copied to username@example.net and file them in the folder mailbox. Just repeat these commands for each of your addresses.

:0: * ^TO_username@example\.net folder

Note: TO_ is a macro defined internally in procmail

References

< System

Send a message to The Art of Web:


used only for us to reply, and to display your gravatar.

<- copy the digits from the image into this box

press <Esc> or click outside this box to close

Post your comment or question
top