Summary: | app-text/crm114 ebuild needs to do more after install | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tomas charvat <tc> |
Component: | New packages | Assignee: | Steev Klimaszewski (RETIRED) <steev> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | steeeeeveee |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://triplehelix.org/~joshk/CRM114.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
tomas charvat
2007-04-13 20:37:42 UTC
proper command for creating of css files are cssutil -r -b /usr/share/crm114/nonspam.css cssutil -r -b /usr/share/crm114/spam.css added also URL link related to installation Hmm, I am going to have to think about this - I don't actually use crm114 with SA - we use it at work for, other things - but, reading that site, the installation guide show doing it in the users home directory - which, personally, makes more sense to me. Yeep, but where to put it on mail relay ? Thats the question :) Maybe SA user homedir .... i will also keep playing with this setup and post some results .. if i will have any :D So here is list of things, that i dano to run CRM114 as SA plugin under gentoo. USE="mimencode nls normalizemime" emerge crm114 then go to /usr/share/crm114 and run cssutil -r -b /usr/share/crm114/nonspam.css cssutil -r -b /usr/share/crm114/spam.css ln -s /usr/bin/crm114_tre /usr/share/crm114_tre [SA plugin search for this file in share not bin... ] then edit /usr/share/crm114/mailfilter.cf and customize it... you have to read this file, otherwise its not going to work, there are things to set, like password Now you are ready to train your CRM114 via mailtrainer.crm Download SA plugin at http://wiki.apache.org/spamassassin/CustomPlugins And here comes the dwarf... Now you have to copy or link your /usr/share/crm114 to the ~/.crm114 of user, whois running spamd. Dont forget to change permition on files after copying them. It should not be needed if you are running spamd as root, but i didnt try that. Restart spamd and things should work. I would also suggest to change multiplicator in crm114.cf from -0.05 to -0.01 for some time, until crm114 will lack accurancy huh .. i guess you never saw more lame howto :) I am against cssutil to automatically create the *.css files. I use CRM114 and use another tokenizer which requires me to use osbf-util for crating the *.css files. So creating automatically the *.css files with cssutil is a "no go" for me. The CRM114 web page is full of howtos for various scenarios. Using CRM114 for SA is just one possible way of using CRM114. Please don't confuse your usage of CRM114 with the usage of others. Other people have other needs and crating the *.css files under /usr/share/crm114 is not the best way and definatly not the only way. Anyway... I think this bug report is wrong. It should not be here in bugs.gentoo.org since it is not a real bug. It is just a handling issue with CRM114 but not a real bug. I think forums.gentoo.org is the better place to talk about CRM114 and not bugs.gentoo.org. Agree.... just suggesting after ebuild instalation would be enough. (In reply to comment #6) > Agree.... just suggesting after ebuild installation would be enough. > Suggesting what? How to implement CRM114 with SA? Or how to implement CRM114 with a MTA? Or how to implement CRM114 with a LDA? etc... If you emerge CRM114 then you probably know what it is and for what to use it for. And the home page of CRM114 has a nice collection on howto's. I think anyone who is using CRM114 will go first to the CRM114 homepage and read there and probably overlook what the ebuild prints out at the end of the installation. If the howto is anyway located at the homepage of CRM114 then I personally don't see any real need to print out a reminder. If the location would be somewhere hidden on the net, then why not? But why printing the obvious and being responsible to maintain additional stuff in the ebuild? Sorry Tomas. This is not an attack. I just feel it is very difficult to keep everyone happy. Let's assume the maintainer prints a hint how to install CRM114 for SA or even integrates CMR114 into SA. The next day a Postfix user will complain here that there is not hint for how to integrate mailreaver/mailtrainer/mailfilter into Postfix. And the other day a sendmail user will complain that there is no hint how to integrate CRM114 into sendmail, and then again someone like me will complain that the currently integrated way for CRM114 to SA is totally wrong and should be done the other way around, etc... Never ending story. Better keep the ebuild small and allow it to do what it should do. The ebuild can not solve all issues with CRM114. The current ebuild installs CRM114 and it is doing this very well. (In reply to comment #7) But thats exactly how i ended here. I read crm114 page, spamassassin and after orrible megagoogling i finaly found http://crm114.sourceforge.net/docs/CRM114_Mailfilter_HOWTO.txt (yeah yeah ... CMR114 is not just for mail filtering, but i would say, that its primary for mail filtering and there will be many people trying to integrate it with their system.) CRM114 got new wiki since that time, but HOW-TO is well hidden in "Quick look" instead of documentation. Well ... i do not insist on anything.. i brought suggestion. If you feel it is irrelevant, its quite ok. Anyway i will try to post some how-to on forums for those who might be interesting in CRM114+SA on gentoo. (In reply to comment #8) > (In reply to comment #7) > > But thats exactly how i ended here. I read crm114 page, spamassassin and after > orrible megagoogling i finaly found > http://crm114.sourceforge.net/docs/CRM114_Mailfilter_HOWTO.txt > (yeah yeah ... CMR114 is not just for mail filtering, but i would say, that its > primary for mail filtering and there will be many people trying to integrate > it with their system.) > CRM114 got new wiki since that time, but HOW-TO is well hidden in "Quick look" > instead of documentation. > > Well ... i do not insist on anything.. i brought suggestion. If you feel it is > irrelevant, its quite ok. > > Anyway i will try to post some how-to on forums for those who might be > interesting in CRM114+SA on gentoo. > No! This was not my intention! I am not god. I am not the one saying where Gentoo should go and where not. I am like you: just one of the many Gentoo users. I did not wanted to scare you away. Let me know if I can help you in any way with the documentation. Im not leaving. i dont feel offended. You made a god point, that CRM114 is quite "advanced" piece of code, thus people who are about to play with it will try to gather more informations. I also think, that CRM114 is primarily sort of "antispam" and it will be very interesting for many SA users. Wham im trying to say is.... i think (i may be wrong) , that most CRM114 users will expect "antispam" services, thus little bit more documentation will save their time. I always bless Getnoo's How-to guides, because they are very well done. I will be implementing CRM114 under gentoo on 2 more servers in near feature, so i will try to make How to Draft and submit it. Lets say, that we made clear what should and what should not to be done by ebuild and you convinced me, that ebuild is quite ok. So .. i will post my SA+CMR114 guide on Gentoo in near feature. Then we might have something to point on at the end of building CRM114 :) thanks for your explanations and suggestions. I am going to close this bug, sitting open doing nothing, and as discussed the changes won't be made. Thank you for the report and your work on the guide! |