aboutsummaryrefslogtreecommitdiff
path: root/bogom.conf-example
blob: 354797da6ef29c4a4523b684ba48cb63c29e8fae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
#
# $Id$
#
# Example of bogom configuration
#

#
# policy (pass|reject|discard)
#
# default: policy pass

#
# reject "<text for the SMTP reply>"
#
# reject "We don't accept junk mail"
# reject "Spam pattern detected"
#
# default: empty
# (sendmail's default is: "Command rejected")

#
# subject_tag "<text to tag the subject>"
#
# subject_tag "*SPAM*"
# subject_tag "[spam detected]"
#
# default: empty

#
# verbose (0|1)
#
# default: verbose 0

#
# spamicity_header (0|1)
#
# default: spamicity_header 0

#
# bogofilter "<path to bogofilter binary>"
#
# default: bogofilter "/usr/local/bin/bogofilter"

#
# training (0|1)
#
# default: training 0

#
# body_limit <length in bytes>
#
# body_limit 16000 
# body_limit 64k
# body_limit 1m
#
# default: no limit

#
# user "<username to run the milter>"
#
# default: user "bogofilter"

#
# connection "<type>:<location>"
#
# default: connection "unix:/var/spool/bogofilter/milter.sock"

#
# pidfile "<path to milter pidfile>"
#
# default: pidfile "/var/spool/bogofilter/bogom.pid"

#
# exclude_string "<subject exclude string>"
#
# exclude_string "[no-bogofilter]"
# exclude_string "*no filter*"
# 
# default: empty

#
# forward_spam "<rcpt>"
#
# forward_spam "spammaster"
# forward_spam "spam@other.domain.com"
#
# default: empty

#
# quarantine_mdir "<path to maildir directory>"
#
# quarantine_mdir "/var/spool/bogofilter/spam.mdir"
#
# default: empty

#
# re_connection "<case insensitive extended re>"
#
# re_connection "192\.168\.0\."
# re_connection "openbsd\.org$"
#
# default: empty

#
# re_envfrom "<case insensitive extended re>"
#
# re_envfrom "\.usebox\.net>$"
# re_envfrom "@usebox\.net>$"
#
# default: empty

#
# re_envrcpt "<case insensitive extended re>"
#
# re_envrcpt "spamtrap@usebox\.net>$"
# re_envrcpt "ilikespam@"
#
# default: empty

# EOF