PDA

View Full Version : (-17): error in filter file


hostpc.com
01-28-2004, 02:54 PM
Just had a client who setup a mail filter "clit$" - to filter out some of the porn thats floating through cyberspace, and we noticed a "bug".. thought you might be interested.


(-17): error in filter file: failed to expand "clit$" in filter file: $ not followed by letter, digit, or {


Seems anything that ends in a $ throws the error. I tried to use clit\$ and it still through the error.

Bug? Something to look into? Not really a big deal, just thought you might want to know.

Joe

DirectAdmin Support
01-29-2004, 10:22 AM
Thanks,

Added to versions system.

John

hostpc.com
01-29-2004, 10:36 AM
Also noted that the user created a list called $$$subscribe ... that didn't work well either ;)

panamaspace
04-08-2007, 06:07 AM
I just saw this error on a brand new server, fresh config.

A customer had a spam filter that ended in the "$" character, and exim threw errors for emails to their domain.

Perhaps this isn't fixed in newer versions?

R=domain_filter defer (-17): error in filter file: failed to expand "free \\$" in filter file: $ not followed by letter, digit, or {

Oddly, I had never seen this on the previous server. (The customer was restored from a backup from the old machine).

I deleted the filter which ended in $ and all is well.

Dennis
09-20-2008, 12:37 AM
Hi,

I recently hadthe same thing. The customer added the rule Block all e-mail containing the word: $ in the Spamfilter and the DA adds it in the list as: "//$" but then Exim does not handle the email well. It gives the error:


R=domain_filter defer (-17): error in filter file: failed to expand "US\\$" in filter file: $ not followed by letter, digit, or {


And then it stops to handle the email.

I still use Spamblocker 2.1.1 because Spamblocker 3 is still in Beta. Or is it an exim conf or .pl problem?

please let me know.

Regards,

Dennis

DirectAdmin Support
09-21-2008, 01:42 AM
Hello,

Can you paste us that line from your /etc/virtual/domain.com/filter file? I'm not able to duplicate the error with this:or $header_subject: contains "US\\$" or $message_headers contains "US\\$" or $message_body: contains "US\\$"I don't believe spamblocker is related to the issue... unless there is some option that changes how a filter behaves (I'm not aware of one)

John

Dennis
09-21-2008, 01:53 AM
Hi John,

I think the problem begins when you put the following line in Block all e-mail containing the word: "US$" or just the "$". The following line wil appear in the filter file of that domain:

or $header_subject: contains "US\\$" or $message_headers contains "US\\$" or $message_body: contains "US\\$"

or

or $header_subject: contains "\\$" or $message_headers contains "\\$" or $message_body: contains "\\$"

Hope this helps!

Regards,

Dennis

jlasman
09-22-2008, 08:00 PM
I don't believe spamblocker is related to the issue... unless there is some option that changes how a filter behaves (I'm not aware of one)
Not that I'm aware of either, and I wrote it :).
Jeff