whitelist and reverse mode

Hi to all!

I've a problem setting up a whitelist network. Into MySQL there is this record:

SELECT * FROM `network`:
address: 213.21.136.11
comment: Server Test

Trying:
/usr/local/bin/gps -v ./gps.conf < test.txt
where test is:
helo_name=someorg.org
queue_id=8045F2AB23
sender=test@xefil.com
recipient=info@xefil.com
client_address=213.21.136.11
client_name=another.domain.tld
message_origin=another.domain.tld[1.2.3.4]

I obtain:
action=defer_if_permit Greylisted

and Logs report:
Jan 10 11:02:26 mx2 gps[24204]: input: helo_name=someorg.org queue_id=8045F2AB23 sender=test@xefil.com recipient=info@xefil.com client_address=213.21.136.11 client_name=another.domain.tld message_origin=another.domain.tld[1.2.3.4]
Jan 10 11:02:26 mx2 gps[24204]: parsed: client_address=213.21.136.11 recipient=info@xefil.com sender=test@xefil.com
Jan 10 11:02:26 mx2 gps[24204]: SELECT comment FROM recipient WHERE address='info@xefil.com' LIMIT 1
Jan 10 11:02:26 mx2 gps[24204]: SELECT count,uts FROM triplet WHERE ( sender='test@xefil.com' AND recipient='info@xefil.com' AND client_address='quickvideo.it' )
Jan 10 11:02:26 mx2 gps[24204]: wait: 'test@xefil.com' -> 'info@xefil.com', 'quickvideo.it' (0, 161 secs)

my gps.conf:

mode=reverse
dbtype=mysql
db_host=
db_username=
db_password=
db_dbname=greylist
timeout=300
wl_pattern=dbcached
wl_network=dbcached
wl_recipient=db

It's possible because it's set "mode=reverse"?
How to set whitelist networks in this case?

Bye, Simon

Forums: 

I think you should have only the first three bytes of the IP address. Something like:
213.21.136.
should work

mm

Thank's, Ive used "pattern" succesfully after some tests :)

Simon