On Tuesday 29 July 2003 05:16, Scott wrote:
> /usr/lib/courier/bin/maildrop: Unable to filter message.
>
> Then I noticed that if I removed my maildroprc (which is there primarily
> for spamassassin filtering), the emails would be delivered and the
> testuser .mailfilter works.  However, I lose the ability to do universal
> filtering with maildrop.
>
> Short of putting spamassassin filter rules into every user's
> .mailfilter, how can I have both maildroprc universal filtering AND
> virtual user maildrop filters?  Or can I?

Yes, maildrop will run the instructions in the global maildroprc file AND it 
will run .mailfilter instructions for that user.  If removing the maildroprc 
file solved your problem then you need to check out that file.

Try this.  Put your "bad" maildroprc file back and then save a message to your 
hard drive.  Then manually run maildrop on this message with debugging turned 
on full (-V 9) and what what happens.  It should tell you where the error is.

I threw a bad line into my maildroprc file and then did this - here's what I 
got back

[EMAIL PROTECTED] tmp]$ maildrop -V 9  < msg
maildrop: Changing to /home/jeff
Message start at 0 bytes, envelope sender=jeff
Tokenized if
Tokenized regexp: /Subject: Helping/
/etc/courier/maildroprc(1): Syntax error after if
[EMAIL PROTECTED] tmp]$

So you see it caught my error and showed me (sort of) where it was.  See what 
errors it shows you.

Jeff Jansen




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to