Hi Postfix users,

I have to apology: This is not a Postfix problem. But since there seem to be not mailing list for GLD, I was thinking that maybe some of you may be using postfix-gld and have some clue for me. BTW, if you know of a mailing list that would be more appropriate for this question, let me know :)
I emailed GLD's author, but he didn't reply.

So... I'm using GLD for greylisting and just noticed today that MXGREY doesn't seem to work at all with my setup.

My OS is 32bit Debian Squeeze, and I'm using GLD 1.7 (1.7-3 for Debian).

In /etc/gld.conf, I have set: MXGREY=10
In my greylist table, I have this record, among others:

IP sender recipient first last n
74.125.83.0 loic<snip>@<snip>.com l...@somedomain1.tld 1338411795 1338412124 11

Now I try to send an email from my company email to one of my other pvt
email address.
Here's what GLD says when started in debug mode:
_______________________________________________________________________
5190: New incoming connexion from localhost (127.0.0.1)
5190: Got the following valid data req=(smtpd_access_policy)
sender=(loic<snip>@<snip>.com) recipient=(l...@somedomain2.tld)
ip=(74.125.83.54)
5190: Starting the greylist algo
5190: lightgrey is on, let's remove the last octet of ip
5190: Query=(select first from greylist where ip='74.125.83.0' and
sender='loic<snip>@<snip>.com' and recipient='l...@somedomain2.tld') result=0
5190: whitelist is on
5190: Query=(select count(mail) from whitelist where mail in
('loic<snip>@<snip>.com','@<snip>.com','74.125.83.54','74.125.83'))
result=0
5190: Query=(insert into greylist
values('74.125.83.0','loic<snip>@<snip>.com','l...@somedomain2.tld',1338412124,1338412124,1))
5190: Mxgrey Query=(select count(first) from greylist where
ip='74.125.83.0' and n>1) result=3 (minimum needed is 10)
5190: End of the greylist algo
5190: Decision is to greylist
___________________________________________________________________________
Well, I really don't get why email to this new address is greylisted,
since it is sent by 74.125.83.54, which should match 74.125.83.0
(because of lightgrey) for which n > 10.

Am I missing something?
Is my GLD binary broken?

Help will be warmly welcomed :)

Cheers

Reply via email to