since 0.48.2.20050215 the ldapaliasrc is given permissions 0400 at install (if the ldap use flag is on). However this causes errors when sendmail is executed: % sendmail uhlar@fantomas.sk /etc/courier/ldapaliasrc: Permission denied Please change the default permissions to root:mail, 0640 - courier programs run with mail group that should be able to read configs
I have to agree with Matus - change the permissions on installation. Seeing the error on each startup attempt is anoying.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01e1690ff11369c6890a023b83b5125592a5a2b1 commit 01e1690ff11369c6890a023b83b5125592a5a2b1 Author: Hanno <hanno@gentoo.org> AuthorDate: 2019-01-03 09:45:59 +0000 Commit: Hanno <hanno@gentoo.org> CommitDate: 2019-01-03 09:45:59 +0000 mail-mta/courier: Version bump. Change permission of ldapaliasrc (#394417). Change mysql dependency (#665918). Switch to EAPI 7. Use upstream default libexecdir. Warn about Unicode maildir changes. Closes: https://bugs.gentoo.org/394417 Closes: https://bugs.gentoo.org/665918 Closes: https://bugs.gentoo.org/671042 Signed-off-by: Hanno Boeck <hanno@gentoo.org> Package-Manager: Portage-2.3.53, Repoman-2.3.12 mail-mta/courier/Manifest | 1 + mail-mta/courier/courier-1.0.5.ebuild | 314 ++++++++++++++++++++++++++++++++++ 2 files changed, 315 insertions(+)