Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 85 lines (63 sloc) 2.137 kb
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
#
# Example configuration file for plugins
#

# enable this to get configuration via http; see perldoc
# plugins/http_config for details.
# http_config http://localhost/~smtpd/config/ http://www.example.com/smtp.pl?config=

# hosts_allow does not work with the tcpserver deployment model!
# perldoc plugins/hosts_allow for an alternative.
#
# The hosts_allow module must be loaded if you want the -m / --max-from-ip /
# my $MAXCONNIP = 5; # max simultaneous connections from one IP
# settings... without this it will NOT refuse more than $MAXCONNIP connections
# from one IP!
hosts_allow

# enable to accept MAIL FROM:/RCPT TO: addresses without surrounding <>
dont_require_anglebrackets

# enable to reject MAIL FROM:/RCPT TO: parameters if client helo was HELO
# (strict RFC 821)... this is not used in EHLO ...
# parse_addr_withhelo

quit_fortune
# tls should load before count_unrecognized_commands
#tls
check_earlytalker
count_unrecognized_commands 4
check_relay

require_resolvable_fromhost

rhsbl
dnsbl
check_badmailfrom
check_badrcptto
check_spamhelo

# sender_permitted_from
# greylisting p0f genre,windows

auth/auth_flat_file
auth/authdeny

# this plugin needs to run after all other "rcpt" plugins
rcpt_ok

check_basicheaders days 5 reject_type temp
domainkeys

# content filters
virus/klez_filter


# You can run the spamassassin plugin with options. See perldoc
# plugins/spamassassin for details.
#
spamassassin

# rejects mails with a SA score higher than 20 and munges the subject
# of the score is higher than 10.
#
# spamassassin reject_threshold 20 munge_subject_threshold 10

# dspam must run after spamassassin for the learn_from_sa feature to work
dspam learn_from_sa 7 reject 1

# run the clamav virus checking plugin
# virus/clamav

# You must enable a queue plugin - see the options in plugins/queue/ - for example:

# queue to a maildir
# queue/maildir /home/spamtrap/mail

# queue the mail with qmail-queue
# queue/qmail-queue


# If you need to run the same plugin multiple times, you can do
# something like the following
# check_relay
# check_relay:0 somearg
# check_relay:1 someotherarg
Something went wrong with that request. Please try again.