From nobody Sat Aug 19 00:22:14 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RSKF275Ctz4fxnD for ; Sat, 19 Aug 2023 00:22:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RSKF24yYDz3DGj for ; Sat, 19 Aug 2023 00:22:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692404534; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0RMi93W+0uWvYHTM30JB8xd1IuAS8EbQnvrTYsiIYUM=; b=xw94qSdJWz6KvXWLqUT8S2L/0eGkXrONVZFPUbAPm57CE9vtzBdP2pe3sgFIxpYJ7IyJbB fs11jG4xMNfCoDJbgaaaf2aJPgdyD+qMkYBETZDAgDijGpYxvLcSBUaJRXf6DcRZMsjv12 DEMO6uTfJfTgEqDC5BASnrLuKwlj/PwU7ZX7UlQCLGG6iN98gwgpDRLfG/kmiE6r61J4q8 E96jtHKid/q/INnw2f+6Id5jVFo97m+WKCQnFLnJ4wemCs5Q+TZdBXdnYk6Clo29ItFo86 iVQWYsoUAK607nX3sLswLlJAmZOLtWq8zt6uQ3k7mrpJbjqW6w6T0oMbQL5GSA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692404534; a=rsa-sha256; cv=none; b=PKqigmLf0vqhdaY6L6NSJDNHOCV7ssnahR6+y15WhGHQk9TL1QfvPv2j7PglbHR2NRn0MJ dE87T5JAV/grliLQtZLIx29bH5gODZeoq42we/VbGSu23M38jtAAn0ZRpzRLlkBrFBJc9O glDJK1R2hHFFeeRjwKf37LZlmChNlbUSwa72RB1E4ZZck+OKhrBKLX9UwPatXbAHaZrwbb nZUeygxFETWrlCuBVe0upOLcSTWnGfkXm0y5XstxxocSrzv8fa3fZcr1d1a27WFmpIcNT3 wRG/ZMfebyvvmye2waSYOXuwtJYLrW1xXytknbQuJU2UgTH0bu+Lkf18ShhSBg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RSKF242qczcLw for ; Sat, 19 Aug 2023 00:22:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 37J0MEPO060393 for ; Sat, 19 Aug 2023 00:22:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37J0MEHf060372 for bugs@FreeBSD.org; Sat, 19 Aug 2023 00:22:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 273221] DMA does not correctly honor the addresees with the same invocation as sendmail Date: Sat, 19 Aug 2023 00:22:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gjb@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273221 Bug ID: 273221 Summary: DMA does not correctly honor the addresees with the same invocation as sendmail Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: gjb@FreeBSD.org In main as DMA had become the default MTA, there is a difference in its handling of command-line arguments. Consider a situation where /usr/sbin/sendmail is a link to /usr/sbin/mailwrapper, and /etc/mail/mailer.conf is set to use /usr/libexec= /dma given the following simple script: #!/bin/sh body=3D"Hello world" subject=3D"Hello" emailsentfrom=3D"$USER" emailgoesto=3D"$USER1 $USER2" printf "From: ${emailsentfrom}\nTo: ${emaiilgoesto}\n \ Subject: "${subject}"\n\n${body}\n\n" \ | /usr/sbin/sendmail -oi -f ${emailsentfrom} ${emailgoesto} With sendmail, "${emailgoesto}" would properly expand to whomever $USER1 and $USER2 are, comma-separated, which is expected. With DMA, "${emailgoesto}" is not comma-separated, and are verbatim the expanded values "$USER1 $USER2", which is not expected. --=20 You are receiving this mail because: You are the assignee for the bug.=