Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 2020 21:37:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 252293] mail/qmail: qmailsend boot script delivery failure with procmail
Message-ID:  <bug-252293-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252293

            Bug ID: 252293
           Summary: mail/qmail: qmailsend boot script delivery failure
                    with procmail
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: callumgibson@optusnet.com.au
                CC: erdgeist@erdgeist.org
             Flags: maintainer-feedback?(erdgeist@erdgeist.org)
                CC: erdgeist@erdgeist.org

When qmailsend runs in procmail delivery mode it invokes "|preline procmail"
however as procmail is a port, it resides in /usr/local/bin which is neither
added to the path, nor explicitly invoked.

Secondly, the quoting in the command invocation is incorrect, with too many
levels of quoting to allow command_args to run as a pipeline.

Mail will bounce with an error such as:
<'|preline procmail'@mail.example.com>:
Sorry, no mailbox here by that name. (#5.1.1)

I've been patching /var/qmail/boot/qmailsend with:

-  exec env - PATH=3D"/var/qmail/bin:$PATH" ${command} \'"${command_args}"\'
splogger qmail&
+  exec env - PATH=3D"/var/qmail/bin:/usr/local/bin:$PATH" ${command}
"${command_args}" splogger qmail&

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252293-7788>