[Bug 259147] mail/sendmail: Unbreak aliases file continuation lines after 8.17.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 13 Oct 2021 17:30:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259147

            Bug ID: 259147
           Summary: mail/sendmail: Unbreak aliases file continuation lines
                    after 8.17.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dinoex@FreeBSD.org
          Reporter: leres@freebsd.org
          Assignee: dinoex@FreeBSD.org
             Flags: maintainer-feedback?(dinoex@FreeBSD.org)

After upgrading to sendmail 8.17.1 I find that continuation lines, as
documented in aliases(5), no longer work:

    # svn diff
    Index: aliases
    ===================================================================
    --- aliases     (revision 52)
    +++ aliases     (working copy)
    @@ -4,6 +4,9 @@
     MAILER-DAEMON: postmaster
     postmaster: root

    +tester: root,
    +    leres
    +
     # General redirections for pseudo accounts
     bin:   root
     daemon:        root
    # newaliases
    /etc/mail/aliases: line 8: Non-continuation line starts with space
    /etc/mail/aliases: 18 aliases, longest 19 bytes, 245 bytes total

I found a thread in the comp.mail.sendmail google group with a patch:

    https://groups.google.com/g/comp.mail.sendmail/c/V9GeqvBi2rY/m/redOVdkbAwAJ

(After unmangling the whitespace) it fixes the error, I'll attach a version of
the patch.

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