> Dear all, > > I would like to forward incoming message in my local area network. For > example, > > [EMAIL PROTECTED] ---forward---> [EMAIL PROTECTED] (192.168.0.6) > [EMAIL PROTECTED] ---forward---> [EMAIL PROTECTED] (192.168.0.8) > > I don't put site1.ezrs.com and site2.ezrs.com in my DNS because I want > them to be used only in my lan. I have added them in /etc/hosts but qmail > does not use it. So what should I do to make it work?? Or is there any > better way to do the local forwarding?
On the system they come into, you could add an entry into smtproutes in the form of site1.ezrs.com:[192.168.0.6] site2.ezrs.com:]192.168.0.8] to force the email to the server you want it at. cheers Shane