From nobody Mon Apr 15 17:14:03 2024 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 4VJDKl4y9Wz5H00B for ; Mon, 15 Apr 2024 17:14:03 +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 4VJDKl32ZGz474F for ; Mon, 15 Apr 2024 17:14:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713201243; a=rsa-sha256; cv=none; b=rsAjLK4Yv/sIsCY9bQ3GJfTxRU9dExbRV1yObWfdS6oBbKfSaCQ9sq4z3IfJSa7AniULwB 4VaKB9ZUEYoSIaUgoFJ9bGRgR6DINubar0fawAuwZMg4H5WH7GE7ofN1EgNHJWwwjEvI62 oZkJE/ji06opDfKWh25E144pO+AG4VjOmTBQZOcHT7IgiEpc50igiwMAGLO2VJ5iUSH/dg J1wJgHdXOeklAH2+o2noSYcUu7P6262TxsKQsl93Zx2OkxkQkC7u36sCnQF932/J4jqrBZ siEuRE+IFOO98Kxk6cZhU1IEfNgyb9MbEQuTwDeBFwruMksc1pinpcHTzcDTaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713201243; 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: in-reply-to:in-reply-to:references:references; bh=dqnsCdrCIlKaOFE/awcakE3UbXmyQRhQ0Yhxc+89No4=; b=vCvt4buYA65A3K+Iv0+LO8IKREsAtjxpdi5lpQi+jZh8BYrQb4iOCsnYJMYKzW3AnSej5j gDyAkxNU3gGnxFIaXPq2aXgz0NbiS+D9OdB1T00jdMutSlx4i9d6AOTnEzz/pE/ZrbZVr+ 3lcKmpfMlwPEaT4AG/22oD2ksbZRPkU6ECYimZJ8+Z8/1PN+rA09fBmdtJdrr+s5sx+rtb 4cN7Da8NsQ4BwSP1Scrtmlc+JgHiWOHdtcnuRl5Wl1H6CFlhsXunfICgMGAtxsDaTEHtBa 1F8INes3GvzojEwAKOy3UGfoIZXjCblu0anNKNRS+/LW3qsa7+2NUVbS9vLX3Q== 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 4VJDKl2fk5z17Vp for ; Mon, 15 Apr 2024 17:14:03 +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 43FHE3wh055586 for ; Mon, 15 Apr 2024 17:14:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43FHE3mk055585 for bugs@FreeBSD.org; Mon, 15 Apr 2024 17:14:03 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 253759] sendmail does not quote GECOS information for From header Date: Mon, 15 Apr 2024 17:14:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michaelo@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: Message-ID: In-Reply-To: References: 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=3D253759 --- Comment #2 from Michael Osipov --- As it turns out to: $ grep -ri -e MustQuoteChars -e MUST_QUOTE_CHARS . ./KNOWNBUGS: If a full name phrase includes characters from MustQuoteChars, sendmail ./KNOWNBUGS: will quote the entire full name phrase. If MustQuoteChars includes ./KNOWNBUGS: MustQuoteChars even though it is not listed as a special character in ./RELEASE_NOTES: DOC: Note to set MustQuoteChars=3D. due to DKIM signatures. ./RELEASE_NOTES: confALLOW_BOGUS_HELO, and confMUST_QUOTE_CH= ARS for ./RELEASE_NOTES: MustQuoteChars respectively. ./RELEASE_NOTES: Add MustQuoteChars option. This is a list of characters that must ./cf/README:confMUST_QUOTE_CHARS MustQuoteChars [.'] Characters to = be quoted in a full ./cf/cf/submit.cf:#O MustQuoteChars=3D. ./cf/m4/proto.m4:_OPTION(MustQuoteChars, `confMUST_QUOTE_CHARS', `.') ./doc/op/op.me:.ip MustQuoteChars=3D\fIs\fP ./doc/op/op.me:O MustQuoteChars=3D. ./src/conf.c: MustQuoteChars =3D "@,;:\\()[].'"; ./src/headers.c: if (strchr(MustQuoteChars, c) !=3D NULL) ./src/readcf.c: { "MustQuoteChars", O_MUSTQUOTE, OI_NONE }, ./src/readcf.c: "Warning: MustQuoteCha= rs too long, ignored.\n"); ./src/readcf.c: MustQuoteChars =3D newstr(buf); ./src/sendmail.h:EXTERN char *MustQuoteChars; /* quote these characters in phrases */ ./src/util.c:** XXX: This may be a problem for EAI? MustQuoteChars is used. ./src/util.c: strchr(MustQuoteChars, *c) !=3D NU= LL) sendmail does include a sensible default in C, but it is overridden in ./cf/m4/proto.m4, thus disabling it. You have to modify your mc file: define(`confMUST_QUOTE_CHARS', `@,;:\()[].<>') to get back RFC compliant behavior with 3.2.3 specials production. Personally, I don't understand that since I expect by default compliant behavior. I still consider it as a bug in the default installation. --=20 You are receiving this mail because: You are the assignee for the bug.=