Your message dated Wed, 24 Sep 2025 14:36:09 +0000
with message-id <[email protected]>
and subject line Bug#1058492: fixed in libmail-dmarc-perl 1.20250805-1
has caused the Debian Bug report #1058492,
regarding libmail-dmarc-perl: Splitting dependencies into validation and 
reporting features
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1058492: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058492
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libmail-dmarc-perl
Version: 1.20230215-1
Severity: wishlist
Tags: patch
X-Debbugs-Cc: [email protected]

Dear Maintainer, Noah,

I'm working on making the libmail-dmarc-perl package a package that
belongs to the Ubuntu main repository (5-10 years of support by the Ubuntu 
team), through a MIR (Main Inclusion request) process [1].

The main reason behind that is that this package is used by spamassassin
(already in main). Curious thing is that, by now, spamassassin is the
only package that uses libmail-dmarc-perl as dependency, which supposes an 
advantage
in our case.

spamassassin only uses the validation feature of Mail::DMARC and, as we 
can read in the INSTALL.md file of src:libmail-dmarc-perl, line 21:

'''
NOTE: Most of the dependencies are optionally required for the DMARC reporting 
features. Mail::DMARC will perform validation with only these modules:

    Regexp::Common
    Config::Tiny
    File::ShareDir
    Net::DNS::Resolver
    Net::IP
    Socket6
'''

I checked also in the spamassassin's code that the validation feature is only 
used: Spamassasin dmarc plugin [2] only uses the MAIL::DMARC::PurePerl module 
[3] and, inside it, the validate function in particular [4]. However, is true 
that it also could use the save_aggregate function if the dmarc_save_reports 
variable is set throught mail-dmarc.ini to 1 (defaults is 0 [5], and also in 
the ini file [6]). That function will need the Mail::DMARC::Report::Store 
module and the Mail::DMARC::Report::URI module.

Therefore, I separated dependencies in the binary package depending on their 
use. Modules used in validation remain as binary dependencies and the rest, 
used in reporting, are moved to suggested dependencies, still availables. I 
attached it here as a patch.

Both test suites, spamassassin and libmail-dmarc-perl t/*.t folders,
passes. Also, I made a DEP-8 test (that I can fordward to you if this
split seems reasonable/interesting) to you.


As a collateral effect, the split reduces the number of packages that need to 
be installed when used by spamassassin, saving space.

I don't know if you find this approach interesting, but anyway.... I thought it 
was worth sharing it with you. What do you think?

Thanks in advance,

Miriam EspaƱa Acebal
Software Engineer II - Ubuntu PublicCloud/Server
Canonical Ltd.

[1] https://bugs.launchpad.net/ubuntu/+source/libmail-dmarc-perl/+bug/2023971
[2] 
https://git.launchpad.net/ubuntu/+source/spamassassin/tree/lib/Mail/SpamAssassin/Plugin/DMARC.pm
[3] 
https://git.launchpad.net/ubuntu/+source/spamassassin/tree/lib/Mail/SpamAssassin/Plugin/DMARC.pm#n242
[4] 
https://git.launchpad.net/ubuntu/+source/spamassassin/tree/lib/Mail/SpamAssassin/Plugin/DMARC.pm#n322
[5] 
https://git.launchpad.net/ubuntu/+source/spamassassin/tree/lib/Mail/SpamAssassin/Plugin/DMARC.pm#n111
[6] 
https://git.launchpad.net/ubuntu/+source/libmail-dmarc-perl/tree/share/mail-dmarc.ini#n21
>From 219bf178ed88f2323d9386066a2cfcdd81263133 Mon Sep 17 00:00:00 2001
From: Miriam Espana Acebal <[email protected]>
Date: Tue, 14 Nov 2023 12:28:59 +0100
Subject: [PATCH] - d/control: Splitting Dependencies between needed in
 validation or reporting. The reporting ones now goes to Suggests (even the
 former Recommends).

---
 debian/control | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/debian/control b/debian/control
index a3b621c..b67f19f 100644
--- a/debian/control
+++ b/debian/control
@@ -42,23 +42,23 @@ Depends: ${misc:Depends},
         libnet-ip-perl,
         libnet-ssleay-perl,
         libemail-mime-perl,
-        libtest-file-sharedir-perl,
-        libemail-sender-perl,
-        libdbix-simple-perl,
-        libdbd-sqlite3-perl,
-        libtest-output-perl,
         libregexp-common-perl,
         libsocket6-perl,
         liburi-perl,
         libxml-libxml-perl,
-        publicsuffix,
-Recommends:
+     publicsuffix,
+Suggests:
            libjson-perl,
            libmail-dkim-perl,
            libnet-http-perl,
            libnet-imap-simple-perl,
            libnet-server-perl,
            libnet-smtps-perl,
+           libdbd-sqlite3-perl,
+           libdbix-simple-perl,
+           libemail-sender-perl,
+           libtest-file-sharedir-perl,
+           libtest-output-perl,
 Description: Perl implementation of DMARC
  Mail::DMARC is a suite of tools for implementing DMARC. It adheres to the
  2013 DMARC draft, intending to implement every MUST and every SHOULD.
-- 
2.40.1

>From 219bf178ed88f2323d9386066a2cfcdd81263133 Mon Sep 17 00:00:00 2001
From: Miriam Espana Acebal <[email protected]>
Date: Tue, 14 Nov 2023 12:28:59 +0100
Subject: [PATCH] - d/control: Splitting Dependencies between needed in
 validation or reporting. The reporting ones now goes to Suggests (even the
 former Recommends).

---
 debian/control | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/debian/control b/debian/control
index a3b621c..b67f19f 100644
--- a/debian/control
+++ b/debian/control
@@ -42,23 +42,23 @@ Depends: ${misc:Depends},
         libnet-ip-perl,
         libnet-ssleay-perl,
         libemail-mime-perl,
-        libtest-file-sharedir-perl,
-        libemail-sender-perl,
-        libdbix-simple-perl,
-        libdbd-sqlite3-perl,
-        libtest-output-perl,
         libregexp-common-perl,
         libsocket6-perl,
         liburi-perl,
         libxml-libxml-perl,
-        publicsuffix,
-Recommends:
+     publicsuffix,
+Suggests:
            libjson-perl,
            libmail-dkim-perl,
            libnet-http-perl,
            libnet-imap-simple-perl,
            libnet-server-perl,
            libnet-smtps-perl,
+           libdbd-sqlite3-perl,
+           libdbix-simple-perl,
+           libemail-sender-perl,
+           libtest-file-sharedir-perl,
+           libtest-output-perl,
 Description: Perl implementation of DMARC
  Mail::DMARC is a suite of tools for implementing DMARC. It adheres to the
  2013 DMARC draft, intending to implement every MUST and every SHOULD.
-- 
2.40.1


--- End Message ---
--- Begin Message ---
Source: libmail-dmarc-perl
Source-Version: 1.20250805-1
Done: Andreas Tille <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libmail-dmarc-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Tille <[email protected]> (supplier of updated libmail-dmarc-perl 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 24 Sep 2025 16:10:48 +0200
Source: libmail-dmarc-perl
Architecture: source
Version: 1.20250805-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <[email protected]>
Changed-By: Andreas Tille <[email protected]>
Closes: 1058492
Changes:
 libmail-dmarc-perl (1.20250805-1) unstable; urgency=medium
 .
   [ Andreas Tille ]
   * Team upload.
   * Maintain package in Perl Group
   * New upstream version
   * Standards-Version: 4.7.2 (routine-update)
   * cme fix dpkg-control
 .
   [ Miriam Espana Acebal ]
   * d/control: Splitting Dependencies between needed in validation or 
reporting.
     The reporting ones now goes to Suggests (even the former Recommends).
     Closes: #1058492
Checksums-Sha1:
 daa12aa0038c1ebf462e86204ae48adcb1b8dcaf 2825 
libmail-dmarc-perl_1.20250805-1.dsc
 b55ac2852922942d9d9181374eca3dd39e8a3bb4 809901 
libmail-dmarc-perl_1.20250805.orig.tar.gz
 bac82b4aa728d097e652a837da0c24eb4875ea74 5216 
libmail-dmarc-perl_1.20250805-1.debian.tar.xz
 7f8861c36f63bb3fcb89c969cc7d7f00d4596273 8980 
libmail-dmarc-perl_1.20250805-1_amd64.buildinfo
Checksums-Sha256:
 07a0e0c89e8bef6285275cff6d5ed0856b0fb18c4cf560eaef5bb61a5e38f34f 2825 
libmail-dmarc-perl_1.20250805-1.dsc
 54edc1a45cfcbd0992be41fb02059c404b7b871c524a71949508d21328d38057 809901 
libmail-dmarc-perl_1.20250805.orig.tar.gz
 4e15bb700de4c156d6ef6988a47185e8b86611157595a1fda59d2606eded961c 5216 
libmail-dmarc-perl_1.20250805-1.debian.tar.xz
 bda8d896469e61c4eb35797d4fafd4317459c108577b4a75c82d57d56ff300ac 8980 
libmail-dmarc-perl_1.20250805-1_amd64.buildinfo
Files:
 d2c29af3364e4879b007777a99c67912 2825 perl optional 
libmail-dmarc-perl_1.20250805-1.dsc
 eafd0a4e2259f5180ea335e29d2e6d65 809901 perl optional 
libmail-dmarc-perl_1.20250805.orig.tar.gz
 e6814c35ae85bcdfa7e04bac765c2a97 5216 perl optional 
libmail-dmarc-perl_1.20250805-1.debian.tar.xz
 7ef5132e57a054cf0bb0a67287038c1a 8980 perl optional 
libmail-dmarc-perl_1.20250805-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmjT/SsRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtF0yRAAkNXF1KkFGU91JCKkuw4p3jSLiPJmUsQc
lgRYTmJc/eJ1XhwauKof1bsWD0N6zILuRjsm5Z1CJ4vuM8xAlfy1mF13DVtxYkMs
JHUzspWR5M0WvLPABXN5eeXLfgxVv1Fc2bcf4yAaeuFEgteMoKllLBkj9O4+SDLh
217mtwsXPxo5d06SIZ4MjHwcis+4dbyAEi4d45K1xO/L5BT12VD0SXLBKXUcydmf
2DElKnEAHE3qpbT6zD35lfzWCCEWWSq2zgVZhpzX7CvoO+RXeL6CvxaiKstLc1BR
0F7vupI/UTIoigMQAkEeKjOVpL4SJ0xmucSQM7s4QVhRemYicyFPtdGRP05S2WXi
Gn/HNIpOlgyx9i3uGafnMqV2BEEcjd+psZpPAi4QEP62PSBX5s+N1PNIJhUDej+2
YqXRNop4OOE48lXY/xUd7VeW1gO7ei4JcQ2RoZDHFvNsYi6H6GAnYKG5vEI3fLeS
sji2odfPLIdNvw/m8Lw9iPly7vgL1raizFu8Kkq71PlEeYKsBkuCcCbSjiL23Q7u
q7vROJcR8LsmL07RJCFdOZGQHX0Oy7ttG/rD9bD26d+WR/83fE1aR89p/2OfpxFk
EcM3eboT1yQWQcth0lkndUprHhCPZhWAQhzzxG4RqRVLkU4+K/SKtd6Vh2qzNlqv
t2SYdvdpRQI=
=9aV4
-----END PGP SIGNATURE-----

Attachment: pgpKlIqSF7_d_.pgp
Description: PGP signature


--- End Message ---

Reply via email to