[19203] | 1 | |
---|
| 2 | |
---|
| 3 | |
---|
| 4 | SENDMAIL(8) SENDMAIL(8) |
---|
| 5 | |
---|
| 6 | |
---|
| 7 | NNAAMMEE |
---|
| 8 | sendmail - an electronic mail transport agent |
---|
| 9 | |
---|
| 10 | SSYYNNOOPPSSIISS |
---|
| 11 | sseennddmmaaiill [_f_l_a_g_s] [_a_d_d_r_e_s_s _._._.] |
---|
| 12 | nneewwaalliiaasseess |
---|
| 13 | mmaaiillqq [--vv] |
---|
| 14 | hhoossttssttaatt |
---|
| 15 | ppuurrggeessttaatt |
---|
| 16 | ssmmttppdd |
---|
| 17 | |
---|
| 18 | DDEESSCCRRIIPPTTIIOONN |
---|
| 19 | SSeennddmmaaiill sends a message to one or more _r_e_c_i_p_i_e_n_t_s_, rout- |
---|
| 20 | ing the message over whatever networks are necessary. |
---|
| 21 | SSeennddmmaaiill does internetwork forwarding as necessary to |
---|
| 22 | deliver the message to the correct place. |
---|
| 23 | |
---|
| 24 | SSeennddmmaaiill is not intended as a user interface routine; |
---|
| 25 | other programs provide user-friendly front ends; sseennddmmaaiill |
---|
| 26 | is used only to deliver pre-formatted messages. |
---|
| 27 | |
---|
| 28 | With no flags, sseennddmmaaiill reads its standard input up to an |
---|
| 29 | end-of-file or a line consisting only of a single dot and |
---|
| 30 | sends a copy of the message found there to all of the |
---|
| 31 | addresses listed. It determines the network(s) to use |
---|
| 32 | based on the syntax and contents of the addresses. |
---|
| 33 | |
---|
| 34 | Local addresses are looked up in a file and aliased appro- |
---|
| 35 | priately. Aliasing can be prevented by preceding the |
---|
| 36 | address with a backslash. Beginning with 8.10, the sender |
---|
| 37 | is included in any alias expansions, e.g., if `john' sends |
---|
| 38 | to `group', and `group' includes `john' in the expansion, |
---|
| 39 | then the letter will also be delivered to `john'. |
---|
| 40 | |
---|
| 41 | PPaarraammeetteerrss |
---|
| 42 | --AAcc Use submit.cf even if the operation mode does not |
---|
| 43 | indicate an initial mail submission. |
---|
| 44 | |
---|
| 45 | --AAmm Use sendmail.cf even if the operation mode indi- |
---|
| 46 | cates an initial mail submission. |
---|
| 47 | |
---|
| 48 | --BB_t_y_p_e Set the body type to _t_y_p_e. Current legal values |
---|
| 49 | are 7BIT or 8BITMIME. |
---|
| 50 | |
---|
| 51 | --bbaa Go into ARPANET mode. All input lines must end |
---|
| 52 | with a CR-LF, and all messages will be generated |
---|
| 53 | with a CR-LF at the end. Also, the ``From:'' and |
---|
| 54 | ``Sender:'' fields are examined for the name of the |
---|
| 55 | sender. |
---|
| 56 | |
---|
| 57 | --bbdd Run as a daemon. SSeennddmmaaiill will fork and run in |
---|
| 58 | background listening on socket 25 for incoming SMTP |
---|
| 59 | connections. This is normally run from /etc/rc. |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | $Date: 2003-04-08 15:09:26 $ 1 |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | SENDMAIL(8) SENDMAIL(8) |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | --bbDD Same as --bbdd except runs in foreground. |
---|
| 74 | |
---|
| 75 | --bbhh Print the persistent host status database. |
---|
| 76 | |
---|
| 77 | --bbHH Purge expired entries from the persistent host sta- |
---|
| 78 | tus database. |
---|
| 79 | |
---|
| 80 | --bbii Initialize the alias database. |
---|
| 81 | |
---|
| 82 | --bbmm Deliver mail in the usual way (default). |
---|
| 83 | |
---|
| 84 | --bbpp Print a listing of the queue(s). |
---|
| 85 | |
---|
| 86 | --bbPP Print number of entries in the queue(s); only |
---|
| 87 | available with shared memory support. |
---|
| 88 | |
---|
| 89 | --bbss Use the SMTP protocol as described in RFC821 on |
---|
| 90 | standard input and output. This flag implies all |
---|
| 91 | the operations of the --bbaa flag that are compatible |
---|
| 92 | with SMTP. |
---|
| 93 | |
---|
| 94 | --bbtt Run in address test mode. This mode reads |
---|
| 95 | addresses and shows the steps in parsing; it is |
---|
| 96 | used for debugging configuration tables. |
---|
| 97 | |
---|
| 98 | --bbvv Verify names only - do not try to collect or |
---|
| 99 | deliver a message. Verify mode is normally used |
---|
| 100 | for validating users or mailing lists. |
---|
| 101 | |
---|
| 102 | --CC_f_i_l_e Use alternate configuration file. SSeennddmmaaiill refuses |
---|
| 103 | to run as root if an alternate configuration file |
---|
| 104 | is specified. |
---|
| 105 | |
---|
| 106 | --dd_X Set debugging value to _X. |
---|
| 107 | |
---|
| 108 | --FF_f_u_l_l_n_a_m_e |
---|
| 109 | Set the full name of the sender. |
---|
| 110 | |
---|
| 111 | --ff_n_a_m_e Sets the name of the ``from'' person (i.e., the |
---|
| 112 | envelope sender of the mail). This address may |
---|
| 113 | also be used in the From: header if that header is |
---|
| 114 | missing during initial submission. The envelope |
---|
| 115 | sender address is used as the recipient for deliv- |
---|
| 116 | ery status notifications and may also appear in a |
---|
| 117 | Return-Path: header. --ff should only be used by |
---|
| 118 | ``trusted'' users (normally _r_o_o_t, _d_a_e_m_o_n, and _n_e_t_- |
---|
| 119 | _w_o_r_k) or if the person you are trying to become is |
---|
| 120 | the same as the person you are. Otherwise, an X- |
---|
| 121 | Authentication-Warning header will be added to the |
---|
| 122 | message. |
---|
| 123 | |
---|
| 124 | --GG Relay (gateway) submission of a message, e.g., when |
---|
| 125 | rrmmaaiill calls sseennddmmaaiill .. |
---|
| 126 | |
---|
| 127 | |
---|
| 128 | |
---|
| 129 | |
---|
| 130 | $Date: 2003-04-08 15:09:26 $ 2 |
---|
| 131 | |
---|
| 132 | |
---|
| 133 | |
---|
| 134 | |
---|
| 135 | |
---|
| 136 | SENDMAIL(8) SENDMAIL(8) |
---|
| 137 | |
---|
| 138 | |
---|
| 139 | --hh_N Set the hop count to _N. The hop count is incre- |
---|
| 140 | mented every time the mail is processed. When it |
---|
| 141 | reaches a limit, the mail is returned with an error |
---|
| 142 | message, the victim of an aliasing loop. If not |
---|
| 143 | specified, ``Received:'' lines in the message are |
---|
| 144 | counted. |
---|
| 145 | |
---|
| 146 | --ii Ignore dots alone on lines by themselves in incom- |
---|
| 147 | ing messages. This should be set if you are read- |
---|
| 148 | ing data from a file. |
---|
| 149 | |
---|
| 150 | --LL _t_a_g Set the identifier used in syslog messages to the |
---|
| 151 | supplied _t_a_g. |
---|
| 152 | |
---|
| 153 | --NN _d_s_n Set delivery status notification conditions to _d_s_n, |
---|
| 154 | which can be `never' for no notifications or a |
---|
| 155 | comma separated list of the values `failure' to be |
---|
| 156 | notified if delivery failed, `delay' to be notified |
---|
| 157 | if delivery is delayed, and `success' to be noti- |
---|
| 158 | fied when the message is successfully delivered. |
---|
| 159 | |
---|
| 160 | --nn Don't do aliasing. |
---|
| 161 | |
---|
| 162 | --OO _o_p_t_i_o_n=_v_a_l_u_e |
---|
| 163 | Set option _o_p_t_i_o_n to the specified _v_a_l_u_e. This |
---|
| 164 | form uses long names. See below for more details. |
---|
| 165 | |
---|
| 166 | --oo_x _v_a_l_u_e |
---|
| 167 | Set option _x to the specified _v_a_l_u_e. This form |
---|
| 168 | uses single character names only. The short names |
---|
| 169 | are not described in this manual page; see the |
---|
| 170 | _S_e_n_d_m_a_i_l _I_n_s_t_a_l_l_a_t_i_o_n _a_n_d _O_p_e_r_a_t_i_o_n _G_u_i_d_e for |
---|
| 171 | details. |
---|
| 172 | |
---|
| 173 | --pp_p_r_o_t_o_c_o_l |
---|
| 174 | Set the name of the protocol used to receive the |
---|
| 175 | message. This can be a simple protocol name such |
---|
| 176 | as ``UUCP'' or a protocol and hostname, such as |
---|
| 177 | ``UUCP:ucbvax''. |
---|
| 178 | |
---|
| 179 | --qq[_t_i_m_e] |
---|
| 180 | Process saved messages in the queue at given inter- |
---|
| 181 | vals. If _t_i_m_e is omitted, process the queue once. |
---|
| 182 | _T_i_m_e is given as a tagged number, with `s' being |
---|
| 183 | seconds, `m' being minutes (default), `h' being |
---|
| 184 | hours, `d' being days, and `w' being weeks. For |
---|
| 185 | example, `-q1h30m' or `-q90m' would both set the |
---|
| 186 | timeout to one hour thirty minutes. By default, |
---|
| 187 | sseennddmmaaiill will run in the background. This option |
---|
| 188 | can be used safely with --bbdd. |
---|
| 189 | |
---|
| 190 | --qqpp[_t_i_m_e] |
---|
| 191 | Similar to --qq_t_i_m_e, except that instead of periodi- |
---|
| 192 | cally forking a child to process the queue, |
---|
| 193 | |
---|
| 194 | |
---|
| 195 | |
---|
| 196 | $Date: 2003-04-08 15:09:26 $ 3 |
---|
| 197 | |
---|
| 198 | |
---|
| 199 | |
---|
| 200 | |
---|
| 201 | |
---|
| 202 | SENDMAIL(8) SENDMAIL(8) |
---|
| 203 | |
---|
| 204 | |
---|
| 205 | sendmail forks a single persistent child for each |
---|
| 206 | queue that alternates between processing the queue |
---|
| 207 | and sleeping. The sleep time is given as the argu- |
---|
| 208 | ment; it defaults to 1 second. The process will |
---|
| 209 | always sleep at least 5 seconds if the queue was |
---|
| 210 | empty in the previous queue run. |
---|
| 211 | |
---|
| 212 | --qqf Process saved messages in the queue once and do not |
---|
| 213 | fork(), but run in the foreground. |
---|
| 214 | |
---|
| 215 | --qqG name |
---|
| 216 | Process jobs in queue group called _n_a_m_e only. |
---|
| 217 | |
---|
| 218 | --qq[_!]I substr |
---|
| 219 | Limit processed jobs to those containing _s_u_b_s_t_r as |
---|
| 220 | a substring of the queue id or not when _! is spec- |
---|
| 221 | ified. |
---|
| 222 | |
---|
| 223 | --qq[_!]R substr |
---|
| 224 | Limit processed jobs to those containing _s_u_b_s_t_r as |
---|
| 225 | a substring of one of the recipients or not when _! |
---|
| 226 | is specified. |
---|
| 227 | |
---|
| 228 | --qq[_!]S substr |
---|
| 229 | Limit processed jobs to those containing _s_u_b_s_t_r as |
---|
| 230 | a substring of the sender or not when _! is speci- |
---|
| 231 | fied. |
---|
| 232 | |
---|
| 233 | --RR _r_e_t_u_r_n |
---|
| 234 | Set the amount of the message to be returned if the |
---|
| 235 | message bounces. The _r_e_t_u_r_n parameter can be |
---|
| 236 | `full' to return the entire message or `hdrs' to |
---|
| 237 | return only the headers. In the latter case also |
---|
| 238 | local bounces return only the headers. |
---|
| 239 | |
---|
| 240 | --rr_n_a_m_e An alternate and obsolete form of the --ff flag. |
---|
| 241 | |
---|
| 242 | --tt Read message for recipients. To:, Cc:, and Bcc: |
---|
| 243 | lines will be scanned for recipient addresses. The |
---|
| 244 | Bcc: line will be deleted before transmission. |
---|
| 245 | |
---|
| 246 | --VV _e_n_v_i_d |
---|
| 247 | Set the original envelope id. This is propagated |
---|
| 248 | across SMTP to servers that support DSNs and is |
---|
| 249 | returned in DSN-compliant error messages. |
---|
| 250 | |
---|
| 251 | --vv Go into verbose mode. Alias expansions will be |
---|
| 252 | announced, etc. |
---|
| 253 | |
---|
| 254 | --XX _l_o_g_f_i_l_e |
---|
| 255 | Log all traffic in and out of mailers in the indi- |
---|
| 256 | cated log file. This should only be used as a last |
---|
| 257 | resort for debugging mailer bugs. It will log a |
---|
| 258 | lot of data very quickly. |
---|
| 259 | |
---|
| 260 | |
---|
| 261 | |
---|
| 262 | $Date: 2003-04-08 15:09:26 $ 4 |
---|
| 263 | |
---|
| 264 | |
---|
| 265 | |
---|
| 266 | |
---|
| 267 | |
---|
| 268 | SENDMAIL(8) SENDMAIL(8) |
---|
| 269 | |
---|
| 270 | |
---|
| 271 | ---- Stop processing command flags and use the rest of |
---|
| 272 | the arguments as addresses. |
---|
| 273 | |
---|
| 274 | OOppttiioonnss |
---|
| 275 | There are also a number of processing options that may be |
---|
| 276 | set. Normally these will only be used by a system admin- |
---|
| 277 | istrator. Options may be set either on the command line |
---|
| 278 | using the --oo flag (for short names), the --OO flag (for long |
---|
| 279 | names), or in the configuration file. This is a partial |
---|
| 280 | list limited to those options that are likely to be useful |
---|
| 281 | on the command line and only shows the long names; for a |
---|
| 282 | complete list (and details), consult the _S_e_n_d_m_a_i_l _I_n_s_t_a_l_- |
---|
| 283 | _l_a_t_i_o_n _a_n_d _O_p_e_r_a_t_i_o_n _G_u_i_d_e. The options are: |
---|
| 284 | |
---|
| 285 | AliasFile=_f_i_l_e |
---|
| 286 | Use alternate alias file. |
---|
| 287 | |
---|
| 288 | HoldExpensive |
---|
| 289 | On mailers that are considered ``expensive'' to |
---|
| 290 | connect to, don't initiate immediate connection. |
---|
| 291 | This requires queueing. |
---|
| 292 | |
---|
| 293 | CheckpointInterval=_N |
---|
| 294 | Checkpoint the queue file after every _N successful |
---|
| 295 | deliveries (default 10). This avoids excessive |
---|
| 296 | duplicate deliveries when sending to long mailing |
---|
| 297 | lists interrupted by system crashes. |
---|
| 298 | |
---|
| 299 | DeliveryMode=_x |
---|
| 300 | Set the delivery mode to _x. Delivery modes are `i' |
---|
| 301 | for interactive (synchronous) delivery, `b' for |
---|
| 302 | background (asynchronous) delivery, `q' for queue |
---|
| 303 | only - i.e., actual delivery is done the next time |
---|
| 304 | the queue is run, and `d' for deferred - the same |
---|
| 305 | as `q' except that database lookups for maps which |
---|
| 306 | have set the -D option (default for the host map) |
---|
| 307 | are avoided. |
---|
| 308 | |
---|
| 309 | ErrorMode=_x |
---|
| 310 | Set error processing to mode _x. Valid modes are |
---|
| 311 | `m' to mail back the error message, `w' to |
---|
| 312 | ``write'' back the error message (or mail it back |
---|
| 313 | if the sender is not logged in), `p' to print the |
---|
| 314 | errors on the terminal (default), `q' to throw away |
---|
| 315 | error messages (only exit status is returned), and |
---|
| 316 | `e' to do special processing for the BerkNet. If |
---|
| 317 | the text of the message is not mailed back by modes |
---|
| 318 | `m' or `w' and if the sender is local to this |
---|
| 319 | machine, a copy of the message is appended to the |
---|
| 320 | file _d_e_a_d_._l_e_t_t_e_r in the sender's home directory. |
---|
| 321 | |
---|
| 322 | SaveFromLine |
---|
| 323 | Save UNIX-style From lines at the front of mes- |
---|
| 324 | sages. |
---|
| 325 | |
---|
| 326 | |
---|
| 327 | |
---|
| 328 | $Date: 2003-04-08 15:09:26 $ 5 |
---|
| 329 | |
---|
| 330 | |
---|
| 331 | |
---|
| 332 | |
---|
| 333 | |
---|
| 334 | SENDMAIL(8) SENDMAIL(8) |
---|
| 335 | |
---|
| 336 | |
---|
| 337 | MaxHopCount=_N |
---|
| 338 | The maximum number of times a message is allowed to |
---|
| 339 | ``hop'' before we decide it is in a loop. |
---|
| 340 | |
---|
| 341 | IgnoreDots |
---|
| 342 | Do not take dots on a line by themselves as a mes- |
---|
| 343 | sage terminator. |
---|
| 344 | |
---|
| 345 | SendMimeErrors |
---|
| 346 | Send error messages in MIME format. If not set, |
---|
| 347 | the DSN (Delivery Status Notification) SMTP exten- |
---|
| 348 | sion is disabled. |
---|
| 349 | |
---|
| 350 | ConnectionCacheTimeout=_t_i_m_e_o_u_t |
---|
| 351 | Set connection cache timeout. |
---|
| 352 | |
---|
| 353 | ConnectionCacheSize=_N |
---|
| 354 | Set connection cache size. |
---|
| 355 | |
---|
| 356 | LogLevel=_n |
---|
| 357 | The log level. |
---|
| 358 | |
---|
| 359 | MeToo=_F_a_l_s_e |
---|
| 360 | Don't send to ``me'' (the sender) if I am in an |
---|
| 361 | alias expansion. |
---|
| 362 | |
---|
| 363 | CheckAliases |
---|
| 364 | Validate the right hand side of aliases during a |
---|
| 365 | newaliases(1) command. |
---|
| 366 | |
---|
| 367 | OldStyleHeaders |
---|
| 368 | If set, this message may have old style headers. |
---|
| 369 | If not set, this message is guaranteed to have new |
---|
| 370 | style headers (i.e., commas instead of spaces |
---|
| 371 | between addresses). If set, an adaptive algorithm |
---|
| 372 | is used that will correctly determine the header |
---|
| 373 | format in most cases. |
---|
| 374 | |
---|
| 375 | QueueDirectory=_q_u_e_u_e_d_i_r |
---|
| 376 | Select the directory in which to queue messages. |
---|
| 377 | |
---|
| 378 | StatusFile=_f_i_l_e |
---|
| 379 | Save statistics in the named file. |
---|
| 380 | |
---|
| 381 | Timeout.queuereturn=_t_i_m_e |
---|
| 382 | Set the timeout on undelivered messages in the |
---|
| 383 | queue to the specified time. After delivery has |
---|
| 384 | failed (e.g., because of a host being down) for |
---|
| 385 | this amount of time, failed messages will be |
---|
| 386 | returned to the sender. The default is five days. |
---|
| 387 | |
---|
| 388 | UserDatabaseSpec=_u_s_e_r_d_a_t_a_b_a_s_e |
---|
| 389 | If set, a user database is consulted to get for- |
---|
| 390 | warding information. You can consider this an |
---|
| 391 | |
---|
| 392 | |
---|
| 393 | |
---|
| 394 | $Date: 2003-04-08 15:09:26 $ 6 |
---|
| 395 | |
---|
| 396 | |
---|
| 397 | |
---|
| 398 | |
---|
| 399 | |
---|
| 400 | SENDMAIL(8) SENDMAIL(8) |
---|
| 401 | |
---|
| 402 | |
---|
| 403 | adjunct to the aliasing mechanism, except that the |
---|
| 404 | database is intended to be distributed; aliases are |
---|
| 405 | local to a particular host. This may not be avail- |
---|
| 406 | able if your sendmail does not have the USERDB |
---|
| 407 | option compiled in. |
---|
| 408 | |
---|
| 409 | ForkEachJob |
---|
| 410 | Fork each job during queue runs. May be convenient |
---|
| 411 | on memory-poor machines. |
---|
| 412 | |
---|
| 413 | SevenBitInput |
---|
| 414 | Strip incoming messages to seven bits. |
---|
| 415 | |
---|
| 416 | EightBitMode=_m_o_d_e |
---|
| 417 | Set the handling of eight bit input to seven bit |
---|
| 418 | destinations to _m_o_d_e: m (mimefy) will convert to |
---|
| 419 | seven-bit MIME format, p (pass) will pass it as |
---|
| 420 | eight bits (but violates protocols), and s (strict) |
---|
| 421 | will bounce the message. |
---|
| 422 | |
---|
| 423 | MinQueueAge=_t_i_m_e_o_u_t |
---|
| 424 | Sets how long a job must ferment in the queue |
---|
| 425 | between attempts to send it. |
---|
| 426 | |
---|
| 427 | DefaultCharSet=_c_h_a_r_s_e_t |
---|
| 428 | Sets the default character set used to label 8-bit |
---|
| 429 | data that is not otherwise labelled. |
---|
| 430 | |
---|
| 431 | DialDelay=_s_l_e_e_p_t_i_m_e |
---|
| 432 | If opening a connection fails, sleep for _s_l_e_e_p_t_i_m_e |
---|
| 433 | seconds and try again. Useful on dial-on-demand |
---|
| 434 | sites. |
---|
| 435 | |
---|
| 436 | NoRecipientAction=_a_c_t_i_o_n |
---|
| 437 | Set the behaviour when there are no recipient head- |
---|
| 438 | ers (To:, Cc: or Bcc:) in the message to _a_c_t_i_o_n: |
---|
| 439 | none leaves the message unchanged, add-to adds a |
---|
| 440 | To: header with the envelope recipients, add-appar- |
---|
| 441 | ently-to adds an Apparently-To: header with the |
---|
| 442 | envelope recipients, add-bcc adds an empty Bcc: |
---|
| 443 | header, and add-to-undisclosed adds a header read- |
---|
| 444 | ing `To: undisclosed-recipients:;'. |
---|
| 445 | |
---|
| 446 | MaxDaemonChildren=_N |
---|
| 447 | Sets the maximum number of children that an incom- |
---|
| 448 | ing SMTP daemon will allow to spawn at any time to |
---|
| 449 | _N. |
---|
| 450 | |
---|
| 451 | ConnectionRateThrottle=_N |
---|
| 452 | Sets the maximum number of connections per second |
---|
| 453 | to the SMTP port to _N. |
---|
| 454 | |
---|
| 455 | In aliases, the first character of a name may be a verti- |
---|
| 456 | cal bar to cause interpretation of the rest of the name as |
---|
| 457 | |
---|
| 458 | |
---|
| 459 | |
---|
| 460 | $Date: 2003-04-08 15:09:26 $ 7 |
---|
| 461 | |
---|
| 462 | |
---|
| 463 | |
---|
| 464 | |
---|
| 465 | |
---|
| 466 | SENDMAIL(8) SENDMAIL(8) |
---|
| 467 | |
---|
| 468 | |
---|
| 469 | a command to pipe the mail to. It may be necessary to |
---|
| 470 | quote the name to keep sseennddmmaaiill from suppressing the |
---|
| 471 | blanks from between arguments. For example, a common |
---|
| 472 | alias is: |
---|
| 473 | |
---|
| 474 | msgs: "|/usr/bin/msgs -s" |
---|
| 475 | |
---|
| 476 | Aliases may also have the syntax ``:include:_f_i_l_e_n_a_m_e'' to |
---|
| 477 | ask sseennddmmaaiill to read the named file for a list of recipi- |
---|
| 478 | ents. For example, an alias such as: |
---|
| 479 | |
---|
| 480 | poets: ":include:/usr/local/lib/poets.list" |
---|
| 481 | |
---|
| 482 | would read _/_u_s_r_/_l_o_c_a_l_/_l_i_b_/_p_o_e_t_s_._l_i_s_t for the list of |
---|
| 483 | addresses making up the group. |
---|
| 484 | |
---|
| 485 | SSeennddmmaaiill returns an exit status describing what it did. |
---|
| 486 | The codes are defined in <_s_y_s_e_x_i_t_s_._h>: |
---|
| 487 | |
---|
| 488 | EX_OK Successful completion on all addresses. |
---|
| 489 | |
---|
| 490 | EX_NOUSER |
---|
| 491 | User name not recognized. |
---|
| 492 | |
---|
| 493 | EX_UNAVAILABLE |
---|
| 494 | Catchall meaning necessary resources were not |
---|
| 495 | available. |
---|
| 496 | |
---|
| 497 | EX_SYNTAX |
---|
| 498 | Syntax error in address. |
---|
| 499 | |
---|
| 500 | EX_SOFTWARE |
---|
| 501 | Internal software error, including bad arguments. |
---|
| 502 | |
---|
| 503 | EX_OSERR |
---|
| 504 | Temporary operating system error, such as ``cannot |
---|
| 505 | fork''. |
---|
| 506 | |
---|
| 507 | EX_NOHOST |
---|
| 508 | Host name not recognized. |
---|
| 509 | |
---|
| 510 | EX_TEMPFAIL |
---|
| 511 | Message could not be sent immediately, but was |
---|
| 512 | queued. |
---|
| 513 | |
---|
| 514 | If invoked as nneewwaalliiaasseess, sseennddmmaaiill will rebuild the alias |
---|
| 515 | database. If invoked as mmaaiillqq, sseennddmmaaiill will print the |
---|
| 516 | contents of the mail queue. If invoked as hhoossttssttaatt, sseenndd-- |
---|
| 517 | mmaaiill will print the persistent host status database. If |
---|
| 518 | invoked as ppuurrggeessttaatt, sseennddmmaaiill will purge expired entries |
---|
| 519 | from the persistent host status database. If invoked as |
---|
| 520 | ssmmttppdd, sseennddmmaaiill will act as a daemon, as if the --bbdd option |
---|
| 521 | were specified. |
---|
| 522 | |
---|
| 523 | |
---|
| 524 | |
---|
| 525 | |
---|
| 526 | $Date: 2003-04-08 15:09:26 $ 8 |
---|
| 527 | |
---|
| 528 | |
---|
| 529 | |
---|
| 530 | |
---|
| 531 | |
---|
| 532 | SENDMAIL(8) SENDMAIL(8) |
---|
| 533 | |
---|
| 534 | |
---|
| 535 | NNOOTTEESS |
---|
| 536 | sseennddmmaaiill often gets blamed for many problems that are |
---|
| 537 | actually the result of other problems, such as overly per- |
---|
| 538 | missive modes on directories. For this reason, sseennddmmaaiill |
---|
| 539 | checks the modes on system directories and files to deter- |
---|
| 540 | mine if they can be trusted. Although these checks can be |
---|
| 541 | turned off and your system security reduced by setting the |
---|
| 542 | DDoonnttBBllaammeeSSeennddmmaaiill option, the permission problems should |
---|
| 543 | be fixed. For more information, see: |
---|
| 544 | |
---|
| 545 | _h_t_t_p_:_/_/_w_w_w_._s_e_n_d_m_a_i_l_._o_r_g_/_t_i_p_s_/_D_o_n_t_B_l_a_m_e_S_e_n_d_m_a_i_l_._h_t_m_l |
---|
| 546 | |
---|
| 547 | FFIILLEESS |
---|
| 548 | Except for the file _/_e_t_c_/_m_a_i_l_/_s_e_n_d_m_a_i_l_._c_f itself the fol- |
---|
| 549 | lowing pathnames are all specified in _/_e_t_c_/_m_a_i_l_/_s_e_n_d_- |
---|
| 550 | _m_a_i_l_._c_f. Thus, these values are only approximations. |
---|
| 551 | |
---|
| 552 | |
---|
| 553 | /etc/mail/aliases |
---|
| 554 | raw data for alias names |
---|
| 555 | |
---|
| 556 | /etc/mail/aliases.db |
---|
| 557 | data base of alias names |
---|
| 558 | |
---|
| 559 | /etc/mail/sendmail.cf |
---|
| 560 | configuration file |
---|
| 561 | |
---|
| 562 | /etc/mail/helpfile |
---|
| 563 | help file |
---|
| 564 | |
---|
| 565 | /etc/mail/statistics |
---|
| 566 | collected statistics |
---|
| 567 | |
---|
| 568 | /var/spool/mqueue/* |
---|
| 569 | temp files |
---|
| 570 | |
---|
| 571 | SSEEEE AALLSSOO |
---|
| 572 | binmail(1), mail(1), rmail(1), syslog(3), aliases(5), |
---|
| 573 | mailaddr(7), rc(8) |
---|
| 574 | |
---|
| 575 | DARPA Internet Request For Comments _R_F_C_8_1_9, _R_F_C_8_2_1, |
---|
| 576 | _R_F_C_8_2_2. _S_e_n_d_m_a_i_l _I_n_s_t_a_l_l_a_t_i_o_n _a_n_d _O_p_e_r_a_t_i_o_n _G_u_i_d_e, No. 8, |
---|
| 577 | SMM. |
---|
| 578 | |
---|
| 579 | http://www.sendmail.org/ |
---|
| 580 | |
---|
| 581 | HHIISSTTOORRYY |
---|
| 582 | The sseennddmmaaiill command appeared in 4.2BSD. |
---|
| 583 | |
---|
| 584 | |
---|
| 585 | |
---|
| 586 | |
---|
| 587 | |
---|
| 588 | |
---|
| 589 | |
---|
| 590 | |
---|
| 591 | |
---|
| 592 | $Date: 2003-04-08 15:09:26 $ 9 |
---|
| 593 | |
---|
| 594 | |
---|