The
ConnectOnlyTo option should not be confused with the nullclient or msp features, which
send all mail to a hostname that can use MX records, and thus is more versatile and does a
superior job of forwarding mail to a dedicated mail server.
An easy way to create a target for the ConnectOnlyTo option??™s setting that accepts all SMTP
mail, but logs and discards eachinbound piece, is to add the following to a new and separate
mc configuration file (don??™t change your main configuration file):
LOCAL_RULESETS
SLocal_check_rcpt
R$* $#discard
This setup will cause all inbound SMTP mail to be discarded. Logs will include lines that
look (in part) like this:
ruleset=check_rcpt, arg1=
, relay=host [addr], discard
If you set up a host this way, however, understand that you should probably use a setup
that is fully separate from the normal one. That way, user outbound email will still work.
The ConnectOnlyTo option is not safe. If specified from the command line, it can cause sendmail
to relinquish its special privileges.
24.9.25 ControlSocketName
Path to control socket V8.10 and later
Starting withV8.10, the sendmail daemon can accept a few control and status commands
via a Unix-based named socket. This interface is primarily intended for use with the tools
provided withth e commercial version of sendmail, but it can be equally valuable for use
with your own home-grown tools.
Pages:
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755