> SpamAssassin works great, but it does not filter mail by itself.  All it
> does is process the mail and add headers and possibly subject line
> modifications to indicate if the mail is spam or not.  If the mail is
> spam, then it is up to you to do something with it.  Take a look at the
> headers of your mail to see if SpamAssassin is filtering them.  If it
> is, then you should see some "X-Spam" headers.

Thank you for detailed filtering tips.
My problem is that i have no "X-Spam" headers.
I can test spamassassin from the command line (>spamassassin -D <
/usr/share/spamassassin/doc/spamassassin-3.0.3/sample-spam.txt)
spamd daemon is started, I have
DEFAULTDELIVERY="/usr/lib/courier/bin/maildrop" in courierd. Also, in
maildroprc, I've got
exception {
        xfilter "/usr/bin/spamc"
        }
there is no log activity related to spamassassin. What could have gone wrong?



> use Courier-pythonfilter with spamassassin filter. It works perfectly.
> HTH.
> Jerome Blion.

> From: Gordon Messmer <[EMAIL PROTECTED]>
> You may have to install "python-devel" or something like it.  I'm not 
> familiar with the package naming convention used by SuSE.

I managed to install Courier-pythonfilter. Thanks for the tips.
However, I can not do (>filterctl start pythonfilter). I can't find
filterctrl sript anywhere on the system. I think, it should be
installed with courier? It is not in the courier source i downoloaded
[courier-0.59.0] how do i start Courier-pythonfilter?


>> according to 
>> [http://wiki.apache.org/spamassassin/IntegratedInCourierUsingMaildrop],
>> I installed spamassassin. Spamd starts without errors, command-line
>> tests work. I set DEFAULTDELIVERY to "| /usr/bin/maildrop" in
>> etc/courier/courierd. Created /etc/courier/maildroprc with exception {
>> xfilter "/usr/bin/spamc" }
>> Is it all? There is no spamd activity in any of the logs.
>
> Yes, that should be all.  If that's not working, then you probably set up 
> your user database and specified the maildir for each user.
> Don't do that.
> The "maildir" field is a delivery instruction.  It overrides DEFAULTDELIVERY. 
>  If you specify a path in "maildir", you system doesn't use maildrop.
> Instead, create a directory for each user and specify it in the "home" field. 
>  Create a maildir named "Maildir" inside their home directory. Everything 
> will work the way you expect it to.

I have courier-authlib with authuserdb module. All users are virtual -
just lines in userdb, each pointing to a separate maildir:
muj     
uid=6000|systempw=xx|hmac-md5pw=xx|mail=/mail/vmail/muj|home=/mail/vmail/muj|gid=6000
Does this mean that DEFAULTDELIVERY will not work? Can i do something
else other than create a maildir named "Maildir" inside their home
directory and move all the messages? I have just a handfull of users,
but several GB of mail in many folders.
Thank You.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to