Debian Codegraph @

t/config/plugins

raw
1 #
2 # Example configuration file for plugins
3 #
4
5 # enable this to get configuration via http; see perldoc
6 # plugins/http_config for details.
7 # http_config http://localhost/~smtpd/config/ http://www.example.com/smtp.pl?config=
8
9 # hosts_allow does not work with the tcpserver deployment model!
10 # perldoc plugins/hosts_allow for an alternative.
11 #
12 # The hosts_allow module must be loaded if you want the -m / --max-from-ip /
13 # my $MAXCONNIP = 5; # max simultaneous connections from one IP
14 # settings... without this it will NOT refuse more than $MAXCONNIP connections
15 # from one IP!
16 hosts_allow
17
18 # information plugins
19 ident/geoip
20 ident/p0f /tmp/.p0f_socket version 3
21 connection_time
22
23 # enable to accept MAIL FROM:/RCPT TO: addresses without surrounding <>
24 dont_require_anglebrackets
25
26 # enable to reject MAIL FROM:/RCPT TO: parameters if client helo was HELO
27 # (strict RFC 821)... this is not used in EHLO ...
28 parse_addr_withhelo
29
30 quit_fortune
31 # tls should load before count_unrecognized_commands
32 #tls
33 earlytalker
34 count_unrecognized_commands 4
35 relay
36
37 resolvable_fromhost
38
39 rhsbl
40 dnsbl
41 badmailfrom
42 badmailfromto
43 badrcptto
44 helo
45
46 sender_permitted_from
47 greylisting p0f genre,windows
48
49 auth/auth_checkpassword checkpw /usr/local/vpopmail/bin/vchkpw true /usr/bin/true
50 auth/auth_vpopmail
51 auth/auth_vpopmaild
52 auth/auth_vpopmail_sql
53 auth/auth_flat_file
54 auth/authdeny
55
56 # this plugin needs to run after all other "rcpt" plugins
57 rcpt_ok
58
59 headers days 5 reject_type temp require From,Date
60 domainkeys
61 dkim
62 dmarc
63
64 # content filters
65 virus/klez_filter
66
67
68 # You can run the spamassassin plugin with options. See perldoc
69 # plugins/spamassassin for details.
70 #
71 spamassassin
72
73 # rejects mails with a SA score higher than 20 and munges the subject
74 # of the score is higher than 10.
75 #
76 # spamassassin reject_threshold 20 munge_subject_threshold 10
77
78 # dspam must run after spamassassin for the learn_from_sa feature to work
79 dspam learn_from_sa 7 reject 1
80
81 # run the clamav virus checking plugin
82 virus/clamav
83 virus/clamdscan
84
85 # You must enable a queue plugin - see the options in plugins/queue/ - for example:
86
87 # queue to a maildir
88 # queue/maildir /home/spamtrap/mail
89
90 # queue the mail with qmail-queue
91 queue/qmail-queue
92
93
94 # If you need to run the same plugin multiple times, you can do
95 # something like the following
96 # relay
97 # relay:0 somearg
98 # relay:1 someotherarg