Prev | Current Page 56 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

The -q1h
command-line switchtells sendmail to wake up once per hour and process the
queue. Command-line switches are covered in Chapter 6 on page 220.
1.7 Basic Modes of sendmail
Besides the daemon mode (discussed earlier), sendmail can be run in a number of
other useful modes. In this section, we??™ll have a look at some of these. Others we??™ll
leave for later.
1.7.1 How to Run sendmail
One way to run sendmail is to provide it with the name of a recipient as the only
command-line argument. For example, the following sends a mail message to george:
% /usr/lib/sendmail george
Multiple recipients can also be given. For example, the following sends a mail message
to george, truman, and teddy:
% /usr/lib/sendmail george,truman,teddy
The sendmail program accepts two different kinds of command-line arguments.
Arguments that do not begin witha - character (such as george) are assumed to be
recipients. Arguments that do begin witha - character are taken as switches that
determine the behavior of sendmail. The recipients must always follow all the
switched arguments. Any switched arguments that follow recipients will be interpreted
as recipient addresses, potentially causing bounced mail.
In this chapter, we will cover only a few of these switch-style command-line arguments
(see Table 1-1). The complete list of command-line switches, along with an
explanation of each, is presented in Chapter 6 on page 220.


Pages:
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
wierszyki bajka Tango Olsztyn pozycjonowanie typy bukmacherskie