Prev | Current Page 1742 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

If specified from the command line, it
can cause sendmail to relinquish its special privileges.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
990 | Chapter 24: The O (Options) Configuration Command
24.9.24 ConnectOnlyTo
Connect only to one specified host V8.10 and later
Sometimes it is necessary to test sendmail without allowing mail to be delivered or relayed
offsite. In the ideal test situation, it is preferable that the recipient and sender addresses are
not modified in the process. After all, one needs to be sure that all headers will be correct,
and that all necessary rule sets will be exercised.
The ConnectOnlyTo option provides just sucha service by allowing all mail to be relayed to a
single machine, regardless of how the mail is addressed. It is declared like this:
O ConnectOnlyTo=ipaddr ?†? configuration file (V8.10 and later)
-OConnectOnlyTo=ipaddr ?†? command line (V8.10 and later)
define(`confCONNECT_ONLY_TO??,`ipaddr??) ?†? mc configuration (V8.10 and later)
Here, ipaddr is the IP addresses of the target machine to which all mail will be delivered. It
must be given in the form of a dotted quad unless sendmail was compiled withNETINET6
(?§3.4.32 on page 126) defined, in which case you can specify an IPv6 address.
The ConnectOnlyTo option can be used when testing, and commented out otherwise.


Pages:
1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754
lampy ogrodowe określić zakłady bukmacherskie Wczasy nad morzem Gabi meble Warszawa