[ previous ] [ next ] [ threads ]
 
 From:  "Robert Staph" <rstaph at digitalimpreza dot com>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Re: [m0n0wall] 2 mailservers on the inside
 Date:  Mon, 21 Feb 2005 11:34:06 -0500
> On Feb 21, 2005, at 7:24 AM, Thomas wrote:
>
>> This works like a charm - until server1 tries to send an email to 
>> server2, or vice-versa. I can see in my logs that server1 obtains the 
>> correct WAN IP for server2, but it is refused (by m0n0wall?) to connect.
>>
>> Now the optimal solution would be to create a hosts file on each server, 
>> telling them which domains are local, but seeing as I've had no luck 
>> getting Postfix to read this hosts file, I'll settle for the next best: 
>> opening up my m0n0wall for such a connection.
>
> Your "next best solution" should really be a last resort.  I believe that 
> you can create "routing data" specifically for poxtfix in one of the 
> postfix configurations telling postfix to use a specific IP for a 
> particular host or MX, overriding what it gets from normal host 
> resolution.
>
> -j

It should also be said that in trying to connect to any of your WAN ip's 
from any point on LAN, DMZ, or equiv interfaces you are actually trying to 
make that type of connection to the m0n0wall itself.  (thus giving you the 
refused connection).

-Rob