Files
webmin/postfix/help/opt_mailbox_command.zh.auto.html
2020-04-23 18:10:56 +03:00

1 line
1.1 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<header>使用外部命令代替邮箱传递</header><center> <tt>mailbox_command</tt> </center> <hr>此参数指定要使用的可选外部命令,而不是邮箱传递。该命令以具有正确<tt>HOME</tt> <tt>SHELL</tt><tt>LOGNAME</tt>环境设置的接收者身份运行。例外: <tt>root</tt>交付是通过<tt>$default_user</tt>完成的。 <p>感兴趣的其他环境变量: <tt>USER</tt> (收件人用户名), <tt>EXTENSION</tt> (地址扩展名), <tt>DOMAIN</tt> (地址的域部分)和<tt>LOCAL</tt> 地址localpart<p>与其他Postfix配置参数不同此参数不会进行参数替换。这样可以更轻松地指定shell语法请参见下面的示例<p>避免使用shell元字符因为它们会迫使Postfix运行昂贵的shell进程。仅<tt>Procmail</tt>就足够昂贵了。 <p>如果使用此工具在整个系统范围内分发邮件,则必须设置一个别名,该别名可以将邮件转发给真实用户。 <p>例子: <ul><li> <tt>/some/where/procmail</tt> <li> <tt>/some/where/procmail -a &quot;$EXTENSION&quot;</tt> </ul> <hr>