"Jesse Guardiani" <[EMAIL PROTECTED]> writes: > ----- Original Message ----- > From: "Tim Legant" <[EMAIL PROTECTED]> > Sent: Friday, December 13, 2002 11:37 PM > > > "Jesse Guardiani" <[EMAIL PROTECTED]> writes: > > > > --auto-domain isn't bad, maybe --ip-domain might be more indicative of > > when the option would actually work. > > > > Based on your suggestions below, maybe we need several options, such > > as --with-vpopmail, --with-vmailmgr and --ip-domain. > > This would probably depend on how VMailMgr handles IP-based domains. > At this point, I'm not even sure if it does.
I don't think it does, but vpopmail doesn't have to be configured that way either, so the question is, can we deduce that we need to do the IP-based domain thing or do we need another switch. We may be able to deduce it; i.e., if the username has no domain portion and --with-vpopmail is set, then figure out the domain, append it to the username (if necessary) and talk exclusively to servers in that domain. Just off the top of my head.... > > > --set-DATADIR=/usr/local/vpopmail/domains/$DOMAIN/$USERNAME/.tmda > > > > The problem with this is that tmda-ofmipd only gets run once in a > > typical virtual domain situation, so those shell variables would only > > be expanded the first time. > > Well, I didn't really write the above thinking that they would be shell > variables. I understand now. Let me suggest this. Let's talk about what, exactly, we need to solve over on tmda-workers. Let's make sure we cover all the bases; both of the virtual domain managers, single system user for all virtual domains vs. one per domain, IP-based vs. name-based virtual domains, etc. Once we know what we need to support, we can come up with an interface for it. Until then, it's a little premature to try to figure out how it will be configured. > I think a setup like I describe above with that DATADIR would be > ideal, since it could be configured to work with VMailMgr as well. I > believe the major difference between VMailMgr and vpopmail is that > VMailMgr uses one physical system user per domain, and vpopmail uses > one physical system user for EVERYTHING. Although I think vpopmail can, in later versions, use a system user per domain. There's a configuration switch when you build it that to do that. > I won't debate on which is better, because I don't really care. It doesn't matter, even. We just need to support both. > My point is that I think the --set-DATADIR command line option would > work with both. Maybe it would be something like this for VMailMgr: > > --set-DATADIR="~$DOMAIN/$USER/.tmda" > > Are there any VMailMgr people out there who might be able to confirm this? Me :) and hopefully others. But how the TMDA directories are laid out in the ~$DOMAIN directory can be pretty arbitrary, since neither program knows about the other. I'd imagine the way I'm doing it isn't the same way someone else might. As long as it is consistent within a domain, though, I think it can be scripted. Tim _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
