summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/qmail-mysql/files/tcp.qmtp.sample')
-rw-r--r--net-mail/qmail-mysql/files/tcp.qmtp.sample8
1 files changed, 8 insertions, 0 deletions
diff --git a/net-mail/qmail-mysql/files/tcp.qmtp.sample b/net-mail/qmail-mysql/files/tcp.qmtp.sample
new file mode 100644
index 000000000000..825c3f11f1c0
--- /dev/null
+++ b/net-mail/qmail-mysql/files/tcp.qmtp.sample
@@ -0,0 +1,8 @@
+# to update the database after changing this file, run:
+# tcprules /etc/tcp.qmtp.cdb /etc/.tcp.qmtp.tmp < /etc/tcp.qmtp
+# We trust QMTP connections just as SMTP by default
+# see /etc/tcp.smtp.rules 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