14 fetchmail

.fetchmailrc

poll hoge.hogehoge.com proto IMAP port 993
  username [ユーザ名]
  password [パスワード]
no flush
keep
folder INBOX.000
ssl
mda "/usr/bin/procmail"

振り分け設定

.procmailrc

PATH=/bin:/usr/bin:/usr/local/bin
MAILDIR=$HOME/Maildir
DEFAULT=$MAILDIR/
LOGFILE=$MAILDIR/procmaillog
LOCKFILE=$HOME/.lockmail

:0
* ^From:.*hoge@hogehoge.com
/dev/null

:0
$DEFAULT