From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 88AA2138334 for ; Wed, 27 Mar 2019 17:19:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 794E3E090F; Wed, 27 Mar 2019 17:19:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 557ACE090F for ; Wed, 27 Mar 2019 17:19:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4B9B3335D44 for ; Wed, 27 Mar 2019 17:19:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4750B58B for ; Wed, 27 Mar 2019 17:19:05 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1553707088.1e35c9f5cb7862d43cecc76cf4159bae5b71ff9c.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/opendkim/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/opendkim/opendkim-2.10.3-r7.ebuild X-VCS-Directories: mail-filter/opendkim/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 1e35c9f5cb7862d43cecc76cf4159bae5b71ff9c X-VCS-Branch: master Date: Wed, 27 Mar 2019 17:19:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 69b2687d-eb98-4b8f-8231-09f98187bf53 X-Archives-Hash: a9fbd0b548241765959fc0c63c303514 commit: 1e35c9f5cb7862d43cecc76cf4159bae5b71ff9c Author: Michael Orlitzky gentoo org> AuthorDate: Wed Mar 27 16:01:33 2019 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Wed Mar 27 17:18:08 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e35c9f5 mail-filter/opendkim: add an elog about sharing a local socket. Sharing a local OpenDKIM socket with an MTA is far too tricky. This commit adds an elog with some vague hints, but we really need a decent wiki page with some step-by-step instructions. This is progress towards bug 575666, but I won't consider that resolved until we have a wiki page. Bug: https://bugs.gentoo.org/575666 Signed-off-by: Michael Orlitzky gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 mail-filter/opendkim/opendkim-2.10.3-r7.ebuild | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/mail-filter/opendkim/opendkim-2.10.3-r7.ebuild b/mail-filter/opendkim/opendkim-2.10.3-r7.ebuild index 0b954394930..28700f34963 100644 --- a/mail-filter/opendkim/opendkim-2.10.3-r7.ebuild +++ b/mail-filter/opendkim/opendkim-2.10.3-r7.ebuild @@ -153,6 +153,18 @@ pkg_postinst() { elog " emerge --config ${CATEGORY}/${PN}" elog "It will help you create your key and give you hints on how" elog "to configure your DNS and MTA." + + # TODO: This is tricky, we really need a good wiki page showing + # how to share a local socket with an MTA! + elog "If you are using a local (UNIX) socket, then you will" + elog "need to make sure that your MTA has read/write access" + elog "to the socket file. This is best accomplished by creating" + elog "a completely-new group with only your MTA user and the " + elog "\"opendkim\" user in it. You would then set \"UMask 0112\"" + elog "in your opendkim.conf, and switch the primary group of your" + elog "\"opendkim\" user to the group that you just created. The" + elog "last step is necessary for the socket to be created as the" + elog "new group (and not as group \"opendkim\")". else ewarn "The user account for the OpenDKIM daemon has changed" ewarn "from \"milter\" to \"opendkim\" to prevent unrelated services"