Bug 672068
Summary: | dspam web interface completely broken | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Matěj Cepl <mcepl> | ||||
Component: | dspam | Assignee: | Nathanael Noblet <nathanael> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | el5 | CC: | james34.99smith, mcepl, nathanael, perl-devel | ||||
Target Milestone: | --- | Keywords: | Patch, Reopened | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | dspam-3.9.0-17.el6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-03-11 20:57:32 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Succesful scratch build of my package is https://koji.fedoraproject.org/koji/taskinfo?taskID=2737933 I'll take a look.. I put it in /usr/share/dspam as other projects like drupal and wordpress place their files there... (In reply to comment #2) > I'll take a look.. I put it in /usr/share/dspam as other projects like drupal > and wordpress place their files there... Yes, however I am a complete newbie in working with apache, so I haven't managed to make SuExec working outside of VirtualServer. Of course, I would much prefer to have https://server/spam/ on the same server as main webmail. I'll investigate it a little bit So I've found the issue - a build is in the works to fix it. /etc/httpd/conf.d/dspam-web.conf needs to have AddHandler cgi-script .cgi within the <Directory> tags. Since the file is marked as a no replace config file my update won't 'fix' your previously installed copy. However will allow it to work out of the box in the proper location. dspam-3.9.0-13.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/dspam-3.9.0-13.fc14 dspam-3.9.0-13.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/dspam-3.9.0-13.el5 a) SuexecUserGroup context needs to be in VirtualHost, not in plain Directory. b) such virtual server must be located under /var/www (and owned by dspam:dspam) Which leads me to believe that (aside from /var/run/dspam/dspam.sock) the attachment 474846 [details] in comment 0 seems to me so far the best what I've seen (I am not saying flawless). Suggesting http://httpd.apache.org/docs/current/suexec.html for more information on suexec module. Sorry - why does it need to be SuexecUserGroup? Like I said I don't use the web front end... (In reply to comment #9) > Sorry - why does it need to be SuexecUserGroup? Like I said I don't use the web > front end... Mostly because ALL HOWTOs (using system wide settings) I found on this theme say so? I am really not sure, but take a look at http://www.mcnabbs.org/andrew/linux/dspam/ the official documentation at http://dspam.expass.de/wiki/CGI_with_Apache_suexec and others I am too lazy to google for again. Opposite is just http://www.gentoo-wiki.info/HOWTO_Spam_Filtering_with_DSPAM_and_Postfix but that uses UserDirs dspam-3.9.0-13.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update dspam'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/dspam-3.9.0-13.el5 dspam-3.9.0-13.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. dspam-3.9.0-13.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. (In reply to comment #9) > Sorry - why does it need to be SuexecUserGroup? Like I said I don't use the web > front end... I think you have reply to your question in http://article.gmane.org/gmane.mail.spam.dspam.user/17494 ... we should go through the list and make sure dspam out-of-the-box works like that in Fedora/EPEL. Package dspam-3.9.0-16.fc15: * should fix your issue, * was pushed to the Fedora 15 updates-testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dspam-3.9.0-16.fc15' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/dspam-3.9.0-16.fc15 then log in and leave karma (feedback). Package dspam-3.9.0-15.fc14: * should fix your issue, * was pushed to the Fedora 14 updates-testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dspam-3.9.0-15.fc14' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/dspam-3.9.0-15.fc14 then log in and leave karma (feedback). Package dspam-3.9.0-15.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 updates-testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dspam-3.9.0-15.el6' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/dspam-3.9.0-15.el6 then log in and leave karma (feedback). Package dspam-3.9.0-15.el5: * should fix your issue, * was pushed to the Fedora EPEL 5 updates-testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dspam-3.9.0-15.el5' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/dspam-3.9.0-15.el5 then log in and leave karma (feedback). dspam-3.9.0-15.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update dspam'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/dspam-3.9.0-15.el6 We have some problems with packaging: web.conf.rpmnew warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root warning: group dspam does not exist - using root chown: neplatná skupina: „dspam:dspam“ Stopping httpd: [ OK ] [root@luther dspam]# dspam --version [...] '--with-dspam-group=mail' '--with-dspam-home-group=mail' [...] Isn't this the problem? Package dspam-3.9.0-17.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 updates-testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dspam-3.9.0-17.el6' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/dspam-3.9.0-17.el6 then log in and leave karma (feedback). Package dspam-3.9.0-17.el5: * should fix your issue, * was pushed to the Fedora EPEL 5 updates-testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dspam-3.9.0-17.el5' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/dspam-3.9.0-17.el5 then log in and leave karma (feedback). Package dspam-3.9.0-17.fc15: * should fix your issue, * was pushed to the Fedora 15 updates-testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dspam-3.9.0-17.fc15' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/dspam-3.9.0-17.fc15 then log in and leave karma (feedback). Package dspam-3.9.0-17.fc14: * should fix your issue, * was pushed to the Fedora 14 updates-testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dspam-3.9.0-17.fc14' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/dspam-3.9.0-17.fc14 then log in and leave karma (feedback). dspam-3.9.0-17.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. dspam-3.9.0-17.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. dspam-3.9.0-17.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. dspam-3.9.0-17.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 474846 [details] patch to fix EL-5 branch of fedora repo Description of problem: When I installed dspam-web I get no working web interface at all. No wonder, as dsapm web interface seems to require (to my naive apache-newbie eye) suexec and that requires virtual server. I have reworked whole configuration and with the attached patch it seems to work much better now. Please, review the patch whether it makes any sense to you. Version-Release number of selected component (if applicable): dspam-3.9.0-9.el5 How reproducible: 100%