Author Topic: Send mail from multiple domains and IP's  (Read 1285 times)


  • Zen Warrior
  • ***
  • Posts: 119
  • Karma: +5/-0
  • Founder of The Tiki Lab
    • View Profile
    • The Tiki Lab | Bridging the gap between technology and vision impairment!
Send mail from multiple domains and IP's
« on: June 09, 2016, 01:30:54 am »
Greetings fellow beta testers,
I'm having an issue and I can't seem to solve it.  I have a Zentyal 4.2 box up and running with 3 different virtual domains on 3 different static public IP's on on on

I've figured out how to make a stub file using to change the SMTP header for a single domain so that my messages don't show the local domain (i.e. mydomain1.lan) as the server but the virtual domain (i.e., which works great on a single domain system.
What I'm trying to do now is get it to where sends a message and it goes out over the IP address so that the PTR matches up to the SMTP banner - which should be 220: ESMTP instead of 220: mydomain1.lan ESMTP...

I've messed around with a lot of tutorials and haven't been able to get it to work yet.  Has anyone been able to get something like this to work? 
You will have to excuse my posts not having actual links in them.  I'm blind and can never find that insert hyperlink button LoL.  If you, or someone you know has vision problems check out The Tiki Lab.