Difference: Mail-relatedFiles (17 vs. 18)

Revision 182019-09-30 - WilliamSeligman

Line: 1 to 1
 
META TOPICPARENT name="Mail"

Files that affect your mail

Line: 30 to 30
 

/a/mail/procmailrc/$user or ~/.procmailrc

Changed:
<
<
Procmail is a program that delivers your mail to your INBOX. You can create a file /a/mail/procmailrc/$user or ~/.procmailrc file to filter messages, automatically direct mail into certain folders, and other advanced operations.

There are two places where you can put a procmail command file: /a/mail/procmailrc/$user or ~/.procmailrc. The latter name is the standard location for a procmail file, and it's supported at Nevis. The former location is preferred, however, since the file will remain available to the mail server if your home directory becomes unavailable; e.g., if your group's server goes down.

Many mail readers (such as Thunderbird) have similar facilities. The advantages of using procmail are:

  • Procmail offers more flexibility than most mail readers. For example, most mail readers cannot send an e-mail in response to a particular message you receive; procmail can.

  • Procmail runs on the mail server, which means it operates on your e-mail as it receives it. A mail reader can only process your messages as it reads them off the server. In particular, if you read mail using more than one computer or more than one mail-reading program, you might want to put your mail filtering in procmail instead of duplicating that functionality on different machines and programs.

The disadvantage is, of course, complexity; procmail uses its own command language.

If you're interested in exploring procmail, I recommend the following resources:

If you have both files /a/mail/procmailrc/$user and ~/.procmail, the commands in both will be executed. Be careful! This is not the behavior of the forwarding files described above!

>
>
See the Procmail page for details.
 

~/.spamassassin/user_prefs

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback