From owner-freebsd-ports-bugs@freebsd.org Thu Aug 10 16:26:28 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32E4EDD71C5 for ; Thu, 10 Aug 2017 16:26:28 +0000 (UTC) (envelope-from spry@anarchy.in.the.ph) Received: from mail-pf0-x22a.google.com (mail-pf0-x22a.google.com [IPv6:2607:f8b0:400e:c00::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 09A536808E for ; Thu, 10 Aug 2017 16:26:28 +0000 (UTC) (envelope-from spry@anarchy.in.the.ph) Received: by mail-pf0-x22a.google.com with SMTP id o86so5060505pfj.1 for ; Thu, 10 Aug 2017 09:26:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarchy-in-the-ph.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=OsjtP0CFW/ui9+aihSnTngTfV3/B4FZL6QzfFUMABnI=; b=u/I0jwF4sKa5uLutWHwj9PmJ6ht5e3vtBIBT0LIMQacbB9uZeGhgXQN1z7+JIa01iE iOMEr3IUpnl1Y5IfydiR/HMdl/pZ0YYpABvVqawhQrk+uvK+uyJo23HZ6kY3yN15z/Da QbJAZbXmbR2BUsrARBDNxnexaBDWYb+jGLzXRG76epUn5DClk9FQU1UsBy3XNjfKmMcO NekNkPFjv7CPqLvMoHwsvNUiltcv6QXu2LzK/9OAQDigsxu6+aNY+e7ZaAQ4yb3D9LK5 rcRxPPzWw8H/nJP0sao25XgYUfcEkMS2M4YbANIJkCj+8DECqzy9HYgMl5N85dMUOdtl /8Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=OsjtP0CFW/ui9+aihSnTngTfV3/B4FZL6QzfFUMABnI=; b=h0FGlEpr4x67nJKVS+vHPECCyvND/i26hEVMlykmSdVYMwBkdMQQBVO2z1J3lJEEI1 TqJq31O0/n+b36KxwAoq5TpvzVDGYc80bU4HNretmuye3iw/uD9JgO/yM3v64yjoju2T VqMEVEqN33gzJqroo7KmZ+v7ZnydDcLa7Mt/MzAxRQsqirUVAzDy16+kbNLtdD6uWBGR 4w93J73fLyrAq25tdb2dSxZVwNpcVKNG3VgVMbLZCvJxU4hkKP1z+y9GSIFksyfd4g/5 oJ0lLNM6hZn3Pq85ehsG9oYj/TxlRqdkZeBVOW2gfLZ4CkWA+4hUSEe5BbQoEwg5zylZ 0BHA== X-Gm-Message-State: AHYfb5gSLAbkgrre2Q+eLZJ1jTZ4Zoks4nnV9a+Q4rfTXK9sU8lIAA3v qKQNi3tRdN/2jTsS/0c= X-Received: by 10.98.33.148 with SMTP id o20mr12690624pfj.89.1502382387072; Thu, 10 Aug 2017 09:26:27 -0700 (PDT) Received: from m1a1x0.krakensys.lokal ([110.54.186.160]) by smtp.googlemail.com with ESMTPSA id h192sm10555343pgc.20.2017.08.10.09.26.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Aug 2017 09:26:26 -0700 (PDT) To: freebsd-ports-bugs@freebsd.org From: "Mars G. Miro" Subject: mail/qmail's qmailsend quotes Message-ID: <598C8962.4080607@anarchy.in.the.ph> Date: Fri, 11 Aug 2017 00:27:14 +0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2017 16:26:28 -0000 Hi, It seems that the quotes in rc.d/qmailsend prevents mailing to a local user's Maildir/ directory. Current behavior: qmails 49270 0.0 0.0 12420 1904 3 SJ 11:51AM 0:00.00 qmail-send qmaill 49272 0.0 0.0 12372 1968 3 SJ 11:51AM 0:00.00 - splogger qmail root 49273 0.0 0.0 12372 1848 3 SJ 11:51AM 0:00.00 - qmail-lspawn './Maildir/' qmailr 49274 0.0 0.0 12376 1844 3 SJ 11:51AM 0:00.00 - qmail-rspawn qmailq 49275 0.0 0.0 12368 1840 3 SJ 11:51AM 0:00.00 - qmail-clean Logs: Aug 10 11:18:58 XXXXXXX qmail: 1502378338.555999 new msg 5542608 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.556039 info msg 5542608: bytes 294 from qp 48744 uid 1000 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.601856 starting delivery 7: msg 5542608 to local mars@XXXXXXX.domain.name Aug 10 11:18:58 XXXXXXX qmail: 1502378338.601880 status: local 1/10 remote 0/20 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.646321 new msg 5542612 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.646353 info msg 5542612: bytes 405 from qp 48747 uid 1000 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.689306 starting delivery 8: msg 5542612 to local './Maildir/'@XXXXXXX.domain.name Aug 10 11:18:58 XXXXXXX qmail: 1502378338.689325 status: local 2/10 remote 0/20 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.689333 delivery 7: success: did_0+1+0/qp_48747/ Aug 10 11:18:58 XXXXXXX qmail: 1502378338.689371 status: local 1/10 remote 0/20 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.689406 end msg 5542608 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.690543 delivery 8: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Aug 10 11:18:58 XXXXXXX qmail: 1502378338.690626 status: local 0/10 remote 0/20 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.731800 bounce msg 5542612 qp 48750 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.731826 end msg 5542612 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.731963 new msg 5542617 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.731990 info msg 5542617: bytes 978 from <> qp 48750 uid 87 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.773434 starting delivery 9: msg 5542617 to local mars@XXXXXXX.domain.name Aug 10 11:18:58 XXXXXXX qmail: 1502378338.773455 status: local 1/10 remote 0/20 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.815822 new msg 5542609 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.815850 info msg 5542609: bytes 1089 from <> qp 48753 uid 1000 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.857254 starting delivery 10: msg 5542609 to local './Maildir/'@XXXXXXX.domain.name Aug 10 11:18:58 XXXXXXX qmail: 1502378338.857273 status: local 2/10 remote 0/20 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.857285 delivery 9: success: did_0+1+0/qp_48753/ Aug 10 11:18:58 XXXXXXX qmail: 1502378338.857316 status: local 1/10 remote 0/20 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.857343 end msg 5542617 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.858485 delivery 10: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Aug 10 11:18:58 XXXXXXX qmail: 1502378338.858552 status: local 0/10 remote 0/20 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.899806 bounce msg 5542609 qp 48756 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.899824 end msg 5542609 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.899952 new msg 5542638 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.899977 info msg 5542638: bytes 1574 from <#@[]> qp 48756 uid 87 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.941378 starting delivery 11: msg 5542638 to local postmaster@XXXXXXX.domain.name Aug 10 11:18:58 XXXXXXX qmail: 1502378338.941395 status: local 1/10 remote 0/20 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.983831 new msg 5542618 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.983851 info msg 5542618: bytes 1688 from <#@[]> qp 48759 uid 81 Aug 10 11:18:59 XXXXXXX qmail: 1502378339.025466 delivery 11: success: did_0+1+0/qp_48759/ Aug 10 11:18:59 XXXXXXX qmail: 1502378339.025510 status: local 0/10 remote 0/20 Aug 10 11:18:59 XXXXXXX qmail: 1502378339.025536 starting delivery 12: msg 5542618 to local './Maildir/'@XXXXXXX.domain.name Aug 10 11:18:59 XXXXXXX qmail: 1502378339.025548 status: local 1/10 remote 0/20 Aug 10 11:18:59 XXXXXXX qmail: 1502378339.025566 end msg 5542638 Aug 10 11:18:59 XXXXXXX qmail: 1502378339.026777 delivery 12: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Aug 10 11:13:00 XXXXXXX qmail: 1502377980.910953 triple bounce: discarding bounce/5542618 Aug 10 11:13:00 XXXXXXX qmail: 1502377980.910973 end msg 5542618 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.555999 new msg 5542608 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.556039 info msg 5542608: bytes 294 from qp 48744 uid 1000 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.601856 starting delivery 7: msg 5542608 to local mars@XXXXXXX.domain.name Aug 10 11:18:58 XXXXXXX qmail: 1502378338.601880 status: local 1/10 remote 0/20 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.646321 new msg 5542612 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.646353 info msg 5542612: bytes 405 from qp 48747 uid 1000 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.689306 starting delivery 8: msg 5542612 to local './Maildir/'@XXXXXXX.domain.name Aug 10 11:18:58 XXXXXXX qmail: 1502378338.689325 status: local 2/10 remote 0/20 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.689333 delivery 7: success: did_0+1+0/qp_48747/ Aug 10 11:18:58 XXXXXXX qmail: 1502378338.689371 status: local 1/10 remote 0/20 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.689406 end msg 5542608 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.690543 delivery 8: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Aug 10 11:18:58 XXXXXXX qmail: 1502378338.690626 status: local 0/10 remote 0/20 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.731800 bounce msg 5542612 qp 48750 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.731826 end msg 5542612 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.731963 new msg 5542617 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.731990 info msg 5542617: bytes 978 from <> qp 48750 uid 87 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.773434 starting delivery 9: msg 5542617 to local mars@XXXXXXX.domain.name Aug 10 11:18:58 XXXXXXX qmail: 1502378338.773455 status: local 1/10 remote 0/20 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.815822 new msg 5542609 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.815850 info msg 5542609: bytes 1089 from <> qp 48753 uid 1000 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.857254 starting delivery 10: msg 5542609 to local './Maildir/'@XXXXXXX.domain.name Aug 10 11:18:58 XXXXXXX qmail: 1502378338.857273 status: local 2/10 remote 0/20 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.857285 delivery 9: success: did_0+1+0/qp_48753/ Aug 10 11:18:58 XXXXXXX qmail: 1502378338.857316 status: local 1/10 remote 0/20 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.857343 end msg 5542617 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.858485 delivery 10: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Aug 10 11:18:58 XXXXXXX qmail: 1502378338.858552 status: local 0/10 remote 0/20 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.899806 bounce msg 5542609 qp 48756 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.899824 end msg 5542609 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.899952 new msg 5542638 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.899977 info msg 5542638: bytes 1574 from <#@[]> qp 48756 uid 87 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.941378 starting delivery 11: msg 5542638 to local postmaster@XXXXXXX.domain.name Aug 10 11:18:58 XXXXXXX qmail: 1502378338.941395 status: local 1/10 remote 0/20 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.983831 new msg 5542618 Aug 10 11:18:58 XXXXXXX qmail: 1502378338.983851 info msg 5542618: bytes 1688 from <#@[]> qp 48759 uid 81 Aug 10 11:18:59 XXXXXXX qmail: 1502378339.025466 delivery 11: success: did_0+1+0/qp_48759/ Aug 10 11:18:59 XXXXXXX qmail: 1502378339.025510 status: local 0/10 remote 0/20 Aug 10 11:18:59 XXXXXXX qmail: 1502378339.025536 starting delivery 12: msg 5542618 to local './Maildir/'@XXXXXXX.domain.name Aug 10 11:18:59 XXXXXXX qmail: 1502378339.025548 status: local 1/10 remote 0/20 Aug 10 11:18:59 XXXXXXX qmail: 1502378339.025566 end msg 5542638 Aug 10 11:18:59 XXXXXXX qmail: 1502378339.026777 delivery 12: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Aug 10 11:18:59 XXXXXXX qmail: 1502378339.026841 status: local 0/10 remote 0/20 Aug 10 11:18:59 XXXXXXX qmail: 1502378339.026864 triple bounce: discarding bounce/5542618 Aug 10 11:18:59 XXXXXXX qmail: 1502378339.026886 end msg 5542618 Fix: root@XXXXXX:/usr/local/etc/rc.d# diff -ru ~/qmailsend qmailsend --- /root/qmailsend 2017-04-14 01:23:54.000000000 -0400 +++ qmailsend 2017-08-10 11:53:14.653450000 -0400 @@ -41,7 +41,7 @@ qmailsend_start() { case ${qmailsend_delivery} in - maildir) command_args='./Maildir/';; + maildir) command_args=./Maildir/;; mailbox) command_args='./Mailbox';; proc) command_args='|preline procmail';; V7) command_args='|preline -f /bin/mail -f "${SENDER:-MAILER-DAEMON}" -d "$USER"';; @@ -54,7 +54,7 @@ '"${command_args}" fi - exec env - PATH="/var/qmail/bin:$PATH" ${command} \'"${command_args}"\' splogger qmail& + exec env - PATH="/var/qmail/bin:$PATH" ${command} "${command_args}" splogger qmail& /bin/pgrep -P $$ > ${pidfile} } root@XXXXXX:/usr/local/etc/rc.d# root@XXXXXX:/usr/local/etc/rc.d# ps auxwwd | grep qm qmails 49293 0.0 0.0 12420 1932 3 IJ 11:53AM 0:00.00 qmail-send qmaill 49295 0.0 0.0 12372 1968 3 IJ 11:53AM 0:00.00 - splogger qmail root 49296 0.0 0.0 12372 1852 3 IJ 11:53AM 0:00.00 - qmail-lspawn ./Maildir/ qmailr 49297 0.0 0.0 12376 1844 3 IJ 11:53AM 0:00.00 - qmail-rspawn qmailq 49298 0.0 0.0 12368 1840 3 IJ 11:53AM 0:00.00 - qmail-clean root@XXXXXX:/usr/local/etc/rc.d# Logs: Aug 10 11:53:40 XXXXXXXX qmail: 1502380420.414114 new msg 5542608 Aug 10 11:53:40 XXXXXXXX qmail: 1502380420.414182 info msg 5542608: bytes 288 from qp 49301 uid 1000 Aug 10 11:53:40 XXXXXXXX qmail: 1502380420.460087 starting delivery 1: msg 5542608 to local mars@XXXXXXXX.domain.name Aug 10 11:53:40 XXXXXXXX qmail: 1502380420.460106 status: local 1/10 remote 0/20 Aug 10 11:53:40 XXXXXXXX qmail: 1502380420.499610 delivery 1: success: did_1+0+0/ Aug 10 11:53:40 XXXXXXXX qmail: 1502380420.499667 status: local 0/10 remote 0/20 -- Learned men are the cisterns of knowledge, not the fountainheads.