/[qa]/trunk/bin/mia-spam-filter
ViewVC logotype

Contents of /trunk/bin/mia-spam-filter

Parent Directory Parent Directory | Revision Log Revision Log


Revision 969 - (show annotations) (download)
Fri Apr 22 15:40:39 2005 UTC (8 years, 1 month ago) by jeroen
File size: 620 byte(s)
Specify lockfile for mia-record, otherwise procmail complains
1 #!/usr/bin/procmail
2
3 # Important note: this script has to be owned by 'qa' so it has the right
4 # write permissions!
5
6 :0
7 * !^Delivered-To: mia-
8 {
9 EXITCODE=1
10
11 # Not entirely clean (read: increadibly ugly), but procmail sucks, and
12 # couldn't get it to return a proper bounce :-/ --Jeroen
13 :0iw
14 | No such user;
15
16 # Oh, and the above doesn't even discard the message...
17 :0
18 /dev/null
19 }
20
21 :0fw
22 | spamassassin
23 # should be spamc once the daemon is running
24
25 :0
26 * ^X-Spam-Status: yes
27 /org/qa.debian.org/mbox/mia-spam
28
29 :0 c:
30 /org/qa.debian.org/mbox/mia
31
32 :0w: /org/qa.debian.org/mia/db/lock
33 | /org/qa.debian.org/mia/mia-record
34

Properties

Name Value
svn:eol-style native
svn:executable *
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.5