From the manual:

 

6.10 Test Definitions

Tests are defined in the \{MAILSERVER}\Declude\global.cfg file. The format of a test definition is the name of the test, followed by the test type, followed by two test-specific pieces of information, followed by two weights: The weight that will be assigned to the test if an E-mail fails the test, and the weight that will be assigned if the E-mail does not fail the test (normally 0).

For example, the ORDB test might be defined as "ORDB ip4r relays.ordb.org 127.0.0.2 5 0". This would mean that the test named ORDB is an "ip4r" test type (for "dnsbl" style DNS lookups), using the zone relays.ordb.org, and looking for a result of 127.0.0.2. If an E-mail fails the test, the test would have a weight of 5; otherwise, it would have a weight of zero.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kyle Fisher
Sent: Monday, May 23, 2005 10:37 AM
To: [email protected]
Subject: RE: [Declude.JunkMail] Whitelist

Ok thanks.

 

Scott,

 

I looked through the Junkmail manual and can’t find an explanation of what   x 0 0   or   x x 0 0   actually stands for.  Can you explain or is there a document. 

 

Kyle

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Fisher
Sent: Monday, May 23, 2005 8:47 AM
To: [email protected]
Subject: Re: [Declude.JunkMail] Whitelist

 

The IPFile was right on.

If you wanted to use the filter type:

REMOTEIP -100 CIDR 208.191.89.0/24   would be the format.

----- Original Message -----

From: Kyle Fisher

Sent: Monday, May 23, 2005 8:26 AM

Subject: RE: [Declude.JunkMail] Whitelist

 

That worked and I also had to change filter to ipfile and in the Junkmail set to ignore instead of warn.

 

Thanks

 

Kyle

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt
Sent: Monday, May 23, 2005 12:27 AM
To: [email protected]
Subject: Re: [Declude.JunkMail] Whitelist

 

Try changing "0  -100" to "-100  0".  Right now you are subtracting 100 from anything that doesn't hit your whitelist filter.

Matt


Kyle Fisher wrote:

I am trying to find a way to whitelist certain Ip addresses by weight instead of just putting them in as WHITELIST  IP Address in the global.cfg.  I tried creating a file ip-whitelist.txt and putting in the addresses as follows

 

172.16.0.0/16                172.16.0.0/16

172.17.0.0/16                172.16.0.0/16

208.191.89.0/24             208.191.89.0./24

 

In the global.cfg I put in  IP-WHITELIST    filter    c:\imail\declude\filters\ip-whitelist.txt      x 0 -100

 

 

The problem is that it is adding the negative -100 weight to all emails coming in.  My server is in the 208.191.89.x network.  I’m sure I have my filter line in the global.cfg wrong and it is somehow whitleisting everything on the server.

 

Any ideas.

 

 

Kyle

 

-- 
=====================================================
MailPure custom filters for Declude JunkMail Pro.
http://www.mailpure.com/software/
=====================================================

Reply via email to