- 论坛徽章:
- 0
|
我已经按照procmail说明在用户temp1目录里面建立.forward和.procmailrc文件,并chmod 0700,想要实现给发送到temp1@sss.net.cn的邮件自动回复,并不保留该邮件。但是我配好了,为什么还没有效果?我还少什么操作?目前给temp1发送,没有任何反应。谢谢
.forward 内容:
"|IFS=' ' && exec /usr/bin/procmail -f-' 'exit 75 temp1"
.procmailrc 内容:
PATH=$HOME/bin: /usr/bin: /usr/ucb: /bin: /usr/local/bin:.
SHELL=/bin/sh
SENDMAIL=/usr/sbin/sendmail
:0
* !^FROM_DAEMON
* !^X-Loop: temp1@sss.net.cn
{
:0 h c
| (formail -r -A"X-Loop: temp1@sss.net.cn " ;
echo -e "I have recieved your mail." ) | $SENDMAIL -t
:0 c
/dev/null/
} |
|