On Saturday 01 November 2003 23:23, Tom Allison wrote:
I'm been trying to set up SuSE with an IMAP server for a while yet and keep running into some deficiencies.
SuSE promotes two IMAP servers: IMAP from Univ. Wash. with mbox files Cyrus-imap with maildir files.
According to many out in the email world, mbox seems to be such a thing of the past. I've been looking at cyrus as a viable alternative and I keep getting stuck.
cyrus doesn't support procmail very well and without it there are a number of things that cannot be managed at all.
For example, you cannot do a "real time" push of identified spam to the razor-agent system. I was reading through the mechanism for razor and find that it is potentially far more powerful than we give it credit for. Unfortunately it works best when spam can be reported as quickly as possible. The best way to report this that I can see is something to the tune of (in procmail)
:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*
| razor-report
which shells out an external program (razor-agent) to finish the dirty work for you in about 2 seconds after the email hit your box.
Unfortunately cyrus doesn't seem to have anything like this at all. I could do a crontab type of job, but that's either very exhaustive or slow.
My only alternative that I can see here is to revert back to an mbox format for mail delivery and forget about all this cyrus-imap business because of how they have implimented the applications.
So I guess I'm wondering if anyone has tried a mailbox based imap server at any time and if it can be configured to run from the likes of procmail (something that would provide shelling out to other applications). Otherwise I'm kind of forced into concluding that mbox / imap is about the only practical solution I have today.
I do not have a large userbase. I do not expect to exceed 100 users at any time.
Any thoughts?
Tom, I have used setups with both UW-Imap and Cyrus-Imap and found that there are several advantages to Cyrus-Imap. However, I run into a similar problem as you in just running SpamAssassin. Then I found the following website that described how to do it in detail: http://216.239.37.104/search?q=cache:Z-9ds9Sl3OAJ:moin.godoy.homeip.net:81/moin/moin.cgi/Postfix_2bSpamAssassin_2bCyrus_2dIMAPd+postfix%2Bcyrus%2Bspamassassin&hl=en&ie=UTF-8 I had to give you the google cache for it as I can't seem to get access to the real site anymore. There is a shell script there that can be used as a content_filter with PostFix and allows SpamAssassin to work properly. You could easily modify the script to add a razor-report to it and then you would have what you want. I also am implementing sieve scripting with Cyrus to deliver email to certain folders so that it is presorted and I don't have to worry about that myself. I can't answer too many questions on this a I am just implementing it right now, but I am far enough along in testing to know that it works. I hope that this helps you out. BTW, I have used this setup (without SpamAssassin) with about 4000 users, so your 100 should be no problem at all, unless they all subscribe to suse-linux-e :-) -- Kelly L. Fulks Home Account near Huntsville, AL