Discussion:
[Greylist-users] Is it Possible to NOT use client_ip?
Rob Morin
2007-11-29 14:21:28 UTC
Permalink
My first post to this list, please be gentle... :)

Is it possible to NOT consider the client_ip when using postgrey?

My problem is we just switched to load balancing and the incoming emails
always seem like they come from the same IP address....

Would postgrey still be useful if it checked only the to and from ?

Thanks to all..
--
Rob Morin
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-4444
Sean Conner
2007-11-29 22:32:45 UTC
Permalink
Post by Rob Morin
My first post to this list, please be gentle... :)
Is it possible to NOT consider the client_ip when using postgrey?
My problem is we just switched to load balancing and the incoming emails
always seem like they come from the same IP address....
Would postgrey still be useful if it checked only the to and from ?
Using my own greylist implementation [1], I ran two tests over 565,012
tuples [2]. The first one used the full [IP,sender,recipient] tuple using a
1s embargo timeout (otherwise, using realistic values and timings such a
test would take a few days):

Start: Thu Nov 29 17:08:21 2007
End: Thu Nov 29 17:10:59 2007
Running time: 2m 38s

Requests: 565012

...

Tuples: 499846
Graylisted: 499846
Graylisted-Expired: 0
Whitelisted: 6945
Whitelisted-Expired: 0

Rerunning to ignore the IP address, but otherwise unchanged from the
previous run:

Start: Thu Nov 29 17:16:21 2007
End: Thu Nov 29 17:19:23 2007
Running time: 3m 2s

Requests: 565012

...

Tuples: 499846
Graylisted: 499846
Graylisted-Expired: 0
Whitelisted: 6957
Whitelisted-Expired: 0

A few more, so it appears that you might be able to skip the IP address.

-spc (Hope this helps some)

[1] http://www.x-grey.com/

[2] Actual tuples seen on production servers while developing X-Grey.
Rob Morin
2007-11-30 15:31:17 UTC
Permalink
What do i do to Postgrey to allow only sender and recipient and no IP?

Or do i use x-grey with my postfix, i am confused a bit?
Thanks

Rob Morin
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-4444
Post by Sean Conner
Post by Rob Morin
My first post to this list, please be gentle... :)
Is it possible to NOT consider the client_ip when using postgrey?
My problem is we just switched to load balancing and the incoming emails
always seem like they come from the same IP address....
Would postgrey still be useful if it checked only the to and from ?
Using my own greylist implementation [1], I ran two tests over 565,012
tuples [2]. The first one used the full [IP,sender,recipient] tuple using a
1s embargo timeout (otherwise, using realistic values and timings such a
Start: Thu Nov 29 17:08:21 2007
End: Thu Nov 29 17:10:59 2007
Running time: 2m 38s
Requests: 565012
...
Tuples: 499846
Graylisted: 499846
Graylisted-Expired: 0
Whitelisted: 6945
Whitelisted-Expired: 0
Rerunning to ignore the IP address, but otherwise unchanged from the
Start: Thu Nov 29 17:16:21 2007
End: Thu Nov 29 17:19:23 2007
Running time: 3m 2s
Requests: 565012
...
Tuples: 499846
Graylisted: 499846
Graylisted-Expired: 0
Whitelisted: 6957
Whitelisted-Expired: 0
A few more, so it appears that you might be able to skip the IP address.
-spc (Hope this helps some)
[1] http://www.x-grey.com/
[2] Actual tuples seen on production servers while developing X-Grey.
_______________________________________________
Greylist-users mailing list
Greylist-users at lists.puremagic.com
http://lists.puremagic.com/cgi-bin/mailman/listinfo/greylist-users
Sean Conner
2007-11-30 20:12:45 UTC
Permalink
Post by Rob Morin
What do i do to Postgrey to allow only sender and recipient and no IP?
Or do i use x-grey with my postfix, i am confused a bit?
Thanks
I would say modify the source to Postgrey to ignore the IP address; it's
what I did to X-Grey (since it doesn't have an option to ignore IP
addresses) to run the test (you did ask "Would postgrey still be useful if
it checked only the to and from?" and since I have a huge list of tuples, I
figured I could at least answer that question).

I will say, however, that modifying Postgrey (written in Perl if I'm not
mistaken) will be easier than modifying X-Grey (written in C).

-spc
Rob Morin
2007-11-30 20:15:58 UTC
Permalink
Thanks for the reply and the test results, however, not being a perl
guru, i would be scared to try anything unless i was following docs or
a patch...
:)
Thanks for your info on the subject....

Rob Morin
Dido Internet Inc.
Montreal,Canada
http://www.dido.ca
514-990-4444
Post by Sean Conner
Post by Rob Morin
What do i do to Postgrey to allow only sender and recipient and no IP?
Or do i use x-grey with my postfix, i am confused a bit?
Thanks
I would say modify the source to Postgrey to ignore the IP address; it's
what I did to X-Grey (since it doesn't have an option to ignore IP
addresses) to run the test (you did ask "Would postgrey still be useful if
it checked only the to and from?" and since I have a huge list of tuples, I
figured I could at least answer that question).
I will say, however, that modifying Postgrey (written in Perl if I'm not
mistaken) will be easier than modifying X-Grey (written in C).
-spc
_______________________________________________
Greylist-users mailing list
Greylist-users at lists.puremagic.com
http://lists.puremagic.com/cgi-bin/mailman/listinfo/greylist-users
Loading...