[CentOS] Sort imap e-mail remotely
Morten Torstensen
morten at mortent.org
Thu Nov 1 09:13:22 UTC 2007
Christopher Chan wrote:
>> solution(maybe I'm search with the wrong keywords). I found fetchmail
>> & procmail, but I wasn't able to figure out if they can do it.
>>
>
> http://imapfilter.hellug.gr/
But then he needs to have imapfilter running. For automated sorting of
email I use procmail. Check with your ISP if they have set up delivery
to use procmail. Then you make a ~/.procmailrc with contents like this:
--------------------------------------------
LOGFILE=$HOME/procmail.log
VERBOSE=on
:0fw
| /usr/bin/spamc
:0D
* X-Spam-Flag:.*YES
Mail/Junk
:0D
* ^Subject:.*CentOS-announce
Mail/CentOS
:0D
* ^Subject:.*\[CentOS\]
Mail/CentOS
---------------------
//Morten
More information about the CentOS
mailing list