/[CCFs]/.procmailrc
ViewVC logotype

Annotation of /.procmailrc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Thu Apr 14 09:43:14 2005 UTC (19 years, 7 months ago) by ccflib
Branch: MAIN
Changes since 1.1: +5 -5 lines
corrected SPAM capture, folder wrong and syntax of rule was wrong as well

1 ccflib 1.2 # $Id: .procmailrc,v 1.1 2005/04/13 10:19:08 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     ! xmm-it@xmm.vilspa.esa.es
36    
37     :0:
38     ${INBOX}/.
39     }

  ViewVC Help
Powered by ViewVC 1.1.27