https://bugzilla.redhat.com/show_bug.cgi?id=1185489
Bug ID: 1185489 Summary: permissions of dspamc different than dspam Product: Fedora EPEL Version: el6 Component: dspam Severity: low Assignee: nathanael@gnat.ca Reporter: kirkman.brian@gmail.com QA Contact: extras-qa@fedoraproject.org CC: nathanael@gnat.ca, perl-devel@lists.fedoraproject.org
Description of problem: The permissions for /usr/bin/dspam are 2511 dspam:mail whereas the permissions for /usr/bin/dspamc are 755 root:root. Dspam runs fine as a daemon being called by postfix, but calling dspamc to connect to the daemon is too permissive for most applications, i.e. dovecot-antispam.
Version-Release number of selected component (if applicable): dspam 3.10.2 and dspam-client 3.10.2
How reproducible: Always
Steps to Reproduce: 1. setup a working dspam daemon 2. setup dovecot-antispam to call dspamc 3. move message from Inbox to Junk folder
Actual results: /var/log/maillog logs the following when moving message from inbox to Junk folder: Jan 23 15:33:37 mail.localhost dspam[16176]: Unable to open file for reading: /etc/dspam.conf: Permission denied Jan 23 15:33:37 mail.localhost dspam[16176]: Unable to read dspam.conf Jan 23 15:33:37 mail.localhost dovecot: imap(myuser@mydomain.com): Connection closed bytes=153/1227
Expected results: Permissions of dspamc should allow dspamc to connect to dspam daemon. If dspamc is set to 2511 dspam:mail then dspamc can connect to dspam daemon.
Additional info: The dspamc binary is installed using the dspam-client package.
The setup described above is:
Postfix --> DSPAM daemon [LMTP unix socket] --> Dovecot [LMTP unix socket]
with dspamc being called from dovecot-antispam to connect to the dspam daemon and retrain spam.
https://bugzilla.redhat.com/show_bug.cgi?id=1185489
--- Comment #1 from Brian Kirkman kirkman.brian@gmail.com --- Please change permissive to restrictive
... but calling dspamc to connect to the daemon is too <strike>permissive<strike/> restrictive for most applications, i.e. dovecot-antispam.
https://bugzilla.redhat.com/show_bug.cgi?id=1185489
--- Comment #2 from Fedora Update System updates@fedoraproject.org --- dspam-3.10.2-5.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/dspam-3.10.2-5.el6
https://bugzilla.redhat.com/show_bug.cgi?id=1185489
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- Package dspam-3.10.2-5.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing dspam-3.10.2-5.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-0572/dspam-3.10.2-5... then log in and leave karma (feedback).
https://bugzilla.redhat.com/show_bug.cgi?id=1185489
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- dspam-3.10.2-16.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dspam-3.10.2-16.fc20
https://bugzilla.redhat.com/show_bug.cgi?id=1185489
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- dspam-3.10.2-16.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/dspam-3.10.2-16.fc21
https://bugzilla.redhat.com/show_bug.cgi?id=1185489
--- Comment #6 from Fedora Update System updates@fedoraproject.org --- dspam-3.10.2-10.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/dspam-3.10.2-10.el7
https://bugzilla.redhat.com/show_bug.cgi?id=1185489
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- dspam-3.10.2-6.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/dspam-3.10.2-6.el6
https://bugzilla.redhat.com/show_bug.cgi?id=1185489
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version| |dspam-3.10.2-16.fc21 Resolution|--- |ERRATA Last Closed| |2015-03-04 05:34:11
--- Comment #8 from Fedora Update System updates@fedoraproject.org --- dspam-3.10.2-16.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1185489
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|dspam-3.10.2-16.fc21 |dspam-3.10.2-16.fc20
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- dspam-3.10.2-16.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1185489
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|dspam-3.10.2-16.fc20 |dspam-3.10.2-10.el7
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- dspam-3.10.2-10.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1185489
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|dspam-3.10.2-10.el7 |dspam-3.10.2-6.el6
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- dspam-3.10.2-6.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
perl-devel@lists.fedoraproject.org