[Koha-bugs] [Bug 28017] New: Allow @localhost addresses

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 22 18:27:17 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28017

            Bug ID: 28017
           Summary: Allow @localhost addresses
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Notices
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: tomascohen at gmail.com
        QA Contact: testopia at bugs.koha-community.org

Bug 22343 introduced a rewrite of Koha::Email. One of the changes it introduced
was that it now validates all addresses, not just the 'To' header. This
immediately affected anyone with default values like root at localhost.

An exchange with the library author [1] highlighted that the way we use
Email::Valid is to blame for breaking on @localhost addresses. It also made it
clear that this behavior can be overridden by using a trivial flag on the call.

While the RFC for email systems specify that FQDN needs to be used, debugging
bug 26705 highlighted we need this to allow anyone to test email stuffs.

I propose to allow non-fqdn addresses.

[1] https://github.com/Perl-Email-Project/Email-Valid/issues/49

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list