Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: {Disarmed} [milter-greylist] OT: GeoIP compilation fails

2007-08-02 by Kai Schaetzl

Oliver Fromme wrote on Thu, 2 Aug 2007 10:15:55 +0200 (CEST):

> Bottom line: Try updating your gcc, and/or try compiling
> that particular file with a lower optimization level
> (-O0 if everything else fails).

Thanks a lot for the recommendation. Setting CFLAGS=-O1 or -O0 gets it 
going. I looked in the Makefile and configure.status, but didn't find a 
way to apply that flag only for compiling this object file. Anyway, is it 
correct that this is only a compile-time optimization and not a runtime 
optimization of the produced binary? So, the result is just the same, but 
may take a bit longer to compile?

I checked on another SuSE 9.0 system and on older systems and was able to 
verify that gcc works fine on the older systems, but not on 9.0. This is 
version gcc-3.3.1-29 and it looks very much like it is affected by the 
same bug you mentioned for 4.2.

Compiling milter-greylist 4.0a6 with libGeoIP works after this just fine.

Now, how do I make use of it in milter-greylist? Is the following correct?

geoipdb=/path/to/it
racl greylist geoip CN KR delay 1d

Is this correct for greylisting clients from China and Korea for one day?

Kai

-- 
Kai Sch\ufffdtzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.