Gre7g Luterman wrote: > On Wed, 26 Mar 2003 09:29:38 -0500, "Jesse D. Guardiani" > <[EMAIL PROTECTED]> wrote: > >> Ah.... I guess that depends on how you look at it. If I remember >> correctly, it can't find my vpopmail user's config files. > > That sounds like a problem of virtual users, not virtual domains. > > tmda-cgi currently makes two assumptions which are not true when you > try to handle virtual users: > > [1] The user logging in is a real user (i.e. found in /etc/passwd). > > [2] The user's config file will be located in a consistent place (i.e. > ~/.tmda/config or even /var/tmda/~/config). > > I don't think it would be too tough to make the login code try the > above first and then if it fails to have it resort to a single, real, > "virtual user" account and have it consult another program to fetch > the config file location.
Well, there is one difference between tmda-ofmipd and tmda-cgi that will require a different plan of action: The password retrieval. tmda-ofmipd was already rigged to get a vpopmail password via IMAP or checkpassword program. You'll need some way to check vpopmail passwords on the fly. One password for all virtual users won't cut it. I suggest using DJB's checkpassword interface because vpopmail's vchkpw program is compatible with it(I think): http://cr.yp.to/checkpwd.html It's pretty standard by now. But unfortunately I'm pretty unfamiliar with it, so I'd have to do some reading before I could help you implement something that could actually interact with vpopmail's vchkpw program. I suppose you'll need another configuration option to specify the checkpassword program of choice too. > > However, I have yet to set up vpopmail (only now found the URL to get > it), so I can't say for sure. > >> On a side note, I'm about to migrate from qadmin-tmda to a custom TMDA >> control panel on my servers. If you could get this functionality >> implemented in tmda-cgi soon (one month?), > > No promises. Which parts would you need up and running at a minimum > by that deadline. To see the plans for what I hope to implement, > refer to: http://wolfhome.com/~gre7g/layout2.htm Ummm.. I'm not sure what you're asking. I only see a page to generate dated/sender/keyword addresses at that link. I haven't had a chance to look at tmda-cgi's capabilities yet, but as long as my vpopmail users can log in and tmda-cgi allows for the viewing, approving, and deleting of pending emails, I'd be happy to use it. I'd like for my users to be able to edit their whitelists and blacklists too, but that's about it. I already have a script that automates the removal of stale pending email for vpopmail users, and any additional functionality would just be icing on the cake. > > Gre7g. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net We are actively looking for companies that do a lot of long distance faxing and want to cut their long distance bill by up to 50%. Contact [EMAIL PROTECTED] for more info. _________________________________________________ tmda-workers mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-workers
