Prev | Current Page 331 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"


4.8.2.4 The ForwardPath option
The ForwardPath option (?§24.9.52 on page 1034) lists a series of directories that sendmail
will searchfor user ~/.forward files. At most sites, there are users who are savvy
and able to correctly administer their own ~/.forward files, but there are others who
are untrained or careless. You can allow experienced users to use the ~/.forward facility,
while denying this ability to the others with the ForwardPath option:
O ForwardPath=/usr/local/etc/forwards/$u.forward:$z/.forward
Here, sendmail will first searchth e /usr/local/etc/forwards directory to find a file that
begins with the user??™s login name (the $u, ?§21.9.96 on page 848) followed by a
.forward. If you set up such a file for the untrained user??”say, bob:
-rw-r--r-- 1 root system 0 Dec 13 2002 /usr/local/etc/forwards/bob.forward
and if that file is empty, bob??™s mail will always be delivered locally, regardless of what
bob puts in his ~/.forward file. For experienced users, you can omit their files from
the /usr/local/etc/forwards directory, thus enabling them to use their own ~/.forward
files.
4.8.2.5 The LogLevel option
The sendmail program normally logs a great deal of useful information via syslog
(?§14.3.1 on page 514). There will be times, however, when the normal amount of
information is insufficient. Consider, for example, that some outsider is using your
site to forge mail.


Pages:
319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343
Wczasy nad morzem oferty spa Spa Ciechocinek kolokacja rack zamykanie naczynek bielsko