| 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 |
|