component mismatch: exim4 (main) depends on src:libspf2 (universe)

Bug #1952738 reported by Paride Legovini
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
exim4 (Ubuntu)
Fix Released
High
Paride Legovini

Bug Description

Debian exim4 >= 4.95~RC0-1 depends on src:libspf2 via a new Build-Depends on libspf2-dev, which also results in new binary dependencies. That's a C library implementing SPF [1].

The change closes Debbug #528344 [2] which is a decade-old request for adding SPF support to exim4 via that library. Up to now implementing SPF in exim4 has been possible using the spf-tools-perl package (in universe, but not a dependency). This is now replaced by linking to libspf2; the mechanism is clearly visible in the commit implementing the change [3].

After discussing the issue with the team, we decided to revert the change [3] in Ubuntu for now.

Rationale:

* Linking against the library doesn't provide a clear advantage over using the external query tool from spf-tools-perl. I imagine the issue is performance, but this is not clearly stated. In other words, a compelling reason for a MIR is missing.
* The status of the upstream project is not entirely reassuring. The latest publicized release is from 2013 [4]. Issues are mostly unanswered, including one requesting to cut a release including a fix for a CVE [6]. (A newer release has been tagged in git, but not announced anywhere, and the issue is still open. Note: the CVE is fixed in Debian via a security NMU.)
* The latest upload from the Debian Maintainer is from 2016.
* We don't really have requests for enabling libspf2 in exim4 in Ubuntu.

This why we prefer not to MIR libspf2, at least for now, but we're fully open on re-discussing this decision, now or in the future.

[1] https://en.wikipedia.org/wiki/Sender_Policy_Framework
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528344
[3] https://salsa.debian.org/exim-team/exim4/-/commit/494f1fe56f80243441c97de4b73e032949bd8b5d
[4] https://www.libspf2.org/
[5] https://github.com/shevek/libspf2/
[6] https://github.com/shevek/libspf2/issues/36

Tags: server-next

Related branches

Paride Legovini (paride)
description: updated
Paride Legovini (paride)
Changed in exim4 (Ubuntu):
assignee: nobody → Paride Legovini (paride)
tags: added: server-next
Paride Legovini (paride)
Changed in exim4 (Ubuntu):
importance: Undecided → High
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package exim4 - 4.95-2ubuntu2

---------------
exim4 (4.95-2ubuntu2) jammy; urgency=medium

  * New delta:
    - Disable external SPF support to avoid Build-Depends on libspf2-dev
      (only available in universe). SPF can still be implemented via
      spf-tools-perl, as documented in exim4.conf.template. (LP: #1952738)
      This reverts Vcs-Git commit 494f1fe, first released in 4.95~RC0-1.
      Changes:
        + d/control: drop Build-Depends on libspf2-dev.
        + d/d/c/a/30_exim4-config_check_rcpt: restore SPF logic based
          on spfquery.mail-spf-perl from spf-tools-perl.
        + d/EDITME.exim4-heavy.diff: disable support for libspf2.

 -- Paride Legovini <email address hidden> Wed, 01 Dec 2021 11:48:10 +0100

Changed in exim4 (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.