LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-27-2002, 11:16 AM   #1
micaheli
LQ Newbie
 
Registered: Dec 2002
Location: Sherwood, OR
Distribution: Mandrake 9.0
Posts: 6

Rep: Reputation: 0
Squirrelmail and VirtualHosts


Okay, I found the "document" on squirrelmail.org about VirtualHosts, but it is very vague and I'm wondering if somebody can help me make a better doc for their site. First of all, my web/email server is hosted by a company - meaning they probably are running multiple domains per box (I would hope so atleast). So, what would be the best way to accomplish webmail on their site? Yes, they have imap support, not sure what server, yes, they have pop, "mail.myserver.com" and yes they have mysql support.. Thanks in advance!

--Micah
 
Old 12-27-2002, 12:22 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I don't see a problem.

I use squirrelmail, all you need to do is put the user in the root squirrelmail folder and the login page will load.

they need php support, database is an option but not required.

it accesses the mail using imap, and sends using smtp. It also supports mail server on another machine


I would say have the DocumentRoot of mail.domain.com be /usr/share/squirrelmail

or where squirrelmail is

It would also be advisable to have https for the login at least, if not for the entire session

Last edited by DavidPhillips; 12-27-2002 at 12:25 PM.
 
Old 12-27-2002, 12:31 PM   #3
micaheli
LQ Newbie
 
Registered: Dec 2002
Location: Sherwood, OR
Distribution: Mandrake 9.0
Posts: 6

Original Poster
Rep: Reputation: 0
Hmm

What I'm saying is - how do I distinguish one domains "username1" from another domains "username1".. Lets say my email addy is micah@bobswebsite.com and somebody on the SAME server has micah@hosermonkey.net. the usernames would be aliased. the first one would be micah001 and the second one would be micah002. Right? So, how does squirrelmail know this? THAT is my question.

Sorry for the confusion.
 
Old 12-27-2002, 12:37 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
It would not be a squirrelmail issue but a mailserver issue

you should probably have a different squirrelmail folder for each domain, so you could have domain specific stuff in squirrelmail


On the mailserver issue I would say you should have unique names
 
Old 12-27-2002, 12:41 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Here is how you would do multiple domains on sendmail if you want

http://www.sendmail.org/virtual-hosting.html
 
Old 12-27-2002, 12:47 PM   #6
micaheli
LQ Newbie
 
Registered: Dec 2002
Location: Sherwood, OR
Distribution: Mandrake 9.0
Posts: 6

Original Poster
Rep: Reputation: 0
I'll give it a whack

All-righty. Well, I'm going to go ahead and give it a whack when I get home from work. I'm HOPING they are unque names. But, if they use passwd/shadow authentication then i'm screwed. but if its mysql/ldap/etc then i'm prob OK.


Quote:
Originally posted by DavidPhillips
It would not be a squirrelmail issue but a mailserver issue

you should probably have a different squirrelmail folder for each domain, so you could have domain specific stuff in squirrelmail


On the mailserver issue I would say you should have unique names
 
Old 12-27-2002, 01:00 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
As far as using /etc/passwd or not I think that is also a mail server issue

Unless I'm wrong completely, it would all depend on your imap server, and if you use smtp auth then that would also be an issue that's related only to the smtp server.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache VirtualHosts Problem stratisphere Linux - Newbie 4 11-27-2004 12:20 AM
NameVirtualHost IP# has no VirtualHosts? DigiCrime Linux - Networking 2 10-11-2004 12:24 AM
LVS-nat+VirtualHosts freelinuxcpp Linux - Networking 0 08-31-2004 03:57 AM
VirtualHosts amdathlonboy Linux - Networking 6 06-21-2004 01:59 PM
Virtualhosts + firewall Syncrm Linux - Networking 9 05-21-2002 10:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration