Read permission on dkim_opendkim_config_dir (ie /etc/opendkim) for dkim_group (ie opendkim): either set o+r or, maybe better, set group ownership for this folder to dkim_group (ie opendkim) ensuring that dir has g+r but g-w (group should not have write permissions).
Hi again,
After running the role (on Ubuntu 20.04 LTS with some specific security configuration), I get:
The problem is that
dkim_group
(opendkim
) doesn't have read permissions on all the directories in path.https://github.com/FoxyRoles/ansible-dkim/blob/108f8c6f460aac488d37a03c0f909e6dec8c46ea/tasks/opendkim.yml#L19-L22
It might be a good idea if the role ensures:
dkim_opendkim_config_dir
(ie/etc/opendkim
) fordkim_group
(ieopendkim
): either seto+r
or, maybe better, set group ownership for this folder todkim_group
(ieopendkim
) ensuring that dir hasg+r
butg-w
(group should not have write permissions).keys/
subdir.Locally I used: