×
(20) 秒後自動關閉廣告
×
【New Balance】 NB 復古運動鞋

使用mail時會用到的指令



Postfix & Sendmail 指令

Postfix

postqueue -p

顯示 mail queue 裡所有的信

-f

flush; 將卡在 mail queue 裡的信寄出
當問題已解決, 要重寄信時用的
postcat -q queue_id 顯示信件內容

postsuper [-d queue_id]

從 mail queue 刪除指定的 mail,
postsuper -d ALL 刪除全部

[-h queue_id]

扣住 mail 先不要寄,
解開用 postsuper [-H queue_id]

postfix reload

改完 main.cf, 讓設定檔生效

Sendmail

sendmail -q

將卡在 mail queue 裡的信寄出

mailq

顯示 mail queue 裡所有的信

sendmail 要刪除 queue 的 mail, 到 /var/spool/mqueue/
找到 queue_id 直接用 rm 刪除


來源:http://www.3music.net/blog/?p=36

留言

熱門文章