Hello,
I've read that others sometimes have this problem too, but found no
solution...

In my courierd I have:
DEFAULTDELIVERY="| /usr/local/bin/maildrop"

I also have a maildroprc that uses Spamassassin:
PATH=/bin:/usr/bin:/usr/local/bin
INBOX="Maildir/"
DEFAULT="$INBOX"
SPAMFLD="$INBOX.Trash/"
SHELL=/usr/local/bin/bash

# create the trash directory if it does not exist
`test -d "$SPAMFLD"`
if( $RETURNCODE == 1 )
{
`maildirmake "$SPAMFLD"`
}

if ( $SIZE < 100000 )
{
  xfilter "/usr/local/bin/spamassassin"
  if ( /^X-Spam-Status: Yes,/)
  {
       DEFAULT="$SPAMFLD"
  }
}

-rw-r--r--  1 root  wheel     8180 Dec 23 11:24 courierd
-rw-r--r--  1 root  mailnull   423 Dec 23 12:02 maildroprc

My problem is that although the mail gets delivered fine the maildroprc
file doesnt seem to be read and the mail doesnt get filtered. I have no
.courier files in userdirs...

What can be the problem??? Help! =)

-- 
Richard




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to