Permanent listing in Greylist? |
Post Reply ![]() |
Author | |
clator ![]() Newbie ![]() Joined: 22 February 2007 Location: United States Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() 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?
|
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
|
IKILLSPAM1 ![]() Groupie ![]() Joined: 02 May 2007 Location: United States Status: Offline Points: 70 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
StevenJohns ![]() Senior Member ![]() Joined: 03 August 2006 Status: Offline Points: 119 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
Desperado ![]() Senior Member ![]() ![]() Joined: 27 January 2005 Location: United States Status: Offline Points: 1143 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
|
StevenJohns ![]() Senior Member ![]() Joined: 03 August 2006 Status: Offline Points: 119 |
![]() ![]() ![]() ![]() ![]() |
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. :)
|
|
![]() |
|
IKILLSPAM1 ![]() Groupie ![]() Joined: 02 May 2007 Location: United States Status: Offline Points: 70 |
![]() ![]() ![]() ![]() ![]() |
Oh good, so I guess I was right too! lol
|
|
![]() |
|
clator ![]() Newbie ![]() Joined: 22 February 2007 Location: United States Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.160 seconds.