📄 sendmail.0
字号:
SaveFromLine Save UNIX-style From lines at the front of mes- sages. MaxHopCount=_N The maximum number of times a message is allowed to ``hop'' before we decide it is in a loop. IgnoreDots Do not take dots on a line by themselves as a mes- sage terminator. SendMimeErrors Send error messages in MIME format. If not set, the DSN (Delivery Status Notification) SMTP exten- sion is disabled. ConnectionCacheTimeout=_t_i_m_e_o_u_t Set connection cache timeout. ConnectionCacheSize=_N Set connection cache size. LogLevel=_n The log level. $Date: 2000/09/07 21:14:00 $ 5SENDMAIL(8) SENDMAIL(8) MeToo=_F_a_l_s_e Don't send to ``me'' (the sender) if I am in an alias expansion. CheckAliases Validate the right hand side of aliases during a newaliases(1) command. OldStyleHeaders If set, this message may have old style headers. If not set, this message is guaranteed to have new style headers (i.e., commas instead of spaces between addresses). If set, an adaptive algorithm is used that will correctly determine the header format in most cases. QueueDirectory=_q_u_e_u_e_d_i_r Select the directory in which to queue messages. StatusFile=_f_i_l_e Save statistics in the named file. Timeout.queuereturn=_t_i_m_e Set the timeout on undelivered messages in the queue to the specified time. After delivery has failed (e.g., because of a host being down) for this amount of time, failed messages will be returned to the sender. The default is five days. UserDatabaseSpec=_u_s_e_r_d_a_t_a_b_a_s_e If set, a user database is consulted to get for- warding information. You can consider this an adjunct to the aliasing mechanism, except that the database is intended to be distributed; aliases are local to a particular host. This may not be avail- able if your sendmail does not have the USERDB option compiled in. ForkEachJob Fork each job during queue runs. May be convenient on memory-poor machines. SevenBitInput Strip incoming messages to seven bits. EightBitMode=_m_o_d_e Set the handling of eight bit input to seven bit destinations to _m_o_d_e: m (mimefy) will convert to seven-bit MIME format, p (pass) will pass it as eight bits (but violates protocols), and s (strict) will bounce the message. MinQueueAge=_t_i_m_e_o_u_t Sets how long a job must ferment in the queue $Date: 2000/09/07 21:14:00 $ 6SENDMAIL(8) SENDMAIL(8) between attempts to send it. DefaultCharSet=_c_h_a_r_s_e_t Sets the default character set used to label 8-bit data that is not otherwise labelled. DialDelay=_s_l_e_e_p_t_i_m_e If opening a connection fails, sleep for _s_l_e_e_p_t_i_m_e seconds and try again. Useful on dial-on-demand sites. NoRecipientAction=_a_c_t_i_o_n Set the behaviour when there are no recipient head- ers (To:, Cc: or Bcc:) in the message to _a_c_t_i_o_n: none leaves the message unchanged, add-to adds a To: header with the envelope recipients, add-appar- ently-to adds an Apparently-To: header with the envelope recipients, add-bcc adds an empty Bcc: header, and add-to-undisclosed adds a header read- ing `To: undisclosed-recipients:;'. MaxDaemonChildren=_N Sets the maximum number of children that an incom- ing SMTP daemon will allow to spawn at any time to _N. ConnectionRateThrottle=_N Sets the maximum number of connections per second to the SMTP port to _N. In aliases, the first character of a name may be a verti- cal bar to cause interpretation of the rest of the name as a command to pipe the mail to. It may be necessary to quote the name to keep sseennddmmaaiill from suppressing the blanks from between arguments. For example, a common alias is: msgs: "|/usr/bin/msgs -s" Aliases may also have the syntax ``:include:_f_i_l_e_n_a_m_e'' to ask sseennddmmaaiill to read the named file for a list of recipi- ents. For example, an alias such as: poets: ":include:/usr/local/lib/poets.list" 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 addresses making up the group. SSeennddmmaaiill returns an exit status describing what it did. The codes are defined in <_s_y_s_e_x_i_t_s_._h>: EX_OK Successful completion on all addresses. $Date: 2000/09/07 21:14:00 $ 7SENDMAIL(8) SENDMAIL(8) EX_NOUSER User name not recognized. EX_UNAVAILABLE Catchall meaning necessary resources were not available. EX_SYNTAX Syntax error in address. EX_SOFTWARE Internal software error, including bad arguments. EX_OSERR Temporary operating system error, such as ``cannot fork''. EX_NOHOST Host name not recognized. EX_TEMPFAIL Message could not be sent immediately, but was queued. If invoked as nneewwaalliiaasseess, sseennddmmaaiill will rebuild the alias database. If invoked as mmaaiillqq, sseennddmmaaiill will print the contents of the mail queue. If invoked as hhoossttssttaatt, sseenndd-- mmaaiill will print the persistent host status database. If invoked as ppuurrggeessttaatt, sseennddmmaaiill will purge expired entries from the persistent host status database. If invoked as ssmmttppdd, sseennddmmaaiill will act as a daemon, as if the --bbdd option were specified.NNOOTTEESS sseennddmmaaiill often gets blamed for many problems that are actually the result of other problems, such as overly per- missive modes on directories. For this reason, sseennddmmaaiill checks the modes on system directories and files to deter- mine if they can be trusted. Although these checks can be turned off and your system security reduced by setting the DDoonnttBBllaammeeSSeennddmmaaiill option, the permission problems should be fixed. For more information, see: _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_lFFIILLEESS Except for the file _/_e_t_c_/_m_a_i_l_/_s_e_n_d_m_a_i_l_._c_f itself the fol- lowing pathnames are all specified in _/_e_t_c_/_m_a_i_l_/_s_e_n_d_- _m_a_i_l_._c_f. Thus, these values are only approximations. /etc/mail/aliases raw data for alias names $Date: 2000/09/07 21:14:00 $ 8SENDMAIL(8) SENDMAIL(8) /etc/mail/aliases.db data base of alias names /etc/mail/sendmail.cf configuration file /etc/mail/helpfile help file /etc/mail/statistics collected statistics /var/spool/mqueue/* temp filesSSEEEE AALLSSOO binmail(1), mail(1), rmail(1), syslog(3), aliases(5), mailaddr(7), rc(8) DARPA Internet Request For Comments _R_F_C_8_1_9, _R_F_C_8_2_1, _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, SMM. http://www.sendmail.org/HHIISSTTOORRYY The sseennddmmaaiill command appeared in 4.2BSD. $Date: 2000/09/07 21:14:00 $ 9
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -