Hi Scott, Thanks for the quick reply. What do you mean by "apply to certain users?" If I add a line to a filter to the global.cfg file, it runs for everyone. So where in the filter file do I apply per-domain settings? For example, in the REMOTEIP code I was looking at, it seems the REMOTEIP test runs for everyone.
Perhaps this is connected to my earlier question: in the script I was looking at, the filter was given a name. Is there a use for this name? Here is the filter text I was looking at: LOCALCMDSPACE - SKIPIFWEIGHT 50 TESTSFAILED END NOTCONTAINS CMDSPACE REMOTEIP -1 CONTAINS 12.4.184. REMOTEIP -1 CONTAINS 12.4.185. REMOTEIP -1 CONTAINS 12.4.186. Thanks, Ben ----- Original Message ----- From: "R. Scott Perry" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 28, 2004 9:57 AM Subject: Re: [Declude.JunkMail] working with filters > > >I'm a little confused, mainly because I really haven't worked with filters. > >In reading the manual about filters, it seems you apply weights both inside > >the filter and in the filter file line in the global.cfg file. In the > >example given in the manual, weights are assigned to several tests (such as > >"HELO 8 CONTAINS localhost"), also to the file > >("C:\IMail\Declude\myfilter.txt x 5 0"). Does that mean a message failing > >this test gets a score of 13? > > Correct. > > >Second question: can you apply a filter file on a per-domain or per-user > >basis (assuming JM Pro)? The manual only talks about the global.cfg file. > > Yes and no. > > All tests in Declude JunkMail are global. So it is not possible to have a > test that will be run for just certain users. However, you can define the > filter, and have it only apply to certain users (by having the > per-user/per-domain settings take action for specific user(s) but not > others). If you do this, the test will still be run for everyone. > > -Scott > --- > Declude JunkMail: The advanced anti-spam solution for IMail mailservers > since 2000. > Declude Virus: Ultra reliable virus detection and the leader in mailserver > vulnerability detection. > Find out what you've been missing: Ask for a free 30-day evaluation. > > --- > [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)] > > --- > This E-mail came from the Declude.JunkMail mailing list. To > unsubscribe, just send an E-mail to [EMAIL PROTECTED], and > type "unsubscribe Declude.JunkMail". The archives can be found > at http://www.mail-archive.com. > --- [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)] --- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.JunkMail". The archives can be found at http://www.mail-archive.com.