Bug 2316684 - Request for packaging of Perl module Mail::DMARC::PurePerl
Summary: Request for packaging of Perl module Mail::DMARC::PurePerl
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: spamassassin
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: futurefeature
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-05 15:23 UTC by thom.jeera@proton.me
Modified: 2025-05-21 13:00 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-05-20 19:58:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description thom.jeera@proton.me 2024-10-05 15:23:58 UTC
spamassassin DMARC plugin (Mail::SpamAssassin::Plugin::DMARC, one of the default plugins) requires this module.

Error messages (reduced):

Oct  5 16:20:09.892 [1302135] dbg: plugin: loading Mail::SpamAssassin::Plugin::DMARC from @INC
...
Oct  5 16:20:11.810 [1302135] dbg: DMARC: cannot load Mail::DMARC::PurePerl: module: Can't locate Mail/DMARC/PurePerl.pm in @INC (you may need to install the Mail::DMARC::PurePerl module) ...
Oct  5 16:20:11.810 [1302135] dbg: DMARC: Mail::DMARC::PurePerl is required for DMARC checks, DMARC checks disabled


Reproducible: Always

Comment 1 Petr Pisar 2024-10-07 10:54:15 UTC
Mail::DMARC::PurePerl is a dependency for an optional feature:

sub _check_dmarc {
  my ($self, $pms, $name) = @_;

  return unless $pms->is_dns_available();

  # Load DMARC module
  if (!exists $self->{has_mail_dmarc}) {
    my $eval_stat;
    eval {
      require Mail::DMARC::PurePerl;
    } or do {
      $eval_stat = $@ ne '' ? $@ : "errno=$!";  chomp $eval_stat;
    };
    if (!defined($eval_stat)) {
      dbg("using Mail::DMARC::PurePerl for DMARC checks");
      $self->{has_mail_dmarc} = 1;
    } else {
      dbg("cannot load Mail::DMARC::PurePerl: module: $eval_stat");
      dbg("Mail::DMARC::PurePerl is required for DMARC checks, DMARC checks disabled");
      $self->{has_mail_dmarc} = undef;
    }
  }

Comment 2 Aoife Moloney 2025-04-28 13:56:15 UTC
This message is a reminder that Fedora Linux 40 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 40 on 2025-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '40'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 40 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 3 Aoife Moloney 2025-05-20 19:58:45 UTC
Fedora Linux 40 entered end-of-life (EOL) status on 2025-05-13.

Fedora Linux 40 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 4 Kevin Fenzi 2025-05-20 21:32:35 UTC
I never got to this, but I hope to someday!

Help welcome.

Comment 5 Petr Pisar 2025-05-21 07:18:40 UTC
I will look at it.

Comment 6 Petr Pisar 2025-05-21 13:00:42 UTC
Package review in bug #2367781.


Note You need to log in before you can comment on or make changes to this bug.