LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-13-2006, 07:24 AM   #1
asheesh.tyagi
Member
 
Registered: Apr 2005
Location: Delhi,India
Distribution: Red Hat
Posts: 35

Rep: Reputation: 15
WebMail server setup


Hi
I have 2 identical mail server (qmail on fedora core 4).both mail server have same set of users. MX entries are 5 and 10.both the server have pop3 installed and users download mail to MS Outlook from both the servers.
now i want to give WebMail access to users.
can WebMail softwares like SquirrelMail provide mail to users from both the server.
plese suggest me some docs related to this senario.

Thanks & Regards
Ashish Tyagi
 
Old 04-14-2006, 01:12 AM   #2
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
well i'm not sure, but i see this question has been up here for a while so i'll give it a shot.

Question first though, have you got both your qmail servers working in sync or is that part of the question?

If i had to guess this is what i would do, setup an LDAP server, either openldap (there is information on setting up openldap on my website listed below) or fedora directory server, get both the qmail servers to work with that ldap server (there is information on setting up openldap and postfix on my website listed below) and then edit your /etc/pam.d/pop3 or /etc/pam.d/imap files to use ldap as your authenification server (there is information on setting up openldap and pam on my website listed below). Then i would setup a NFS share of the /var/spool/mail folder so all the mail folders are the same on both the computers (once again, on my website) then just install squirrelmail on one of my servers running apache.

So the end result would be all the users are the same on both server, all the mail files and folders are the same on both servers ... but thats just me guessing i'm sure there would be problems with that solution, if you look at it more, you might find it's a good starting point.
 
Old 04-14-2006, 01:17 AM   #3
linuxtechmate
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
Hi
I think u have forward the request from first server to second.
Suppose U have server mail1.linuxtechmate.com and mail2.linuxtechmate.com
and ur webmail is running on mail1.linuxtechmate.com In this u just forward webmail page of mail2.linuxtechmate to mail1.linuxtechmate.com
Regards
Damanjeet
linuxtechmate.com
 
Old 04-14-2006, 05:45 AM   #4
asheesh.tyagi
Member
 
Registered: Apr 2005
Location: Delhi,India
Distribution: Red Hat
Posts: 35

Original Poster
Rep: Reputation: 15
yes NFS may be the solution

Hi
Thanks for reply. yes i think NFS may be the solution.
because that is what i want (WebMail should be able to fetch mail
from both the servers). paul_mat can you please tell me how can i sync both of the servers.

In the case of NFS if both of my server are on different locations
then will it be safe to use nfs.

Thanks and regards
Ashish Tyagi
 
Old 04-14-2006, 06:12 AM   #5
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
safe to use NFS ... i'm not a big NFS user, but from what i hear it's not really the safest way to share files ... That might be q question best asked in the Security forum.

have no idea how you would sync two mail servers together, but from what i gather, you wouldn't really need to, setup LDAP master and LDAP slave on each machine, sync the users, setup the mail server on one machine and share the mail directory and setup apache on the other machine, mount the folder on that machine and setup the webmail client there.

That way the work load is distributed amoungest the two computers ... if thats your reason for it, i have no idea how to get two mail servers working in sync though ...

sorry might just want to post another question, 'how to get two mail servers working in sync'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
IMAP User setup, mail servers, Roundcube webmail client, Receiving Emails CrimsonSkyZS Linux - Newbie 0 01-11-2006 04:55 PM
webmail server Nawas111 Linux - Software 1 06-03-2005 10:15 AM
Pine setup with Shaw Webmail yuun Linux - Software 2 03-01-2005 08:59 PM
Postfix, POP3, Webmail Setup guggenheim Linux - Networking 4 03-03-2004 07:00 PM
imp webmail server requirements linuxnube Linux - Software 2 12-19-2003 09:23 AM


All times are GMT -5. The time now is 02:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration