Hi ppls.
I'm start porting some features from my fastbl project and needs some help.
This is first part. Checking sender host geozone and sender domain mx
geozones.
http://zhecka.323f.net.ru/scripts/geo/
some log.
------- cut -------
Oct 3 23:21:58 bsd spamd[76862]: geo: Geozone checking in progress
Oct 3 23:21:58 bsd spamd[76862]: geo: ip 77.122.107.2
Oct 3 23:21:58 bsd spamd[76862]: geo: helo apartmentless.shaft.volia.net
Oct 3 23:21:58 bsd spamd[76862]: geo: found UA geozone for 77.122.107.2
Oct 3 23:21:58 bsd spamd[76862]: geo: analyzing geozone SE from
212.247.156.1 for paldata.se
Oct 3 23:21:58 bsd spamd[76862]: geo: expected geozone UA not found.
Dropping.
Oct 3 23:21:59 bsd spamd[76862]: spamd: identified spam (19.1/5.0) for
root:65534 in 0.8 seconds, 735 bytes.
Oct 3 23:21:59 bsd spamd[76862]: spamd: result: Y 19 -
DOS_OE_TO_MX,GEOZONE_CHECK, RCVD_IN_PBL,RCVD_IN_X BL,TVD_SPACE_RATIO
scantime=0.8,size=735,
user=root,uid=65534,required_score=5.0,rhost=localhost.host.ru,raddr=127.0.0.1,rport=57816,
mid=<[EMAIL PROTECTED]>,autolearn=failed
Oct 3 23:33:50 bsd spamd[76862]: geo: Geozone checking in progress
Oct 3 23:33:50 bsd spamd[76862]: geo: ip 216.239.58.191
Oct 3 23:33:50 bsd spamd[76862]: geo: helo gv-out-0910.google.com
Oct 3 23:33:50 bsd spamd[76862]: geo: found US geozone for 216.239.58.191
Oct 3 23:33:50 bsd spamd[76862]: geo: analyzing geozone US from
64.233.183.27 for gmail.com
Oct 3 23:33:50 bsd spamd[76862]: geo: found 64.233.183.27 with same
geozone US for gmail.com
Oct 3 23:33:50 bsd spamd[76862]: geo: analyzing geozone unknown from
74.125.79.27 for gmail.com
Oct 3 23:33:50 bsd spamd[76862]: geo: analyzing geozone unknown from
74.125.79.114 for gmail.com
Oct 3 23:33:50 bsd spamd[76862]: geo: analyzing geozone US from
209.85.143.27 for gmail.com
Oct 3 23:33:50 bsd spamd[76862]: geo: found 209.85.143.27 with same
geozone US for gmail.com
Oct 3 23:33:50 bsd spamd[76862]: geo: analyzing geozone US from
66.249.83.27 for gmail.com
Oct 3 23:33:50 bsd spamd[76862]: geo: found 66.249.83.27 with same
geozone US for gmail.com
Oct 3 23:33:50 bsd spamd[76862]: geo: analyzing geozone US from
209.85.147.27 for gmail.com
Oct 3 23:33:50 bsd spamd[76862]: geo: found 209.85.147.27 with same
geozone US for gmail.com
Oct 3 23:33:50 bsd spamd[76862]: geo: expected geozone US correct. Passing.
Oct 3 23:33:50 bsd spamd[76862]: spamd: clean message (2.9/5.0) for
root:65534 in 0.4 seconds, 2037 bytes.
Oct 3 23:33:50 bsd spamd[76862]: spamd: result: . 2 - TVD_SPACE_RATIO
scantime=0.4,size=2037,user=root,
uid=65534,required_score=5.0,rhost=localhost.host.ru,raddr=127.0.0.1,rport=64475,mid=<[EMAIL PROTECTED]>,autolearn=no
------- cut -------
Some peoples say about errors, but i haven't any errors when it is
plugin work. Who can help me with testing ?