|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: FILTER_README suggestions
From: Eray Aslan (eray.aslan
caf.com.tr)
Date: Fri Sep 01 2006 - 13:17:32 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, September 1, 2006 8:30 pm, Eray Aslan wrote:
> On Fri, September 1, 2006 7:40 pm, Wietse Venema wrote:
>> If you have examples to share, it will save me time.
>
> Here is a sample maildroprc file:
For the record, here is a working maildroprc file. Please disregard the
previous one.
maildirmake=/usr/bin/maildirmake
MAILDIR=$DEFAULT
JUNK_FOLDER=.Spam
_JUNK_DEST=$MAILDIR/$JUNK_FOLDER/
#automatically create the Junk folder
`test -d $_JUNK_DEST`
if ($RETURNCODE != 0 )
{
`$maildirmake $_JUNK_DEST`
# auto subscribe. the following works for courier-imap
`echo INBOX$JUNK_FOLDER >> $MAILDIR/courierimapsubscribed`
}
# Spam gets tagged with X-Spam-Flag
if ( /^X-Spam-Flag: YES/:h )
{
exception {
to "$_JUNK_DEST"
}
}
else
{
exception {
to "$MAILDIR/"
}
}
--
Eray
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]