Skip to content

Commit

Permalink
release 1.20250203 (#257)
Browse files Browse the repository at this point in the history
- consider localhost as invalid domain #255
- add a stringify method to the Policy class #253
- lower case domains passed to is_valid_domain #252
- lower case match from and envelope-from domains #249
- Change validation result for RFC7489 6.6.3 step 6.2 #248
- point README links to search.cpan.org #240
- sender: set options when creating new sender object #239
- permit storage of UTF-8 chars in MySQL DB #238
- load report_store modules using Module::Load #237
- create an email message with a proper Message-ID #236
- imap: only use port 143 if requested #235
- find_psl_file: fix duplicate share in path #232
  • Loading branch information
msimerson authored Feb 3, 2025
1 parent 56b4d6d commit df107c6
Show file tree
Hide file tree
Showing 33 changed files with 2,315 additions and 2,170 deletions.
15 changes: 15 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
- Permit storage of UTF-8 chars in MySQL DB, related to #190

### 1.20250203

- consider localhost as invalid domain #255
- add a stringify method to the Policy class #253
- lower case domains passed to is_valid_domain #252
- lower case match from and envelope-from domains #249
- Change validation result for RFC7489 6.6.3 step 6.2 #248
- point README links to search.cpan.org #240
- sender: set options when creating new sender object #239
- permit storage of UTF-8 chars in MySQL DB #238
- load report_store modules using Module::Load #237
- create an email message with a proper Message-ID #236
- imap: only use port 143 if requested #235
- find_psl_file: fix duplicate share in path #232

### 1.20240313

- Fix error email sent when reports are too large
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This software is copyright (c) 2024 by Matt Simerson.
This software is copyright (c) 2025 by Matt Simerson.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
Expand Down
59 changes: 30 additions & 29 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"Marc Bradshaw <[email protected]>"
],
"dynamic_config" : 1,
"generated_by" : "Module::Build version 0.4231",
"generated_by" : "Module::Build version 0.4234",
"license" : [
"perl_5"
],
Expand Down Expand Up @@ -54,6 +54,7 @@
"IO::Socket::SSL" : "0",
"IO::Uncompress::Gunzip" : "0",
"IO::Uncompress::Unzip" : "0",
"Module::Load" : "0",
"Net::DNS::Resolver" : "0",
"Net::IDN::Encode" : "0",
"Net::IP" : "0",
Expand Down Expand Up @@ -84,114 +85,114 @@
"provides" : {
"Mail::DMARC" : {
"file" : "lib/Mail/DMARC.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Base" : {
"file" : "lib/Mail/DMARC/Base.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::HTTP" : {
"file" : "lib/Mail/DMARC/HTTP.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Policy" : {
"file" : "lib/Mail/DMARC/Policy.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::PurePerl" : {
"file" : "lib/Mail/DMARC/PurePerl.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report" : {
"file" : "lib/Mail/DMARC/Report.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::Aggregate" : {
"file" : "lib/Mail/DMARC/Report/Aggregate.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::Aggregate::Metadata" : {
"file" : "lib/Mail/DMARC/Report/Aggregate/Metadata.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::Aggregate::Record" : {
"file" : "lib/Mail/DMARC/Report/Aggregate/Record.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::Aggregate::Record::Auth_Results" : {
"file" : "lib/Mail/DMARC/Report/Aggregate/Record/Auth_Results.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::Aggregate::Record::Auth_Results::DKIM" : {
"file" : "lib/Mail/DMARC/Report/Aggregate/Record/Auth_Results/DKIM.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::Aggregate::Record::Auth_Results::SPF" : {
"file" : "lib/Mail/DMARC/Report/Aggregate/Record/Auth_Results/SPF.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::Aggregate::Record::Identifiers" : {
"file" : "lib/Mail/DMARC/Report/Aggregate/Record/Identifiers.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::Aggregate::Record::Row" : {
"file" : "lib/Mail/DMARC/Report/Aggregate/Record/Row.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::Aggregate::Record::Row::Policy_Evaluated" : {
"file" : "lib/Mail/DMARC/Report/Aggregate/Record/Row/Policy_Evaluated.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::Receive" : {
"file" : "lib/Mail/DMARC/Report/Receive.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::Send" : {
"file" : "lib/Mail/DMARC/Report/Send.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::Send::HTTP" : {
"file" : "lib/Mail/DMARC/Report/Send/HTTP.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::Send::SMTP" : {
"file" : "lib/Mail/DMARC/Report/Send/SMTP.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::Sender" : {
"file" : "lib/Mail/DMARC/Report/Sender.pm"
},
"Mail::DMARC::Report::Store" : {
"file" : "lib/Mail/DMARC/Report/Store.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::Store::SQL" : {
"file" : "lib/Mail/DMARC/Report/Store/SQL.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::Store::SQL::Grammars::MySQL" : {
"file" : "lib/Mail/DMARC/Report/Store/SQL/Grammars/MySQL.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::Store::SQL::Grammars::PostgreSQL" : {
"file" : "lib/Mail/DMARC/Report/Store/SQL/Grammars/PostgreSQL.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::Store::SQL::Grammars::SQLite" : {
"file" : "lib/Mail/DMARC/Report/Store/SQL/Grammars/SQLite.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Report::URI" : {
"file" : "lib/Mail/DMARC/Report/URI.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Result" : {
"file" : "lib/Mail/DMARC/Result.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Result::Reason" : {
"file" : "lib/Mail/DMARC/Result/Reason.pm",
"version" : "1.20240314"
"version" : "1.20250203"
},
"Mail::DMARC::Test::Transport" : {
"file" : "lib/Mail/DMARC/Test/Transport.pm"
Expand All @@ -210,7 +211,7 @@
"url" : "https://github.com/msimerson/mail-dmarc"
}
},
"version" : "1.20240314",
"version" : "1.20250203",
"x_contributors" : [
"Benny Pedersen <[email protected]>",
"Jean Paul Galea <[email protected]>",
Expand Down
61 changes: 31 additions & 30 deletions META.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ configure_requires:
File::ShareDir::Install: '0.06'
Module::Build: '0.3601'
dynamic_config: 1
generated_by: 'Module::Build version 0.4231, CPAN::Meta::Converter version 2.150010'
generated_by: 'Module::Build version 0.4234, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
Expand All @@ -24,87 +24,87 @@ name: Mail-DMARC
provides:
Mail::DMARC:
file: lib/Mail/DMARC.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Base:
file: lib/Mail/DMARC/Base.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::HTTP:
file: lib/Mail/DMARC/HTTP.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Policy:
file: lib/Mail/DMARC/Policy.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::PurePerl:
file: lib/Mail/DMARC/PurePerl.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report:
file: lib/Mail/DMARC/Report.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::Aggregate:
file: lib/Mail/DMARC/Report/Aggregate.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::Aggregate::Metadata:
file: lib/Mail/DMARC/Report/Aggregate/Metadata.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::Aggregate::Record:
file: lib/Mail/DMARC/Report/Aggregate/Record.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::Aggregate::Record::Auth_Results:
file: lib/Mail/DMARC/Report/Aggregate/Record/Auth_Results.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::Aggregate::Record::Auth_Results::DKIM:
file: lib/Mail/DMARC/Report/Aggregate/Record/Auth_Results/DKIM.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::Aggregate::Record::Auth_Results::SPF:
file: lib/Mail/DMARC/Report/Aggregate/Record/Auth_Results/SPF.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::Aggregate::Record::Identifiers:
file: lib/Mail/DMARC/Report/Aggregate/Record/Identifiers.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::Aggregate::Record::Row:
file: lib/Mail/DMARC/Report/Aggregate/Record/Row.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::Aggregate::Record::Row::Policy_Evaluated:
file: lib/Mail/DMARC/Report/Aggregate/Record/Row/Policy_Evaluated.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::Receive:
file: lib/Mail/DMARC/Report/Receive.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::Send:
file: lib/Mail/DMARC/Report/Send.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::Send::HTTP:
file: lib/Mail/DMARC/Report/Send/HTTP.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::Send::SMTP:
file: lib/Mail/DMARC/Report/Send/SMTP.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::Sender:
file: lib/Mail/DMARC/Report/Sender.pm
Mail::DMARC::Report::Store:
file: lib/Mail/DMARC/Report/Store.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::Store::SQL:
file: lib/Mail/DMARC/Report/Store/SQL.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::Store::SQL::Grammars::MySQL:
file: lib/Mail/DMARC/Report/Store/SQL/Grammars/MySQL.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::Store::SQL::Grammars::PostgreSQL:
file: lib/Mail/DMARC/Report/Store/SQL/Grammars/PostgreSQL.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::Store::SQL::Grammars::SQLite:
file: lib/Mail/DMARC/Report/Store/SQL/Grammars/SQLite.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Report::URI:
file: lib/Mail/DMARC/Report/URI.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Result:
file: lib/Mail/DMARC/Result.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Result::Reason:
file: lib/Mail/DMARC/Result/Reason.pm
version: '1.20240314'
version: '1.20250203'
Mail::DMARC::Test::Transport:
file: lib/Mail/DMARC/Test/Transport.pm
recommends:
Expand Down Expand Up @@ -132,6 +132,7 @@ requires:
IO::Socket::SSL: '0'
IO::Uncompress::Gunzip: '0'
IO::Uncompress::Unzip: '0'
Module::Load: '0'
Net::DNS::Resolver: '0'
Net::IDN::Encode: '0'
Net::IP: '0'
Expand All @@ -152,11 +153,11 @@ resources:
homepage: https://github.com/msimerson/mail-dmarc/wiki
license: http://dev.perl.org/licenses/
repository: https://github.com/msimerson/mail-dmarc
version: '1.20240314'
version: '1.20250203'
x_contributors:
- 'Benny Pedersen <[email protected]>'
- 'Jean Paul Galea <[email protected]>'
- 'Marisa Clardy <[email protected]>'
- 'Priyadi Iman Nurcahyo <[email protected]>'
- 'Ricardo Signes <[email protected]>'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
x_serialization_backend: 'CPAN::Meta::YAML version 0.020'
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Mail::DMARC - Perl implementation of DMARC

# VERSION

version 1.20240314
version 1.20250203

# SYNOPSIS

Expand Down Expand Up @@ -287,7 +287,7 @@ The daddy of this perl module was a [DMARC module for the qpsmtpd MTA](https://g

# COPYRIGHT AND LICENSE

This software is copyright (c) 2024 by Matt Simerson.
This software is copyright (c) 2025 by Matt Simerson.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
6 changes: 3 additions & 3 deletions lib/Mail/DMARC.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Mail::DMARC;
use strict;
use warnings;

our $VERSION = '1.20240314';
our $VERSION = '1.20250203';

use Carp;
our $psl_loads = 0;
Expand Down Expand Up @@ -309,7 +309,7 @@ Mail::DMARC - Perl implementation of DMARC
=head1 VERSION
version 1.20240314
version 1.20250203
=head1 SYNOPSIS
Expand Down Expand Up @@ -655,7 +655,7 @@ Ricardo Signes <[email protected]>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2024 by Matt Simerson.
This software is copyright (c) 2025 by Matt Simerson.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
Expand Down
Loading

0 comments on commit df107c6

Please sign in to comment.