Prev | Current Page 422 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"


6.6 Pitfalls
??? Prior to V8 sendmail, if the list of recipients contained an address that began
with any of the prescanned switches, sendmail would wrongly view that recipient
as a switchduring its prescan phase. For example, mail to joe, bill, -Cool
caused sendmail to try to use a file named ool as its configuration file.
??? Command-line switches must precede recipient addresses. Switches that are
mixed in with recipient names are treated as recipient addresses.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
6.7 Alphabetized Command-Line Switches | 231
??? Old versions of sendmail (including IDA and some versions of BSD) would syslog(
3) a warning if the old frozen configuration file didn??™t exist. The V8 and
SunOS versions of sendmail no longer check for a frozen configuration file, so
nothing is ever logged about this.
??? Prior to V8 sendmail, unknown command-line switches were silently ignored.
Therefore, sending mail from a shell script could fail for reasons that were difficult
to find. For example, specifying the preliminary hop count wrongly with -j,
instead of correctly with -h, caused your presetting of the hop count to be
silently ignored.
??? Some old BSD and SunOS versions of sendmail set the default sender??™s full name
from the environment variable NAME even when running as a daemon or when
processing the queue.


Pages:
410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434
wierszyki bajka Tango Olsztyn pozycjonowanie typy bukmacherskie