-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
On Sat, 27 Jul 2002, kishor bhagwat wrote:
hi folks, We need to deploy a qmail with LDAP for address book and authentication at several of our offices spread over the country. We'll be putting one central server at our data center, with an anti virus gateway for it.So its a hub-n-spoke kinda architecture.All mails to-n-fro the Internet will pass thru this central server. some issues that i'd like help with:
1)i need a single domain ( company.com) to be hosted across these multiple mail servers
No problems - In ~control/me, enter the particular location's host name. Example, If in Mumbai, enter mum.yourdomain.com, and in locals / rcpthosts for all machines, enter yourdomain.com. In addition, all locations' host names should be entered in locals and rcpthosts (this will be needed for what you intend to do)
2)Intra-office mail, i.e mail from an user to another user in the same office should be delivered locally.
Use ldap replication and the mailHost attribute - Let mum.yourdomain.com be the central Master LDAP server, and let all other locations be slaves. If you add any entry at any of the slaves, they shld be replicated at all slaves via the master. Use the mailHost attribute to specify that user's mailbox location. Mails will get delivered locally for local mailboxes, through QMQP for <yourdomain> users who are not local, and others will get delivered through normail Qmail procedures.
3)Mail for remote user i.e.one situated at another location should be routed to that location's mail server, but through the central anti-virus gateway.
IMHO, this is not possible if you are using Qmail-LDAP. I wld say that the above procedure is the best method. IF you still wnat to do it this way, this could be the architecture.
Apart from the central server, none of the machines run LDAP, but all of them have the QMQP service running. Run two Qmail services at all locations - the second only with QMQP. The only file in the second Qmail's control file would be smtproutes, which would have the entry of your central server. The main Qmail's .qmail-default file would contain something like: | /var/qmail2/bin/forward "$EXT@yourdomain.com"
So all mails for "anyone@yourdomain.com" not found locally would be delivered to the central mail server through QMQP. Here using the mailHost attribute, Qmail would deliver the mails to the appropriate location.
- All users have a common web interface for changing
passwords
hack Horde IMP.
5)In case of qmail,how can i have some accounts on the local server and then instruct the server to send mails to some other user but belonging to the same domain to some other smtp sever.. this without LDAP.... i.e user1@company.com wants to mail user2@company.com but user1 and user2 are on diff machines .. LDAP is not involved in the picture i want mails to go thru a central mail server!!!!
Just mentioned this architecture in 3.
I guess this might sound a little confusing, but i'm sure most of ya guys will get it!
Not at all - the most common scenario in corporates, but thanks to Qmail-LDAP, the solution is just about perfect, and simple - Just 1 catch though, it helps if all your locations are connected permanently.
- -- Regards, | www.thefreespeech.org | Cybertech Networks Pvt. Ltd. | | email: himanshu@cnpl.co.in Himanshu | Web: http://www.cnpl.co.in | - ----------------------------------------------------------------------- Knowledge is often mistaken for intelligence. This is like mistaking a cup of milk for a cow. - ------------------------------------------------------------------------