procmailrc

来自「用python实现的邮件过滤器」· 代码 · 共 37 行

TXT
37
字号
MAILDIR=/home/cashew/popiel/MailHOME=/home/cashew/popiel# Classify message (up here so all copies have the classification):0fw:| /usr/bin/python2.2 $HOME/spambayes/active/spambayes/hammiefilter.py# And trust the classification:0Hc:* ^X-Spambayes-Classification: ham| /usr/bin/python2.2 $HOME/spambayes/active/spambayes/hammiefilter.py -g:0Hc:* ^X-Spambayes-Classification: spam| /usr/bin/python2.2 $HOME/spambayes/active/spambayes/hammiefilter.py -s# Save all mail for analysis:0c:everything/.# Block spam:0H:* ^Content-Type:.*text/htmlnewspam/.:0H:* ^X-Spambayes-Classification: spamnewspam/.# Put mail from myself in outbox:0H:* ^From:.*popiel\@wolfskeepoutbox/.# Everything else is presumably good:0:inbox/.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?