Name
SMTPDEBUG
Synopsis
The sendmail program allows the developer to turn on debugging and to print the queue from any remote site. This capability is useful for solving occasional problems but opens a potentially wide security hole.
In general, SMTPDEBUG should always be undefined. Later, when you become more expert with sendmail, you might want to have a standby version of sendmail ready (one with SMTPDEBUG defined), just in case you need it.
There is no debugging switch that will let you know whether a
precompiled version of sendmail had this
defined. Instead, you must run sendmail with
-bs, then issue the SHOWQ SMTP command. If that
command displays the mail queue, that precompiled
sendmail was built with SMTPDEBUG defined, and
so you should not use it!
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access