summaryrefslogtreecommitdiff
blob: 48f77ca4e44262f9d25e6973a443e1daa885de32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# to update the database after changing this file, run:
# tcprules /etc/tcprules.d/tcp.qmail-qmtp.cdb /etc/tcprules.d/.tcp.qmail-qmtp.tmp < /etc/tcprules.d/tcp.qmail-qmtp
# We trust QMTP connections just as SMTP by default
# see /etc/tcprules.d/tcp.qmail-smtp for more info
# allow relaying from localhost
127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD=""
# everybody else is not allowed to relay, and is subject to RBLSMTPD checks
:allow

# If you are using qmail-scanner, this line here is the correct one to use
# instead (comment out the above ':allow' line FIRST) and applies that script
# to any mail coming in that is not from a host allowed to relay. You can
# change the value of the variable to any other value you desire to use custom
# scripts for example.
#:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"