[Bug 280117] parsing of aliases file rejects necessary syntax

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 03 Jul 2024 23:41:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280117

            Bug ID: 280117
           Summary: parsing of aliases file rejects necessary syntax
           Product: Base System
           Version: 14.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: steinhelten@gmail.com

sendmail/newaliases now rejects aliases it has accepted for years.  It won't
even accept some of it's own examples - for instance
msgs:  "| /usr/bin/msgs -s"
generates a syntax error.  So do aliases of this type:
csadmin:        "John Radical" <jrad@gmail.com>,
        "John Lind" <john@starfire.mn.org>
It has accepted these aliases for YEARS.

BTW, while it will accept
msgs:  "|/usr/bin/msgs"
it won't accept any spaces after the pipe symbol nor before parameters. Not
having spaces after the pipe symbol may be cosmetic (though it violates the
documentation) but not being able to have spaces to separate parameters is
problematic.
FreeBSD remo 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8
GENERIC arm64

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