- 论坛徽章:
- 0
|
我的英文太差了,查了maildrop的英文参考文档,指能看明白一点,希望大家可帮个忙。
以下是原文
Command substitution
Text enclosed in back-tick characters is interpreted as a shell command. The shell command is executed as a child process by maildrop. Its output is used in place of the command. For example:
DIR=`ls`
places the names of the files in the current directory into the DIR variable.
The output of the command will have all newline characters replaced by spaces, and leading and trailing spaces will be stripped (multiple spaces are not removed, though). Also, the contents of the message being delivered is made available to the command on standard input.
我在我的mailfilter文件里却发现无法执行命令,不知是什么原因。
我的.qmail文件如下:
- |/usr/local/bin/maildrop .mailfilter
复制代码
.mailfilter中有一条命令如下
或
都没有得到结果,希望不管大虾或小虾有知道的请帮个忙。 |
|