/[CCFs]/.procmailrc
ViewVC logotype

Annotation of /.procmailrc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations)
Mon Jan 10 13:43:29 2011 UTC (13 years, 10 months ago) by ccflib
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
xmm.vilspa.esa.es replaced by xmm.esac.esa.int

1 ccflib 1.3 # $Id: .procmailrc,v 1.2 2005/04/14 09:43:14 ccflib Exp $
2 ccflib 1.1 #
3     # 2005-02-04 (EO)
4     #
5     VERBOSE=on
6     #LOGABSTRACT=all
7     #
8     MAILDIR=$HOME/Mail
9     TAG=`date +%Y-%m`
10     LOGFILE=$MAILDIR/procmail-$TAG.log
11     INBOX=$MAILDIR/inbox-$TAG
12     SPAM_INBOX=$MAILDIR/spam_inbox-$TAG
13     DUMMY=`test -d $INBOX || mkdir $INBOX`
14    
15     # first check for SPAM with SpamAssassin
16    
17     :0fw
18     | $HOME/bin/spamc
19    
20     # now, if the message is spam, store it in a special folder
21    
22     :0:
23     * ^X-Spam-Status: Yes
24 ccflib 1.2 $SPAM_INBOX
25 ccflib 1.1
26 ccflib 1.2 :0 D:
27     * ^Subject:.*SPAM
28     $SPAM_INBOX
29 ccflib 1.1
30     # if not spam, then reroute it to xmm-it and leave a local copy
31    
32     :0
33     {
34     :0 c
35 ccflib 1.3 ! xmm-it@xmm.esac.esa.int
36 ccflib 1.1
37     :0:
38     ${INBOX}/.
39     }

  ViewVC Help
Powered by ViewVC 1.1.27