1 # procmail spam handling
2 GOSA_SPAM="yes"
4 :0
5 * ! ^From:.*($addrlist)
6 * ! FROM_DAEMON
7 {
9 # Do not add extra headers. This saves external shell call
10 # (formail). Also do not try to kill the message content,
11 # again saving one external call (awk). With these, the
12 # recipe is faster and more CPU friendly.
13 PM_JA_UBE_HDR = ""
14 JA_UBE_ATTACHMENT_ILLEGAL_KILL = "no"
15 JA_UBE_FLAG_FROM_NSLOOKUP = "no"
17 INCLUDERC = \$PMSRC/pm-jaube.rc
19 # Variable "ERROR" is set if message was UBE, record error
20 # to log file with "()\/"
22 :0 :
23 * ERROR ?? ()\/[a-z].*
24 {
25 # Don't save those *.exe, *.zip UBE attachements
26 :0
27 * ERROR ?? Attachment-FileIllegal
28 /dev/null
30 :0 :
31 $spambox
32 }
33 }