squirrelmail/sorting mail
Kwan Lowe
kwan at digitalhermit.com
Wed Dec 31 17:37:29 UTC 2003
> Squirrelmail lets me define folders for mail, but how do I get the incoming
> mail sorted into those folders automatically? I'm using sendmail (smtp) to
> receive my mail rather than going through a pop3 server somewhere.
>
> This is Fedora Core 1 with Apache and squirrelmail as included with FC1.
I use procmail scripts in my home directory on the server. For example:
PATH= /usr/local/bin:/bin:/usr/bin
MAILDIR=$HOME/mail
LOGFILE=$HOME/tmp/procmail.log
VERBOSE=no
COMSAT=no
SENDMAIL=/usr/bin/faces.sendmail
:0fw
| spamassassin -P
:0:
* ^From.*Inet.*
caughtspam
:0:
* ^From.*Microsoft.*
caughtspam
:0:
* ^From.*fedora-list-request at redhat.com.*
fedora
[snip]
--
* The Digital Hermit http://www.digitalhermit.com
* Unix and Linux Solutions kwan at digitalhermit.com
More information about the users
mailing list