[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Two mail servers with copy of mails



I have one  server say  server1 (RAQ XTR)  hosted by an ISP with domain1.com and a second server(RAQ2) say server2 in  our intranet with domain2.com. The intranet server is connected to internet through a gateway and can directly accept mails to domain2.com from internet. The users in both servers are same, but some prefer intranet and some prefer internet to pick mails. I want to have server1 send a copy of all mails it receive to sever2 so that users can access mails from the server1 or server2.  Server2 is expected to receive mails from server1 only. If I give same priority in MX entries, one of the servers will be selected at random, which I don't want. 

This can be achieved with a .forward file in the home directory of the users in server1 with the entries \user@xxxxxxxxxxx, user@xxxxxxxxxxx . But I have more than 1000 users and I don't want to keep 1000 .forward files in the server. Can I send a copy of all mails server1 receive to server2 with a single file/command at server1. Both server1 and server2 contains only one domain each.

Please Help.

George K Cyriac
Trivandrum