🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #377

Bug#1150546: milter-greylist fails to start when geoip rules are defined in the greylist.conf

#377
From: Thomas Antepoth
Date: Sat, 10 Oct 2026 16:20
90 lines
5019 bytes
Package: milter-greylist
Version: 4.6.4-4
Severity: normal

Dear Maintainer,

The Debian milter-greylist package is built without GeoIP support.
When GeoIP ACL rules are present in the configuration, the daemon
fails to start.

With the GeoIP ACLs enabled, the log contains:

  GeoIP support not compiled in, ignore line 38
  GeoIP support not compiled in, ignore line 39
  unexpected acl clause type 61
  milter-greylist.service: Control process exited,
  code=exited, status=70/SOFTWARE
  milter-greylist.service: Failed with result 'exit-code'

The "unexpected acl clause type 61" is located in acl.c in get_acl_clause_rec().
The "type 61" is an enum defined in acl.h as AC_GEOIP_LIST.

After commenting out the GeoIP ACL rules, milter-greylist starts successfully. 

However, this removes the configured GeoIP filtering.

The Debian packaging change in commit 825fc531d0e80789cdb3d44fd080ac34871beb73 
removed libgeoip-dev from the build dependencies, stating that it was obsolete 
and that upstream should migrate to libmmdb-dev. 

However, libgeoip-dev is still available in 
Debian Trixie (version 1.6.12-11.2~deb13u1).

Could you clarify whether dropping GeoIP support was intentional?

Please consider restoring GeoIP support or updating milter-greylist
to use libmmdb-dev. If the loss of support is intentional, please
document that GeoIP ACLs can prevent the daemon from starting.

Thanks a lot in advance and best regards


Thomas Antepoth

-- System Information:
Debian Release: 13.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.111+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages milter-greylist depends on:
ii  adduser              3.152
ii  init-system-helpers  1.69~deb13u1
ii  libc6                2.41-12+deb13u4
ii  libcurl4t64          8.14.1-2+deb13u5
ii  libmilter1.0.1       8.18.1-6+b1
ii  libopendkim11        2.11.0~beta2-9.1+b1
ii  libspf2-2t64         1.2.10-8.3

Versions of packages milter-greylist recommends:
ii  sendmail  8.18.1-6

milter-greylist suggests no packages.

-- Configuration Files:
/etc/milter-greylist/greylist.conf changed [not included]


This configuration worked fine in Debian bookworm:

== snip ==
list "red countries" geoip { \
    "CN" "HK" "KR" "RU" "TR" "TW" "UA" "IN" "BR" "BG" "CZ" \
}

racl continue from /.*/ addheader "X-Greylist: inspected by %V for IP:'%i' DOMAIN:'%d' HELO:'%h' FROM:'%f' RCPT:'%r' GEOIP:'%C'"
racl greylist list "red countries" delay 12h autowhite 24h

== snip ==

and had to be commented out to make milter-greylist to start up again.


-- no debconf information
Technical Details
Message-ID: <NMHXH-4IGu-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Thomas Antepoth <ta-debian@antepoth.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150546: milter-greylist fails to start when geoip rules are defined in the greylist.conf
Date: Sat, 10 Oct 2026 18:20:01 +0200
Message-ID: <NMHXH-4IGu-9@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sat Oct 10 16:17:11 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Thomas Antepoth <ta-debian@antepoth.de>, 1150546@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: packages@qa.debian.org
X-Debian-Pr-Message: report 1150546
X-Debian-Pr-Package: milter-greylist
X-Debian-Pr-Source: milter-greylist
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0
X-Greylist: inspected by milter-greylist-4.6.4 (mail.antepoth.de [0.0.0.0]); Sat, 10 Oct 2026 18:05:17 +0200 (CEST) for IP:'127.0.0.1' DOMAIN:'localhost' HELO:'www.so.antepoth.de' FROM:'ta-debian@antepoth.de' RCPT:''
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (mail.antepoth.de [0.0.0.0]); Sat, 10 Oct 2026 18:05:17 +0200 (CEST)
X-Greylist: delayed 598 seconds by postgrey-1.37 at buxtehude; Sat, 10 Oct 2026 16:15:28 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996092
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 90
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 10 Oct 2026 18:05:16 +0200
X-Original-Message-ID: <179164831675.1690638.17580094322092480517.reportbug@www.so.antepoth.de>