I am trying to get my server temporarily redirecting MX records for a client's domain as my SME points to an internet address for "xyzcompany". At the moment I have xyzcompany's mail server connected on my LAN. I don't want
my server thinking the mail server is on some random public IPaddress (as correctly configured by an ISP), because at the moment it temporarily sits behind MY mail server and firewall. I don't want MY SME to have the domain, because if I do, it won't send email to the xyzcompany mail server, it will try and think it resides on MY server and deliver the mail there.
I am happy the xyzcompany will receive mail, but I need to generate some mail from another domain other than xyzcompany so I can set up some mail rules and test them. And I don't want my SME thinking it is the mail server for xyzcompany. So, how do I change
MY SME to recognise mail for xyzcompany goes to a local mail server?
So far I have tried
1) creating the domain in MY SME [192.168.2.5] and redirecting the "mail.xyzcompany" to the local IP [192.168.2.10] in the hostname and addresses as suggested by a search of this forum.
2) trying to create an MX template fragment as described in
http://forums.contribs.org/index.php/topic,45713.0.html 3) hijacking someone else's thread that looks like it wants to do the same thing but for a different reason.
I am not trying to test the server can receive email for the sake of receiving email, I am trying to set up some specific rules for specfic users - namely that some users can't send/receive email from the internet and some can. I have used the
db accounts setprop groupname/username Visible internal
to disable receiving mail from the internet.