View Full Version : Filter a phrase?
terrymc
01-29-2004, 01:15 PM
Hi,
How do I filter a phrase? the filters says block a word, but I went ahead and entered "prescription drugs" without the quotes, but I still get messages with that phrase in it. I have checked the source of the messages and it is spelled exactly the same with no hidden characters or anything..
Also, is there any way to block on certain header information on the message?
DirectAdmin Support
01-30-2004, 10:17 AM
Hello,
Using a phrase *should* work fine, just remember that it's case sensitive.
If you want to see how the filter is setup (and you have access), just checkout your /etc/virtual/domain.com/filter file to see how it's been setup.
Some older versions of exim also only check the first 500 bytes of a message.. this can be increased with the "message_body_visible" variable in the /etc/exim.conf
Most of the filters do use header blocking of some form:
email filter: $header_from
domain filter: $header_from
word filter: $header_subject $header_body $message_body
John
interfasys
02-29-2004, 07:05 PM
Filters don't seem to work with domain names like mysisterandiwantyounow.com
Also message_body_visible is not in my exim.conf
Anything I can do to improve the situation?
interfasys
03-01-2004, 09:06 AM
Do we need to restart Exim for the newly entered filters to be applied?
If this is the case then the filters page should be reworked.
We would need an "Apply" button that users should push after having entered all of their filters. This button would restart Exim.
We would need a status button for the "block all adult content filter". Because right now it's impossible to know if it's enabled or not.
DirectAdmin Support
03-01-2004, 12:02 PM
Hello,
It's in the this version of the exim.conf:
http://files.directadmin.com/services/exim4.conf
It's set to 3000 there.
Exim doesn't need to be restarted when filter changes are made, they're read each time.
The adult filter status will say "Enable" if it's off, and "Disable" if it's on.. that is a bit confusing..
John
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.