From: John G. <gr...@ag...> - 2007-10-10 22:44:33
|
I just started using virtualmin, for the most part I really like it. I particularly like the plugin support. I was able to write a plugin for a few misc things we need when a virtual server is created quite easily. (I'd post it, but I doubt its useful to anybody but me). One of the issues I ran into is that we use exim. Truth by told I don't really need virtualmin to do much here, but manage some alias file entries. But I had to hack into things to get that going. I hacked the create_virtuser and its associates to call down the plugins so they could manage my exim aliases entries. That worked quite nicely. Fairly minimum changes to the virtualmin code, but it got the info I needed down to my own code. (btw, virtualmin believes I'm running postfix). This all got me thinking about cleaner ways to handle the mail server support. Something like the plugin model, where support for different smtp servers is done with a plugin per smtp server (or several in the case of qmail). Obviously a particular install would only want to use one plugin for that matches its mail server. This would have a couple of nice upsides. One the code would be cleaner (each module would only have code for one smtp model). And it makes it easier to add smtp servers (in my case a highly non-standard exim configuration). Is the mail server support just to woven in to easily pull this off? Is there any plans for anything like this? I sincerely doubt the I'm the first to think of it. Any plans to support exim? I suppose one stumbling block is defining exactly what a standard exim config is? Thanks, John -- John Gray gr...@ag... AgoraNet, Inc. (302) 224-2475 314 E. Main Street, Suite 1 (302) 224-2552 (fax) Newark, De 19711 http://www.agora-net.com |