[Bug 275996] mail/sendmail: Fix MTA-STS support, to local-deliverable with MTA-STS enabled (workaround)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 29 Dec 2023 11:33:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275996

            Bug ID: 275996
           Summary: mail/sendmail: Fix MTA-STS support, to
                    local-deliverable with MTA-STS enabled (workaround)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: dinoex@FreeBSD.org
          Reporter: nork@ninth-nine.com
             Flags: maintainer-feedback?(dinoex@FreeBSD.org)
          Assignee: dinoex@FreeBSD.org

Created attachment 247331
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247331&action=edit
diff for cf/m4/proto.m4

I and hrs (hrs@FreeBSD.org) researched this issue. So hrs@ found a order bug to
refer /etc/mail/acccess and a workaround.

- MTA-STS support almost work to outer MTA.
- MTA-STS enabled to local doesn't work to inner MTA. Because...
  - MTA-STS request TLS to UNIX domain socket, we think this is a bug.
  - hrs@ found a workaround to disable by TLS_Srv in /etc/mail/access. 
  - But TLS_Srv doesn't work to MTA-STS by not activate access table.


I confirmed that I can delivery to my local domain by MTA-STS enabled, to apply
attached patch, and set `TLS_Srv:localhost NONE` in /etc/mail/access (and
generated /etc/mail/access.db).

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