Jens Greven sagte:
> <----
> import HOME
> import SENDER
> import RECIPIENT
> xfilter "/usr/bin/spamassassin -t"
> if (/^X-Spam-Flag: *YES/)
> {
> to "Maildir/.Junk"
> }
> ---->
>
> This seems to work quite well.
>
> But when I remove the option "-t" I only get the following errors:
> At the first to be checked "Couldn't open ./Maildir: Is a directory at
> /usr/share/perl5/Mail/SpamAssassin/NoMailAudit.pm line 365."
> With every following mail I get the error "Could not lock ./Maildir:
> File exists at /usr/share/perl5/Mail/SpamAssassin/NoMailAudit.pm line
> 381."

Hmm ... This is not directly related to your problem, but why don't
you use spamc/spamd? This way, you don't call spamassassin directly
but a client that connects to a spamassassin daemon. You'll not only
get better performance (config files are only read once), it may also
solve your problem.

Anyway... On http://da.andaka.org/Doku/imapspamfilter.html I
documented a setup with SA, courier-mta/imap and maildrop on a Debian
box. Maybe it gives you a hint to your problem if you skip the imap
and sa-learn sections.

cu
 Dave KLiczbor



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to