Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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.
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
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.
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'