Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Virtual Mailhosting HOWTO
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
JoeG
Apprentice
Apprentice


Joined: 30 Jul 2003
Posts: 179
Location: Kentucky, USA

PostPosted: Mon Jan 26, 2004 5:57 am    Post subject: Virtual Mailhosting HOWTO Reply with quote

Hi. I've followed the Virtual Mailhosting HOWTO
(found here http://www.gentoo.org/doc/en/virt-mail-howto.xml), and to my knowledge have set it up correctly. However, I'm having some trouble understanding the MySQL tables and their use. I'm not sure how to go about setting up:

1. Apache documentroots for virtual domains
2. User accounts for virtual domains

Anyone got this setup functioning :?:

Any help greatly appreciated. Not finding what I'm needing in the forums, and I'm on a deadline here.

Regards,
Joe
_________________
Linux User#226477
Back to top
View user's profile Send private message
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Mon Jan 26, 2004 6:25 am    Post subject: Re: Virtual Mailhosting HOWTO Reply with quote

JoeG wrote:
I'm not sure how to go about setting up:
1. Apache documentroots for virtual domains

This has nothing to do with virtual mail handling. Setting up Apache virtual hosting is covered in the
Apache Virtual Host documentation
(which should also be present on your system). You probably want to look into /etc/apache2/conf/vhosts for the relevant config files.
Quote:
2. User accounts for virtual domains

Not exactly sure what you mean by this. The Virtual mail hosting guide has all mail in virtual boxes owned by a single user, and it shows you how to create that user in local passwd files. If you are using LDAP of somesuch for system tables then you might need to create the user/group in these services. If you want to allocate each virtual user (postbox) a UID and GID then you need to set that in the "users" MySQL table entry for the postbox.
_________________
Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein
Back to top
View user's profile Send private message
JoeG
Apprentice
Apprentice


Joined: 30 Jul 2003
Posts: 179
Location: Kentucky, USA

PostPosted: Mon Jan 26, 2004 4:54 pm    Post subject: Thanks for the quick reply Reply with quote

But there must be a way to have Apache look at the database also. I'll look into the config files as suggested.
_________________
Linux User#226477
Back to top
View user's profile Send private message
Jaxom
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2003
Posts: 137

PostPosted: Mon Jan 26, 2004 6:24 pm    Post subject: Reply with quote

What part isn't functioning for you? I have the virtual mail guide setup and working perfectly (after a few arguements with the system anyway).

If it's not working exactly the way they show it, you're probably missing a step here or there. I have both squirrelmail and horde installed although horde isn't working 100% correctly yet, but squirrel is working without a hitch.

if it's phpmyadmin that's not reading the database correctly, then you've got something setup incorrectly in your config.inc.php
_________________
Undisputed Heavyweight Champion. If it's undisputed, WHAT'S ALL THE FIGHTING ABOUT?!?! -- George Carlin
Back to top
View user's profile Send private message
JoeG
Apprentice
Apprentice


Joined: 30 Jul 2003
Posts: 179
Location: Kentucky, USA

PostPosted: Mon Jan 26, 2004 9:13 pm    Post subject: Reply with quote

The database and phpmyadmin as well as postfix and squirrelmail are working fine. I'm just not sure about how to get Apache to read the same database tables and use those as information concerning virtual domains. I'm sure that I'm just not configuring Apache properly and not quite understanding the database.

These are my shortcoming, not the Virtual Mailhosting Guide's authors. It's a very well written document. Their setup of Apache was in using SSL and allowing PHP code. I don't think they meant it as a guide to setting up virtual webservers, but I just bet that with a little tweaking, that can be done as well.

Again, thx for the pointers.

Joe
_________________
Linux User#226477
Back to top
View user's profile Send private message
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Tue Jan 27, 2004 7:21 am    Post subject: Reply with quote

Depending on exactly what you want you could use dynamic virtual hosting in one of the forms from Dynamically configured mass virtual hosting
_________________
Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein
Back to top
View user's profile Send private message
JoeG
Apprentice
Apprentice


Joined: 30 Jul 2003
Posts: 179
Location: Kentucky, USA

PostPosted: Tue Jan 27, 2004 1:45 pm    Post subject: Reply with quote

Thanks, Chris. This may be just the ticket!
_________________
Linux User#226477
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum