小智 7
看起来其他人已经回答了这个问题,但我想我会为你写下一个具体的答案。
我会使用 procmail 并在您的 .procmailrc 中使用类似于此的配方:
#turn this off when you're finished testing :)
VERBOSE=on
LOGFILE=/home/user/procmail.log
:0 c #the c means continue on after this recipe is parsed
| /path/to/your/script
Run Code Online (Sandbox Code Playgroud)
您还需要底部的默认配方来将邮件定向到您的 maildir。
归档时间: |
|
查看次数: |
27135 次 |
最近记录: |