On Thu, Apr 22, 2004 at 03:13:44PM +0100, Graham Trott wrote:
On Thursday 22 April 2004 15:07, Chris Green wrote:
Do the spam mails actually have *exactly* the line:-
X-Bogosity: Yes, tests=bogofilter
in them? It's a standard RE match so unless the commas, spaces, etc. are exactly as specified you won't get a match. I think I'd reduce it to something like:-
* ^X-Bogosity: Yes
The lines do start with that string, though there's more on the line. I copy-pasted to be sure I had it right, but still nothing. I also tried exactly as you suggest, with no result.
In that case I haven't got any bright suggestions really, lines like that work OK in my .procmailrc file.
One thing that might be worth doing is to enable procmail logging and see if that tells you anything useful. Put a line like:-
LOGFILE=$HOME/pm.log
In your .procmailrc file and then watch the pm.log file.