f92e99bd9c
* plugins/rcpt_ok Split check_relay into two plugins * config/plugins Reorder plugins to take advantage of the new check_relay * lib/Qpsmtpd/Connection.pm Add support for relay_client() method * lib/Qpsmtpd/SMTP.pm Copy connection relay settings to transaction object when created * lib/Qpsmtpd/Auth.pm Use the connection->relay_client() instead of setting an env var git-svn-id: https://svn.perl.org/qpsmtpd/trunk@326 958fd67b-6ff1-0310-b445-bb7760255be9
55 lines
1.1 KiB
Plaintext
55 lines
1.1 KiB
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
|
|
count_unrecognized_commands 4
|
|
check_relay
|
|
|
|
require_resolvable_fromhost
|
|
|
|
rhsbl
|
|
dnsbl
|
|
check_badmailfrom
|
|
check_badrcptto
|
|
check_spamhelo
|
|
|
|
# sender_permitted_from
|
|
|
|
# this plugin needs to run after all other "rcpt" plugins
|
|
rcpt_ok
|
|
|
|
# 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
|
|
|
|
|
|
# run the clamav virus checking plugin
|
|
# virus/clamav
|
|
|
|
# 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
|