⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 procmail.rc

📁 这是一个从音频信号里提取特征参量的程序
💻 RC
字号:
# A SAMPLE .PROCMAILRC FILE FOR NOVICES# Written by Catherine Hampton <ariel@spambouncer.org># Version 1.5# Updated 11/10/01## Released to the Public Domain.### SET VARIABLES# Internal VariablesSHELL=/bin/sh               #Shell used to run procmail.  Be sure this points to                            #your system's copy of sh.  DO NOT substitute a                            #different shell unless you really know UNIXLINEBUF=4096                #Needed to keep Procmail from choking on long                            #"recipes", or instructions on what to do with                            #particular kinds of email.PATH=$HOME/bin:/bin:/usr/bin:/usr/local/bin                            #Path for your programs -- this is probably best                            #left alone.VERBOSE=off                 #Change this to "on" when you try a new recipe                            #so that Procmail will log literally every step                            #it takes.  DO NOT LEAVE IT ON, though, because                            #it creates huge logfiles.# Default Program & file locationsMAILDIR=${HOME}/Mail              #you'd better make sure this directory existsDEFAULT=/var/mail/yourlogin       #Your default incoming mailbox.  Change "yourlogin"                                  #to your login name.ADMINFOLDER=${MAILDIR}/admin.incoming  #for bounced mail, mail from root,                                     #postmaster, abuse, etc. Change this to                                     #${DEFAULT} if you use                                     #Eudora, Pegasus Mail, Netscape, Internet                                     #Explorer, or another Windows- or Mac-based                                     #POP email program.BULKFOLDER=${MAILDIR}/bulk.incoming    #for bulk mail which appears legitimate, such                                     #as mail from mailing lists or mail sent using                                     #Bcc:  Change this to ${DEFAULT} if you use                                     #Eudora, Pegasus Mail, Netscape, Internet                                     #Explorer, or another Windows- or Mac-based                                     #POP email program.LOGFILE=${MAILDIR}/log        #Logs message disposition.  Recommended -- otherwise                              #errors are emailed to you. :/FORMAIL=/usr/local/bin/formail #Needed for autoreply recipes.  Modify this to                               #your system's copy of formail.SENDMAIL=/usr/sbin/sendmail    #useful for autoreply recipes.  Modify this to point                               #to your system's copy of sendmail.# SpamBouncer settings## You can ignore these if you aren't installing the SpamBouncer.# If you are installing the SpamBouncer, PLEASE BE SURE TO READ# the installation instructions at <http://www.spambouncer.org/>.ALTFROM=otheremail@othersite.com     #An alternate email address which doesn't                                     #show your normal email address, so that                                     #spammers don't get your usual email address                                     #from complaints.  (Some spammers will mailbomb                                     #you or otherwise cause trouble.)                                     #I recommend opening a free email                                     #account at Yahoo or somewhere else and                                     #checking it occasionally to be sure nothing                                     #you want is sent there.BLOCKFOLDER=${MAILDIR}/block.incoming  #for suspicious mail, but possibly not spamBLOCKREPLY=SILENT                    #SILENT tells the SpamBouncer to just filter                                     #blocked email, and not reply to it.                                     #NOTIFY tells the SpamBouncer to tell the                                     #sender that his/her email was blocked, and                                     #tells them how to bypass the filter if their                                     #email is legitimate.BYPASSWD=zeugma                      #Password that allows people who send you                                     #legitimate email, but whose email is                                     #blocked for some reason by the Spam Bouncer,                                     #to bypass the SpamBouncer.FREEMAIL=INTERNAL                    #Tells the SpamBouncer whether to filter                                     #email from sites which offer free email                                     #addresses, and which list to use.MYEMAIL=${HOME}/.myemail             #Tells the SpamBouncer all email addresses that                                     #belong to you.  Useful for distinguishing personal                                     #from bulk email.NOBOUNCE=${HOME}/.nobounce           #Tells the SpamBouncer where your NOBOUNCE                                     #file is located.NOLOOP=${ALTFROM}                    #Setting for email address used in X-Loop:                                     #header, a header which should prevent                                     #mailing loops.  Leave this alone unless                                     #you know what you're doing.PATTERNMATCHING=SILENT               #Enables the SpamBouncer's Pattern Matching                                     #filter.  NONE disables the filter; SILENT                                     #causes it to filter out suspected spam                                     #but not notify the senders; NOTIFY causes it                                     #to both filter out suspected spam and notify                                     #the sender exactly as for other blocked email.SBDIR=${HOME}/procmail               #Directory where SpamBouncer program files                                     #are located.  Edit this to point to that                                     #directory on your system.SPAMFOLDER=${MAILDIR}/spam.incoming  #change this to SPAMFOLDER=/dev/null                                     #to delete spam entirely.SPAMREPLY=SILENT                     #SILENT tells the SpamBouncer to filter spam,                                     #but not attempt to autocomplain about it.                                     #BOUNCE tells the SpamBouncer to send a                                     #"MAILER-DAEMON" bounce message to the spammer.                                     #COMPLAIN tells the SpamBouncer to send an                                     #autocomplaint to the spammer's postmaster and                                     #upstream sites.  BOTH tells the SpamBouncer to                                     #send both a bounce to the sender and complain                                     #to the spammer's postmaster.# BEGIN RECIPES# Create a backup cache of 100 most recent messages in case of mistakes:0 cbackup  :0 ic  | cd backup && rm -f dummy `ls -t msg.* | sed -e 1,100d`# Regenerate "From" lines to make sure they are valid:0 fhw| formail -I "From " -a "From "# MAILING LISTS# Filter out mail from all mailing lists you are on =before= spam# filtering.  I included two I subscribe to and recommend highly, but# your list will doubtless be different.  Just duplicate the recipe# for each mailing list you are on, and put the correct address for# the list in the condition statement.  (The "* ^TO" part.)# List Mom mail (GREAT list for mailing list managers):0:* ^TOlistmom-talk@skyweyr.com| ${FORMAIL} -A"X-Folder: Bulk" >>${BULKFOLDER}# Procmail list (Wonderful for new Procmail users!):0:* ^TOprocmail@Informatik.RWTH-Aachen.DE| ${FORMAIL} -A"X-Folder: Bulk" >>${BULKFOLDER}# Call the SpamBouncer to filter remaining mail for spam.  Comment out# the first INCLUDERC below and uncomment the second if you are using# the beta test version of the SpamBouncer.INCLUDERC=${SBDIR}/sb.rc#INCLUDERC=${SBDIR}/sb-new.rc# Sort out mail that really is to you from mail Bcc'd to you, or mail# which doesn't have any of your email addresses on the To: or Cc: line.# For this to work properly, you must create a text file named .myemail# in your home directory and enter all email addresses that belong to# you in it, one per line, just as you do with your .nobounce file.## This does =wonders= in keeping spam from appearing in your personal# mail. :)## Substitute your shell account email address, custom domain, and any other email# address you may have for the entries below.:0:* ? test -f ${MYEMAIL} && \    (${FORMAIL} -zxTo: -zxCc: |\    fgrep -i -f ${MYEMAIL})| ${FORMAIL} -A"X-Folder: Default" >>${DEFAULT}# Deliver email which passed spam filtering, but which wasn't sent to# a recognizable personal email address of yours, to your "bulk mail"# folder, for reading on a less-urgent basis.:0:| ${FORMAIL} -A"X-Folder: Bulk" >>${BULKFOLDER}# Done :)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -