RE: squirrelmail/sorting mail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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@xxxxxxxxxxx*
fedora

[snip]
-- 
* The Digital Hermit   http://www.digitalhermit.com
* Unix and Linux Solutions   kwan@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux