Link to home
Start Free TrialLog in
Avatar of TIMFOX123
TIMFOX123Flag for United States of America

asked on

can I put a mx entry in my /etc/hosts ?

I want to set up 2 postfix servers for giggles.

I want 2 "email clients" per server and want to be able to email from / to any of the four clients.  

I know I need a mx record to send mail, I just so not want to set up a dns server just for that.

Avatar of Jon Brelie
Jon Brelie
Flag of United States of America image

Hrmm... The only thing I can think of will only work because you are only using two mail servers:

Configure each server to allow relays from the other.  Then configure postfix on each server to relay mail through the other.  The other server should recognize messages destined for local delivery.  Since this is a closed environment, that should do the trick.

ASKER CERTIFIED SOLUTION
Avatar of yonatanz
yonatanz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TIMFOX123

ASKER


Wow, that made me giggle :)

Thanks so much.