Because this is done over an SMTP connection, it would be handy
to have both sides of all SMTP conversations logged. You can do this with the
LogLevel option (?§24.9.61 on page 1040):
O LogLevel=12 ?†? V8.8 and above configuration file
define(`confLOG_LEVEL??, 12) ?†? V8.8 and above mc configuration
Beginning withV8.8 sendmail, a level of 12 causes bothsides of every SMTP conversation
to be logged. That logging looks very similar to the logging produced by verbose
mode (?§1.7.6 on page 24).
Note that after changing the log level in your configuration file, you will need to
restart the daemon. With V8.7 and above sendmail you restart the daemon like this:
# kill -HUP `head -1 /etc/sendmail.pid`
Be aware that a log level of 12 produces a huge amount of output. Be prepared to
prune your logfiles more often than usual while running at this higher logging level.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
178 | Chapter 4: Maintain Security with sendmail
4.8.2.6 The PostmasterCopy option
The PostmasterCopy option (?§24.9.85 on page 1064) causes a copy of every bounced
message to be delivered to a named user. Usually, that user is the person who handles
email problems. But because clumsy intrusion attempts can result in bounced
mail, there will be times when bounced mail should also be delivered to the security
administrator.
Pages:
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344