On Tue March 8 2005 7:26 pm, mouss wrote:
> I have configured maildrop to put messages that are tagged as spam by
> spamassassin to a junk folder. I did this by looking for a
> /^X-Spam-Foo: YES/ match. however,
> - if the message is tagged as non-spam (or not tagged at all)
> - but it contains a matching line in the body (a forwarded spam part for
> instance)
>
> then the expression will match. Is there a way to only match message
> headers?
>
> if not, what's the correct way to check for that?

/^X-Spam-Foo: YES/:h

Places this could have been found:

http://courier.opensrc.org/index.php?page=SpamAssassinWithMaildrop
http://www.courier-mta.org/maildropfilter.html

jerry


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to