[Bug 252293] mail/qmail: qmailsend boot script delivery failure with procmail

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 30 21:37:18 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252293

            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 at FreeBSD.org
          Reporter: callumgibson at optusnet.com.au
                CC: erdgeist at erdgeist.org
             Flags: maintainer-feedback?(erdgeist at erdgeist.org)
                CC: erdgeist at 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="/var/qmail/bin:$PATH" ${command} \'"${command_args}"\'
splogger qmail&
+  exec env - PATH="/var/qmail/bin:/usr/local/bin:$PATH" ${command}
"${command_args}" splogger qmail&

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


More information about the freebsd-ports-bugs mailing list