sendmail的設定 - BBS

Table of Contents


在aliases裡我寫了
test: |/tmp/test
/tmp/test是一個shell
動作是ls > testok
我想這樣應該沒問題
可是寄信的結果卻會被退回 然後錯誤訊息如下

----- The following addresses had permanent fatal errors -----
|/tmp/test
(reason: 2)

----- Transcript of session follows -----
/tmp/test: cannot create testok: permission denied
554 5.3.0 unknown mailer error 2

請問一下 這樣是我有哪邊應該設定而沒設定的嗎??

--

All Comments