Bug 53732 - 30-ox-push-notifications.conf has wrong file permissions
30-ox-push-notifications.conf has wrong file permissions
Status: NEW
Product: Z_Internal OX development
Classification: Unclassified
Component: Mail
UCS 5.0 / 7.10.5
Other Linux
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
:
Depends on: 50837
Blocks:
  Show dependency treegraph
 
Reported: 2021-09-01 08:08 CEST by Daniel Duchon
Modified: 2022-04-08 15:38 CEST (History)
4 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2021082521000422, 2022010521000319
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Duchon univentionstaff 2021-09-01 08:08:40 CEST
Used OX-App-Version: 7.10.5-ucs3

Another Customer is affected.

As in a remote-session with Daniel T and Erik D noted, the incorrect file permissions cause the quota warning emails not to be sent.

Changing the file groups from dovecot to dovemail helped.

+++ This bug was initially created as a clone of Bug #50837 +++

noticed during a training:
/etc/dovecot/conf.d/30-ox-push-notifications.conf is 640 root:dovecot. Other files in conf.d are 644 root:root
This results for example in a permission denied errer when trying to do things with doveadm.
Comment 1 Dirk Schnick univentionstaff 2022-01-19 12:09:17 CET
Another customer environment. The wrong file permission causes missing quota warnings
Comment 2 Dirk Schnick univentionstaff 2022-01-19 13:21:40 CET
To find this via search here the error message in the syslog:

root@mailUCS:~ # zgrep 'Permission denied' /var/log/syslog
/var/log/syslog.2.gz:Jan  7 13:18:38 srvmail dovecot: quota-warning: Error: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/90-acl.conf line 0: Couldn't open include file /etc/dovecot/conf.d/30-ox-push-notifications.conf: Permission denied


root@mailUCS:~ # ls -lsa /etc/dovecot/conf.d/30-ox-push-notifications.conf
4 -rw-r----- 1 root dovecot   853 Dez 20 09:56 30-ox-push-notifications.conf

root@mailUCS:~ # chown :dovemail /etc/dovecot/conf.d/30-ox-push-notifications.conf

See https://help.univention.com/t/problem-no-quota-warning-sent-anymore/19251