Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1242661

Bug#1103561: opendmarc: Split package between milter and reporter

From Aymeric Agon-Rambosson <aymeric.agon@yandex.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#1103561: opendmarc: Split package between milter and reporter
Date 2025-04-19 06:30 +0200
Message-ID <KD801-eC5Z-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: opendmarc
Version: 1.4.2-5
Severity: wishlist

Dear Maintainer,

Installing opendmarc pulls several dozen Mio worth of 
dependencies, a database client in particular.

This database client, and almost all of the other heavy 
dependencies as well, are only needed for the regular sending of 
aggregate reporting to the mail servers that have been the victim 
of attempted spoofing attempts. This is a functionality that is 
potentially of interest to very few people.

In comparison, the milter part of opendmarc actually needs very 
little. The two binaries opendmarc and opendmarc-check, relying on 
the libopendmarc and libspf shared libraries, implement the part 
of the DMARC protocol needed to decide whether to reject a spoofed 
mail.

For this reason, it would be desirable to split the two 
functionalities into two distinct packages : opendmarc, that would 
only contain the milter service, and opendmarc-reporter, that 
would ship the utilities needed for the reporting. Only the second 
package would depend on the database client and would need debconf 
during configuration.

This split is actually quite easy to implement. It turns out that 
the configuration option "--with-sql-backend" has no effect at all 
on the produced binaries (only on the perl scripts), so the rules 
file can stay almost unchanged. It is simply a matter of 
distributing each executable (and their associated manpage) in the 
relevant package. I have implemented this split in 
https://salsa.debian.org/ricorambo/opendmarc, and I have tested it 
(only installing and using the milter part).

If you have the time, would you consider reviewing those changes 
and eventually integrating them ? I am aware that it is not going 
to be possible for trixie.

Do not hesitate to ask if anything I've done is unclear.

Best,

Aymeric

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

Kernel: Linux 6.1.0-33-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1103561: opendmarc: Split package between milter and reporter Aymeric Agon-Rambosson <aymeric.agon@yandex.com> - 2025-04-19 06:30 +0200

csiph-web