PDA

View Full Version : Custom filter trouble...


MTDesigns
02-06-2008, 03:06 AM
Hi everyone,

I did some searching here and found a custom filter to add to sort out some spam emails I had been receiving here and there. So I set up a badsubj.txt file and added the custom filter to my main email address:

condredirect example@mydomain.com sh -c '822field subject | grep -qiFf "/big/dom/xmydomain/badsubj.txt"'

But now it seems that all emails received at my main email address are being forwarded to the example@mydomain.com email address as spam. At this time I only have 3 phrases in badsubj.txt, but I must not be doing something right. Any advice would be so very much appreciated! :) :)

sheila
02-06-2008, 03:08 AM
Do you have a blank line at the end of the badsubj.txt file?

I seem to recall that if you have a blank line anywhere in the file, that it will match all subjects and redirect all the emails.

MTDesigns
02-06-2008, 03:15 AM
Thanks Sheila,

But how do you not have a blank line at the end of your phrases?

MTDesigns
02-06-2008, 03:23 AM
Wow Sheila...I guess I had a blank line!! :yeah:

Thanks so much. :) :)

sheila
02-06-2008, 03:27 AM
Good deal. Glad you were able to work that out.
:D