Set thoi gian báo lỗi mail trong postfix email
Ngày đăng:
09/12/2023
Trả lời:
0
Lượt xem:
22
SENDMAIL(1) SENDMAIL(1) NAME SYNOPSIS DESCRIPTION # alias%5Fdatabase) configuration parame- # default%5Fdatabase%5Ftype) configuration # inet%5Finterfaces) = loopback*" in # mail%5Fowner)* user. # multi%5Finstance%5Fdirectories) parame- # remote%5Fheader%5Frewrite%5Fdomain). # hopcount%5Flimit) configuration parameter # syslog%5Fname) configuration parameter # bounce%5Fsize%5Flimit) # queue%5Frun%5Fdelay) config- # default%5Fverp%5Fdelimiters) configu- # default%5Fverp%5Fdelimiters)- # default%5Fverp%5Fdelimiters) configuration parameter. # debug%5Fpeer%5Flist) and [debug_peer_level](https://www.postfix.org/postconf.5.htmldebug%5Fpeer%5Flevel) configuration parameters instead.
By design, this program is not set-user (or group) id. It is prepared
to handle message content from untrusted, possibly remote, users.
However, like most Postfix programs, this program does not enforce a
security policy on its command-line arguments. Instead, it relies on
the UNIX system to enforce access policies based on the effective user
and group IDs of the process. Concretely, this means that running Post-
fix commands as root (from sudo or equivalent) on behalf of a non-root
user is likely to create privilege escalation opportunities.
If an application runs any Postfix programs on behalf of users that do
not have normal shell access to Postfix commands, then that application
MUST restrict user-specified command-line arguments to avoid privilege
escalation.
**o** Filter all command-line arguments, for example arguments that
contain a pathname or that specify a database access method.
These pathname checks must reject user-controlled symlinks or
hardlinks to sensitive files, and must not be vulnerable to TOC-
TOU race attacks.
**o** Disable command options processing for all command arguments
that contain user-specified data. For example, the Postfix [**send-**](https://www.postfix.org/sendmail.1.html)
[**mail**(1)](https://www.postfix.org/sendmail.1.html) command line MUST be structured as follows:
**/path/to/sendmail** _system-arguments_ **--** _user-arguments_
Here, the "**--**" disables command option processing for all
_user-arguments_ that follow.
Without the "**--**", a malicious user could enable Postfix [**send-**](https://www.postfix.org/sendmail.1.html)
[**mail**(1)](https://www.postfix.org/sendmail.1.html) command options, by specifying an email address that
starts with "**-**".
Problems are logged to **syslogd**(8) or [**postlogd**(8)](https://www.postfix.org/postlogd.8.html), and to the standard
error stream.
**MAIL_CONFIG**
Directory with Postfix configuration files.
**MAIL_VERBOSE** (value does not matter)
Enable verbose logging for debugging purposes.
**MAIL_DEBUG** (value does not matter)
Enable debugging with an external command, as specified with the
**[debugger_command](https://www.postfix.org/postconf.5.html
**NAME** The sender full name. This is used only with messages that have
no **From:** message header. See also the **-F** option above.
The following [**main.cf**](https://www.postfix.org/postconf.5.html) parameters are especially relevant to this pro-
gram. The text below provides only a parameter summary. See [**post-**](https://www.postfix.org/postconf.5.html)
[**conf**(5)](https://www.postfix.org/postconf.5.html) for more details including examples.
Available with Postfix 2.9 and later:
**[sendmail_fix_line_endings](https://www.postfix.org/postconf.5.html
Controls how the Postfix sendmail command converts email message
line endings from The [DEBUG_README](https://www.postfix.org/DEBUG%5FREADME.html) file gives examples of how to troubleshoot a Postfix
system.
**[debugger_command](https://www.postfix.org/postconf.5.html
The external command to execute when a Postfix daemon program is
invoked with the -D option.
**[debug_peer_level](https://www.postfix.org/postconf.5.html
The increment in verbose logging level when a nexthop destina-
tion, remote client or server name or network address matches a
pattern given with the [debug_peer_list](https://www.postfix.org/postconf.5.html
**[debug_peer_list](https://www.postfix.org/postconf.5.html
Optional list of nexthop destination, remote client or server
name or network address patterns that, if matched, cause the
verbose logging level to increase by the amount specified in
$[debug_peer_level](https://www.postfix.org/postconf.5.html
|