Vps with multiple ip

11 posts / 0 new
Last post
#1 Thu, 11/12/2015 - 05:50
klevi_surf

Vps with multiple ip

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.

Any help for this?

Thu, 11/12/2015 - 09:59
andreychek

Howdy,

It sounds like you may be after sender dependent outgoing email. That process is described here:

https://www.virtualmin.com/documentation/email/dependent

Thu, 11/12/2015 - 10:17
klevi_surf

Hello I can not find " Send outgoing email for domain from IP" on Server Configuration -> Email Setting

Thu, 11/12/2015 - 11:32
andreychek

Howdy,

What Virtualmin version are you using there?

And what distro/version are you using?

-Eric

Thu, 11/12/2015 - 11:45
klevi_surf

Get it, i am reinstalling from zero, thank you for your reply :)

Thu, 11/12/2015 - 11:49
klevi_surf

It is ok 1.770?

Thu, 11/12/2015 - 12:04
klevi_surf

is postfix is yet on mail_version = 2.6.6 version

Thu, 11/12/2015 - 12:29
andreychek

Howdy,

Unfortunately, your Postfix version doesn't support that feature.

It requires Postfix 2.7 or higher.

Is it an option to use a Linux distribution that comes with a more recent Postfix version?

-Eric

Thu, 11/12/2015 - 12:31
klevi_surf

I am usign centos 6.7, do you have any suggestion? Or how to upgrade postfix?

Thu, 11/12/2015 - 13:05
andreychek

Howdy,

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.

-Eric

Thu, 11/12/2015 - 13:22
klevi_surf

Solved with ubuntu 14.04. thank you for your support :)

Topic locked