File tcprules.smtpd of Package netqmail
# /etc/tcprules.smtpd
#
# This file specifies access rules for the smtp and qmtp daemons run through
# tcpserver. Its format is similar to hosts_access(5) by tcpd. See
# man tcprules for details.
#
# For actual use, this file must be converted into cdb format using the command
# tcprules </etc/tcprules.smtpd /etc/tcprules.smtpd.cdb /etc/tcprules.smtpd.tmp
#
# (C) 2011 Peter Conrad <conrad@quisquis.de>
#
# This file is licensed under the terms of the
# GNU General Public License Version 2. A copy of these terms should be
# enclosed as "gpl-2.0.txt" in the package containing this file.
# Allow relaying of mail from localhost
# IPv4 localhost
127.0.0.1:allow,RELAYCLIENT=""
# IPv6 localhost, requires patched ucspi-tcp
#::1:allow,RELAYCLIENT=""
# Allow anyone to send mail to us (but not relay mail through us)
:allow