From: Rick v. V. <qm...@ri...> - 2004-10-24 22:04:06
|
John White scribbled the following on 10/24/2004 4:02 PM: > I'm happy to take my quesitons to a more apprioate place, if directed. > Can't find answers through the list archives or google. > > I'm a new user of both vpopmail and qmailadmin, but not to qmail. > I've converted my site over to vpopmail and qmailadmin, but was > wondering a couple things: > > 1) Is there a slick way to set up a virtualhost directive to make > qmailadmin appear at the document root of a domain? For example, > if my webmail host is mail.example.com, I was thinking it would > be slick to set up qmailadmin to be accessed at the root of > http://mail-admin.example.com/. I currently access it at > http://mail.example.com/cgi-bin/qmailadmin > > 2) Can I use qmailadmin and vpopmail together to allow users to > administer their own -extension addresses? John- (this looks like it might be headed for an Apache httpd.conf type list) Not sure if this is exactly what you had in mind, but you might try making the adjustments on your httpd.conf file under the <VirtualHost xxx.xxx.xxx.xxx> section. Assuming Apache 2.x installation. Apache 1.x has a separate conf file for virtual hosts httpd/conf/vhosts/Vhosts.conf), but the basics are the same. In Apache2, I include a ScriptAlias: /qmailadmin /var/cgi-bin/qmailadmin...for each virtul domain which uses qmailadmin. So the user/admin needs only the http://hostname.com/qmailadmin (without the need for cgi-bin in the URL). I have only a handful of virtual domains (qmail/vpopmail/qmailadmin/sqwebmail), so maintenance is minimal. If you have a large number of virtuals, YMMV. Someone might have a more elegant way of doing what you're looking for. Not sure precisely what you want in your question #2. HTH, Rick |