I wish to use SpamAssassin as sapm filter on my mailserver runnig courier-mta; I'm using unix accounts with separate Maildir's for each user.
I have set it up to use mailfilter, and this part seems to be working quite well.
I have created a local file .mailfilter in my homedirectory containing the following:
<----
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."
The mails are not delivered at all.
Can someone give me a hint what is misconfigured here?
Thanks in advance, Jens
------------------------------------------------------- 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
