Bug 1744535 - stats-writer permission denied
Summary: stats-writer permission denied
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: dovecot
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-22 11:22 UTC by Tom Horsley
Modified: 2019-12-16 09:42 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Tom Horsley 2019-08-22 11:22:14 UTC
Description of problem:

Using fetchmail to suck mail off servers and feed it to my local dovecot server. The fetchmail rc file uses the "mda" directive to send them mail through /usr/libexec/dovecot/deliver.

Since some update of dovecot (not sure when, since I didn't notice right away), I now get the logs from running fetchmail filled up with:

lda(tweety,)Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied


Version-Release number of selected component (if applicable):
dovecot-pigeonhole-2.3.6-3.fc30.x86_64
dovecot-2.3.6-3.fc30.x86_64


How reproducible:
100%

Steps to Reproduce:
1.see above
2.
3.

Actual results:
permission denied errors

Expected results:
clean log files

Additional info:

Presumably if I make a /etc/dovecot/conf.d/90-stats.conf file and set access permissions on /var/run/dovecot/stats-writer to 0666, this will go away, but I have no idea if that is a reasonable solution in general. Seems like there ought to be a secure mechanism for deliver to write stats if it insists on trying.


Note You need to log in before you can comment on or make changes to this bug.