Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Permanent listing in Greylist?
  FAQ FAQ  Forum Search   Register Register  Login Login

Permanent listing in Greylist?

 Post Reply Post Reply
Author
clator View Drop Down
Newbie
Newbie


Joined: 22 February 2007
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote clator Quote  Post ReplyReply Direct Link To This Post Topic: Permanent listing in Greylist?
    Posted: 05 February 2008 at 3:02pm
If there are a few servers I KNOW will be permanently good, is there a way to have them permanently added to the greylist, so they will not expire?
Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4065
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2008 at 5:38pm
SpamFilter stores the IPs that have been allowed to pass the greylist filter in the file:
\SpamFilter\Domains\GreyListAllowed.txt

The entries in that file are in the form:
aaa.bbb.ccc.ddd~nnnnn.ddddddddddd

where aaa.bbb.ccc.ddd is the IP address, and nnnnn.ddddddddddd is a decimal date value. For example:

116.0.23.200~39453.5492583796

The decimal date value indicates the number of days that have passed since 12/30/1899. The fractional part of the value is fraction of a 24 hour day that has elapsed.

SpamFilter will delete daily IPs whose date indicated above older than the number of days indicated in the following SpamFilter parameter (60 days by default):
GreyListAllowedHold=60

In theory you should be able to thus manually insert the IP you want in the GreyListAllowed.txt file, and assign it a date that is a few years in the future.  For example, adding 10 years would require adding 365x10=3650 to the value indicated:

116.0.23.200~39453.5492583796  plus 3650=
116.0.23.200~43103.5492583796

Finally, please note that SpamFilter will only load this file during startup, it does not support changes made to it while it is running. You thus need to stop SpamFilter before making any manual changes to it.
Roberto Franceschetti

LogSat Software

Spam Filter ISP
Back to Top
IKILLSPAM1 View Drop Down
Groupie
Groupie


Joined: 02 May 2007
Location: United States
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote IKILLSPAM1 Quote  Post ReplyReply Direct Link To This Post Posted: 06 February 2008 at 1:53pm

This doesnt appear to work. I stopped SFI from running. Opened greylistallowed.txt and inserted:

 
10.10.10.10~43103.5492583796   (not the real ip of course)
 
It seems to stay in the file for several minutes. Then when I re-check it, say 15minutes or so later, the entry is gone.
 
???


Edited by IKILLSPAM1 - 06 February 2008 at 1:54pm
Back to Top
StevenJohns View Drop Down
Senior Member
Senior Member


Joined: 03 August 2006
Status: Offline
Points: 119
Post Options Post Options   Thanks (0) Thanks(0)   Quote StevenJohns Quote  Post ReplyReply Direct Link To This Post Posted: 07 February 2008 at 5:57pm

it does work. but....

it seems that the following occurs.
 
1.  if the ip is already in the list, then SF deletes the one with the largest date...i.e. the one with the date set 10 years in the future.
2. SF re-orders the list so if you put your entry in the top of the list, start SF, then stop SF and look at the list....then your entry is no longer at the top where you put it.  It will be in the list, but it has been re-ordered alphabetically.
 
 
Back to Top
Desperado View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 January 2005
Location: United States
Status: Offline
Points: 1143
Post Options Post Options   Thanks (0) Thanks(0)   Quote Desperado Quote  Post ReplyReply Direct Link To This Post Posted: 07 February 2008 at 6:27pm
Steven,
 
I get the same results as "IkillSpam1".  After a few minuts, it goes away ... and I understand it sorts by ip.  The IP is actually removed from the list for me. AND, I only had one instance of the IP as I tested with a "fresh" IP address.  I will test yet again.
The Desperado
Dan Seligmann.
Work: http://www.mags.net
Personal: http://www.desperado.com

Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4065
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 07 February 2008 at 10:23pm
We were able to replicate the behavior. SpamFilter will remove any IPs where the difference in days between the date in the file and the current date is larger than the threshold. This deletion is thus triggered both for when this number of days is before or after the current date, so specifying a date in the future over 60 days from now will ge deleted...

While this is not technically a bug, as SpamFilter is correctly removing old entries... we do see that it would be desirable to be able to specify dates in the future so the entries are not removed. We'll have this behavior changed in the next build available in a few days.
Roberto Franceschetti

LogSat Software

Spam Filter ISP
Back to Top
StevenJohns View Drop Down
Senior Member
Senior Member


Joined: 03 August 2006
Status: Offline
Points: 119
Post Options Post Options   Thanks (0) Thanks(0)   Quote StevenJohns Quote  Post ReplyReply Direct Link To This Post Posted: 08 February 2008 at 4:04am
Dan,
 
You are right, I had a loo this morning and the IP has been deleted.
 
I did test this yesterday by starting and stopping SF several times and the IP was still there, so I assume there is a timer which goes away and deletes the IP's and I hadn't waited for the timer to fire.
 
Roberto has said he will change this in the next release...so problem sorted...nearly.  :)
 
 
Back to Top
IKILLSPAM1 View Drop Down
Groupie
Groupie


Joined: 02 May 2007
Location: United States
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote IKILLSPAM1 Quote  Post ReplyReply Direct Link To This Post Posted: 11 February 2008 at 4:52pm
Oh good, so I guess I was right too! lol
Back to Top
clator View Drop Down
Newbie
Newbie


Joined: 22 February 2007
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote clator Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2008 at 1:53pm
Thanks for all the replies, folks.  Can't wait for the next build.  I'll try to apply any changes then.  Will there be anything related to all the various greylist switches (including this one) in the interface, or will it only be in the .ini file?  I could envision a greylist tab with all the various settings, just like we have for the white/black lists.
Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4065
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 21 February 2008 at 10:36pm
We were waiting to receive at least one bug report so we could also release a fix in addition to this new feature... But in the last weeks there haven't been any issues reported :-)

After one of you guys "pinged" us by email today :-) we’ve thus opted to release build 773 in the registered user area today which only adds this requested feature to the official 772 release.
Roberto Franceschetti

LogSat Software

Spam Filter ISP
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.094 seconds.