Hello
I have a vps with 10 public ip’s + 1 domain name.
What i am trying to do is to create 10 subdomain name and to assign to every subdomain a dedicated ip.
Specially for smtp. for example:
1.1.1.1 - a.example.com
2.2.2.2 - b.example.com
3.3.3.3 - c.example.com
And when a mail user test@a.example.com send a email the outgoing smtp ip to be 1.1.1.1 , and i s a user test@b.example.com send a mail , the outgoing smtp ip to be 2.2.2.2 etc.
The version of Postfix that comes with CentOS 6 unfortunately does not support the feature you are after.
There isn’t a supported way to upgrade Postfix – the only way to do that would be to use a Postfix version from a third party repository, and doing that is likely to cause problems.
So our recommendation is migrate to another distribution/version that includes the Postfix version you need.