[Mail]
如何在$HOME/.forward中调用一个应用程序?
如何在$HOME/.forward中调用一个应用程序? 我想做一个在mail服务器收到邮件时就能运行一个程序。
我想把这个程序加在$HOME/.forward中,写法如下: lijunlin, "|/usr/bin/hello lijunlin"
测试时提示如下错误:
----- The following addresses had permanent fatal errors -----
"|/usr/bin/hello "
(reason: Service unavailable)
(expanded from: <zhengshikai@sms.upsnet.com.cn>)
----- Transcript of session follows -----
smrsh: hello not available for sendmail programs
554 5.0.0 Service unavailable