These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Postfix smtp through specific IP??? And Message ID issue on the new forum.
Hi, I have several virtual domains with seperate ips on my virtualmin server.
When I send out email from one virtualdomain it goes out through the IP of another (perhaps random) IP. i.e. domain x y z I send from x and it goes out through y's ip. I send from y and it goes out sometimes through x's ip
Is there anyway I can bind smtp for x to x's ip (and y to y's ip ...)?
Also... my messageid has 123ABBC@(the senders host name) rather than 123ABBC@x is there anyway to force that as well?
I appreciate any pointing in the right direction!!
:) Thanks
Howdy,
Email would go out via your default route on your server, which is typically setup to be your eth0 interface.
That's unfortunately not something that's configurable -- email will always go out via your server's primary/default IP address.
Also, the message ID would have the server's hostname in it. Unfortunately, that's not configurable either :-)
If the IP address and hostname that show up in the headers is an issue for any of your customers, that may mean it's time for them to look into a VPS where they can tweak all as much as they want. There's both free and paid versions of Cloudmin which can assist in provisioning VPS's on your server.
-Eric