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

Reply via email to