# # ".procmailrc" (procmail control file), template # for general use on Alcor. Anne Bennett, 2002/11/05 # # The name of this file will probably be # ~/.procmail/Main # where "~" is your home directory. # # Lines that begin with "#" are not used by procmail: # they are "comments". Blank lines are ignored by # procmail. The other lines control procmail's actions. # ------------ general definitions --------------------- # Setting the SHELL envariable explicitly is needed for # menushell users, since menushell is not a "command shell". # Change this only if you know what you are doing. SHELL=/local/paths/tcsh # Your main e-mail address; don't change this. ME=$LOGNAME@alcor.concordia.ca # No biffing. # You can set this to "yes" if you like to have incoming # mail notification for all messages; some folks get so # much mail that they turn off general biffing and cause # a notification explicitly for those few messages that # are likely to be important; see "beeping" below for a # much nicer "beeper". COMSAT=no # Go to and set the procmail directory. No change needed. MAILDIR=$HOME/.procmail # Where Pine mail will be filed. No change needed. PINEDIR=$HOME/mail # Where MH mail will be filed. No change needed. # (You may never use this if you don't use MH, but it # won't harm anything.) MHDIR=$HOME/Mail # Where to find your mail signature. You may need to change # this: make sure you make this point to your sigfile. SIGFILE=$HOME/.signature # Procmail logging. # Leave these off for regular operation, but remove the # comment ("#") character when you are testing, so you can # see in the log file exactly what happens. If you decide # to leave any logging on, put in a cron job to rotate the # log file, else you'll run over your disk quota! # #LOGFILE=$MAILDIR/LOG #LOGABSTRACT=all #VERBOSE=yes # ------------ fancy processing ------------------------ # System-wide spam-catcher. # If you want procmail to catch e-mail from known spammers, # removed the comment ("#") character from the line "spam/tag" # below. You must enable "spam/tag" to before you enable any of the # other spam files below. # #INCLUDERC=/local/etc/procmail/spam/tag # # "spam/tag-radical" casts a much broader net; there is a possibility # that it will tag non-spam mail if any is sent from "bad" sites. # Enable this at your own risk. # #INCLUDERC=/local/etc/procmail/spam/tag-radical # # "spam/tag-agis" implements the "Internet Death Penalty" against # the service provider AGIS, which hosts well-known spammers. # However, some innocents also get connectivity from AGIS, so # if you enable this, you are almost guaranteed to reject some # non-spam mail. Be very sure you know what you are doing if # you enable this one. # #INCLUDERC=/local/etc/procmail/spam/tag-agis # # "spam/tag-contents" filters mail based on the presence of # certain sentence fragments in the subject line and message # body. It is possible that it will catch some non-spam mail. # #INCLUDERC=/local/etc/procmail/spam/tag-contents # # If you want a complaint to be sent automatically to the spammer, # de-comment the "spam/reply" line. # #INCLUDERC=/local/etc/procmail/spam/reply # # Finally, if you want to never see the spam, de-comment "spam/delete". # #INCLUDERC=/local/etc/procmail/spam/delete # # If you don't want to delete it outright, but would rather just file # it in a separate folder, you can do something like the following, # by de-commenting these three lines instead of "spam/delete" above: # #:0 H : #* $ ^$trash_header #$PINEDIR/spamfolder # Personal jerk-catcher. # This file is for getting rid of annoying jerks. Please # obtain the "jerks" file from the Alcor Web site, and install # it according to the instructions. Edit it so it will catch # mail from the people who are annoying you. Then, turn on # your new jerk-catcher by "de-commenting" the line below. # #INCLUDERC=jerks # ------------ university-wide spam tagging ------------ # To refile messages tagged by the university-wide spam identification # system, "de-comment" (remove the leading "#" from) the lines below: #:0: #* ^X-CU-Spam: #$PINEDIR/spam # If you are an anti-spam guinea-pig, then "de-comment" these lines as # well to refile messages tagged by the software under test: #:0: #* ^X-CU-Test-Spam: #$PINEDIR/test-spam # To refile messages tagged by SpamAssassin spam score, "de-comment" # (remove the leading "#" from) the lines below: #:0: #* ^X-CU-Score-Spam: #$PINEDIR/score-spam # To refile messages tagged as coming from a spam source listed by a # DNSBL, "de-comment" (remove the leading "#" from) the lines below: #:0: #* ^X-CU-DNSBL: #$PINEDIR/dnsbl # ------------ more fancy processing ------------------- # If you write or obtain some more nifty mail processing # stuff, put the recipes in a file in your ".procmail" # directory, and include it here, by replacing "yourfile" # with the name of the file, and de-commenting the line. # You can have as many "INCLUDERC=" lines as you like. # #INCLUDERC=yourfile # ------------ vacation processing --------------------- # This section is designed to answer your mail when you # are away. To use it, you must first prepare your reply # message ".vacation.msg" on your home directory, and # initialize the "vacation database" by invoking the # command "vacation -I". See the "vacation" man page and # the Alcor Web pages for more information. Once you have # done all this, you can uncomment the two lines below: # #:0 c #| /usr/ucb/vacation $LOGNAME # ------------ default case ---------------------------- # Beeping (incoming mail notification). # If you have COMSAT=no above, you may want to enable # beeping for messages which were not automatically processed. # If so, de-comment this line: # #INCLUDERC=/local/etc/procmail/util/beep.no-test # Since this user prefers to use Eudora or Pine when possible, # send remaining mail to the usual mailbox. Remember to use # a colon after the zero to force procmail to use a lockfile # when writing to the mailbox. You probably won't need to # change this. If you use the MH mailer, you might replace # "$DEFAULT" below by a pipe calling "rcvstore". # :0 : $DEFAULT