22ca786bac
before we show our SMTP banner. (From Devin Carraway) Patch Qpsmtpd::SMTP to allow connect plugins to give DENY and DENYSOFT return codes. Based on patch from Devin Carraway. git-svn-id: https://svn.perl.org/qpsmtpd/trunk@133 958fd67b-6ff1-0310-b445-bb7760255be9
44 lines
850 B
Plaintext
44 lines
850 B
Plaintext
#
|
|
# 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=
|
|
|
|
quit_fortune
|
|
|
|
#check_earlytalker
|
|
require_resolvable_fromhost
|
|
|
|
rhsbl
|
|
dnsbl
|
|
check_badmailfrom
|
|
check_badrcptto
|
|
check_spamhelo
|
|
|
|
# this plugin needs to run after all other "rcpt" plugins
|
|
check_relay
|
|
|
|
# content filters
|
|
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
|
|
|
|
|
|
# run the clamav virus checking plugin
|
|
# clamav
|
|
|
|
# queue the mail with qmail-queue
|
|
queue/qmail-queue
|
|
|