Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-13 23:57 UTC

Thread

Unnecessary Log

Unnecessary Log

2016-11-03 by Can Şirin

Hi all, I am using milter-greylist on RHEL 7 installed from EPEL repo. In the log file there are so many milter-greylist: GeoIP is not available messages,

Re: [milter-greylist] Unnecessary Log

2016-11-03 by Fred Smith

On Thu, Nov 03, 2016 at 10:48:34AM +0300, Can \u015eirin sirincan@... [milter-greylist] wrote:
>    Hi all,
>    I am using milter-greylist on RHEL 7 installed from EPEL repo.
>    In the log file there are so many "milter-greylist: GeoIP is not
>    available" messages, eventhough there is nothig with the geoip in my
>    greylist.conf. I saw a bugzilla report related with that issue reported
>    in 2008. (https://bugzilla.redhat.com/show_bug.cgi?id=439087) There was
>    a work around to get rid of this problem with adding
>    geoipdb "/usr/share/GeoIP/GeoIP.dat"
>    But in the files extracted from the milter-greylist rpm package there
>    is no GeoIP.dat file. I know I can obtain this geoip database from some
>    kind of sources. But I don't want the milter-greylist to check the
>    geoip database.
>    Is it possible to supress these message caused by the milter-greylist
>    or disable the geoip check?
>    Thanks
>    Can

FWIW, I don't see this on my Centos-7, where I just brought up
milter-greylist. something in our configurations differs?



-- 
---- Fred Smith -- fredex@... -----------------------------
    "Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of
     heaven, but only he who does the will of my Father who is in heaven."
------------------------------ Matthew 7:21 (niv) -----------------------------

Re: [milter-greylist] Unnecessary Log

2016-11-03 by manu@...

Can ?irin sirincan@... [milter-greylist]
<milter-greylist@yahoogroups.com> wrote:

> Is it possible to supress these message caused by the milter-greylist or
> disable the geoip check?

Itwill always appear at warning level if milter-greylist is built with
GeoIP support and no database was set. 

Indeed the log level is a bit excessive.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: {Disarmed} Re: [milter-greylist] Unnecessary Log

2016-11-11 by manu@...

Can ?irin sirincan@... [milter-greylist]
<milter-greylist@yahoogroups.com> wrote:

> If it is so, it is an overhead to the server that checking geoip databse in
> every mail for nothing. Because I have no rule with geoip condition.

Yes, it works that way because it does not know in advance if it will
hit a GeoIP clause in an ACL. 

The lookup is just reading a record in a local file, this is a small
overhead. It could be optimized by using a global flag at config file
parsing to track wether there is a GeoIP clause somewhere.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

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.