----- Original Message -----
From: "RALLS,CASEY (HP-Boise,ex1)" <[EMAIL PROTECTED]>
| I did not use life with qmail. I installed this qmail server on my own using
| the following programs.
|
| AutoResponder
| Courier-IMAP
| QMail
| QmailAdmin
| SQwebmail
| SpamAssassin
| Vpopmail
|
We use a similar setup, but have included maildrop
Caveat: spamc is run on per user configuration in our setup
and uses rules stored in a database.
we set up a pipe in the .qmail-default to use maildrop
and have maildrop use a filter file called filterfile
|maildrop filterfile
The filter file calls SA and well as do a couple of things
like check if the address is an alias or primary address
check for delivery to a spam folder if spam and in this
case it just deletes mail if the address is bad and checks
for any user defined filter rules
VPOP="/path/to/vpopmail/bin/vdelivermail '' delete"
VHOME=`/path/to/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
HAVESLASH=substr($VHOME,0,1)
HAVEALIAS=`/path/to/vpopmail/bin/valias [EMAIL PROTECTED]
PROCESS=0
if ( length($HAVEALIAS) > 1 )
{
PROCESS=1
}
if ( $HAVESLASH eq "/" )
{
PROCESS=1
}
if ( $PROCESS == 1 )
{
if ( $SIZE < 262144 )
{
exception {
xfilter "/usr/bin/spamc -f -u [EMAIL PROTECTED]"
}
}
#we have the ability to let the user autodelete
#spam instead of sending it to a folder (user choice).
if (/^X-Spam-Auto-Delete: AutoDelete/)
{
to "/dev/null"
}
else
{
if (/^Subject: \*\*\*\*\*SPAM\*\*\*\*\*/)
{
# try delivering it to a Spam folder
exception {
# to "$VPOP"
to "$VHOME/Maildir/.Spam/"
}
# just deliver if no spam folder
exception {
xfilter $VPOP
}
}
else
{
# not spam
exception {
include $VHOME/Maildir/.filterfile
}
Just the way we have it running
Greg