On Sun, 2 Jun 2019 at 02:02, Viktor Dukhovni <postfix-us...@dukhovni.org> wrote: > > On Sat, Jun 01, 2019 at 06:24:27PM +0530, Durga Prasad Malyala wrote: > > > I've googled but a bit confused. > > I have a server with an IP hosting two different virtual domains. > > Both domains need to have their individual SSL certificate like > > mail.domain1.com and mail.domain2.com to download and send the same. > > Is it possible in Postfix if I have only one public IP and achieve same? > > Can you guide me to some links if possible. > > This requires at least Postfix 3.4, which is the latest stable > Postfix release. You may need to build Postfix 3.4.5 from source, > if your O/S does not provide a Postfix 3.4.5 package (O/S packages > may call it 3.4.0, even when patches 1–5 are applied). > > -- > Viktor.
Thanks Viktor. I'm debating whether to stick to the RPM way of things. To summarise - we have Three options. Option-1 (1) Install by compiling Latest version of Postfix from source. I got burned in the past while upgrading other software since the dependencies gave lot of trouble. so this is my lease preferred mode. Also due to many frequent security related updates now-a-days - I generally prefer this the least. Option-2 or (1.1) use repo like Remi - Dont know the impact on other packages. I don't want any other package to be impacted un-neccesarily. Option-3 Assuming I want to go the safer older way of using stock RPMs form the distribution (Centos in this case) and use two different IPs for the postfix instance - then ideally while sending outgoing mail I have to ensure that the mails go out from the respective IP of that domain right. I've found these documents - is this OK? https://lxadm.com/Postfix_and_multiple_SSL_certificates https://www.kutukupret.com/2010/01/02/postfix-bind-sender-domain-to-dedicated-outgoing-ip-address/ If someone can comment on these three options maybe I can document this somewhere for future and reference to others. - Regards DP