安裝完 procmail 後,必須修改 sendmail.cf,該如何讓 sendmail 利用 procmail 來過濾信件?man 1 procmail 中有一段: ---------------------------------------------------------------------- Examples for rcfile recipes can be looked up in the procmailex(5) man page. A small sample rcfile can be found in the NOTES section below. Skip the rest of this EXAMPLES section unless you are a system adminis- trator who is vaguely familiar with sendmail.cf syntax. The -m option is typically used when procmail is called from within a rule in the sendmail.cf file. In order to be able to do this it is convenient to create an extra `procmail' mailer in your sendmail.cf file (in addition to the perhaps already present `local' mailer that starts up procmail). To create such a `procmail' mailer I'd suggest something like: Mprocmail, P=/usr/local/bin/procmail, F=mSDFMhun, S=11, R=21, A=procmail -m $h $g $...