I just setup an iRedMail OS machine, and I must say it was the easiest and quickest mail server setup I've ever encountered.
The only issue I have is due more with my setup than the iRedMail software.
I have two spam/mail servers in my DMZ. Each host a different domain. The problem comes when a user on the iRedMail server wants to send an email to a user on the other server (server B).
Server A is the iRedMail server
I know previously, I had to setup a transport map such as: benrose.org-> smtp:[192.168.50.5] on Server A to point to Server B.
I'm using MySQL backend, and I've tried adding a line to the table, but can't seem to get it to work.
I've tried adding
But each time, when a user on Server A goes to send to Server B, Server A complains the user is unknown in virtual mailbox table.
Do I have to add a wildcard to Server A to accept all mail for benrose.org even though it hosts no mailboxes for the domain?
*** EDIT ***
I forgot to mention the why. The server does an MX lookup to our Bind server in the DMZ, but that brings back the external IP, so the server has no way of contacting the server, it just times out.
I've tried adding a hosts entry, but it still looks like its doing an MX lookup instead of reading the hosts file.