-   Linux - Newbie (
-   -   WebMail server setup (

asheesh.tyagi 04-13-2006 07:24 AM

WebMail server setup
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

paul_mat 04-14-2006 01:12 AM

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.

linuxtechmate 04-14-2006 01:17 AM

I think u have forward the request from first server to second.
Suppose U have server and
and ur webmail is running on In this u just forward webmail page of mail2.linuxtechmate to

asheesh.tyagi 04-14-2006 05:45 AM

yes NFS may be the solution
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

paul_mat 04-14-2006 06:12 AM

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'

All times are GMT -5. The time now is 12:58 PM.