We added a stand-alone zone, that is, a zone not attached to any account. Apparently, the action changed the ownership of /etc/userdomains from root:mail to root:root. Mode was not changed.
We only discovered it because customers suddenly started complaining about bounces:
Looking in the logs:
Changing ownership back to root:mail fixed it.
1. Is that a known issue?
2. Is there a way to prevent that?
We only discovered it because customers suddenly started complaining about bounces:
Code:
The message could not be sent. The setting for your outgoing email [SMTP] server might need to be configured. To find the server settings for '[email protected]', please contact your email service provider.
Subject 'Re: Subject'
Server Error: 451
Server Response: 451 Temporary local problem - please try later
Server: 'cp1.anotherfakedomain.tld'
Windows Live Mail Error ID: 0x800CCC79
Protocol: SMTP
Port: 465
Secure(SSL): Yes
Code:
2016-04-27 14:26:25 H=111.222.333.444.static.fakedomain.tld (ICRPC) [111.222.333.444]:33889 X=TLSv1:DES-CBC3-SHA:168 CV=no F=<[email protected]>
A=dovecot_login:[email protected] temporarily rejected RCPT <[email protected]>: failed to expand ACL string "${if eq{${lookup
{$sender_address_domain}lsearch*{/etc/userdomains}{$value}}}{$sender_address_local_part}{1}{0}}": failed to open /etc/userdomains for linear
search: Permission denied (euid=47 egid=12)
1. Is that a known issue?
2. Is there a way to prevent that?