10 and later)
Before sendmail will read a user??™s ~/.forward file (?§13.8 on page 500), it will first check to
see that the directory it is in is safe. A safe directory in this instance is one whose path
components are writable only by root or by the owner. Beginning with V8.10, if the path is
unsafe, sendmail will print and log one of the following warnings and skip reading that file:
user... forward: /path: Group-writable directory
user... forward: /path: World-writable directory
Here, user is the user whose login directory probably has bad permissions set on it, and
path is the full path to the ~/.forward file. Note that many lines such as these will be
logged because sendmail tries variations with + and host-based suffixes when looking for a
~/.forward file (see also the ForwardPath option, ?§24.9.52 on page 1034). Also note that
these warnings will be logged even if the ~/.forward file does not exist.
Some circumstances might require you to allow users to maintain group-writable directories.
If you cannot avoid that risky situation, you can enable this item. With this
DontWarnForwardFileInUnsafeDirPath item enabled, you turn off only the logging. Note that
any unsafe forward files will still not be used.
24.9.39.4 DontBlameSendmail=ErrorHeaderInUnsafeDirPath
The ErrorHeader option (?§24.9.46 on page 1027) is used to (optionally) declare the name of
a file that contains the text of a message to include in bounced email messages.
Pages:
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800