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

Re: [cobalt-users] IMAP serverside filters on a RAQ3



"Jimmy" <jimmy@xxxxxxxxxxxxxxx> wrote:
> I have used postfix and procmail to accomplish server-side filtering on
> a custom red-hat server.  But I built that one from the ground up, and
> my knowledge of sendmail is very limited.  Are there any docs available
> that discuss this possibility on a raq3?  Essentially, if anyone can
> just point me in the right direction I can (hopefully) take it from
> there.

Jimmy, there's really nothing special to know.  procmail is pre-installed on
your RaQ3.  Just make sure the user's directory isn't world-writable (it is
by default).  Something like chmod 711 userdir; chmod g+s userdir should do
the trick.  And no .forward file is needed, you just need a standard
.procmailrc file and whatever procmail rule files you want to setup.  Here's
a basic .procmailrc file that works.

SHELL=/bin/sh
VERBOSE=off
MAILDIR=$HOME/mail
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log
INCLUDERC=$PMDIR/rc.lists
INCLUDERC=$PMDIR/rc.forward
INCLUDERC=$PMDIR/rc.move
INCLUDERC=$PMDIR/rc.spambust

Google for one of the many procmail tutorials for more info, though if
you've done this on Red Hat you already know what you're doing.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/