LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Containers
User Name
Password
Linux - Containers This forum is for the discussion of all topics relating to Linux containers. Docker, LXC, LXD, runC, containerd, CoreOS, Kubernetes, Mesos, rkt, and all other Linux container platforms are welcome.

Notices


Reply
  Search this Thread
Old 09-29-2020, 11:09 PM   #1
Vernicronz
Member
 
Registered: Jul 2014
Distribution: Redhat,Centos,Ubuntu
Posts: 55

Rep: Reputation: Disabled
Unhappy Postfix on container


hi all ,
am a lil noob on containers. trying to find out if running postfix on docker is a good idea. currently i hv my postfix running smoothly on rhel 7.8 vms with 30k mails daily. and there is this organization directions to move towards openshift/openstack and containers in coming months and years. thus i need to explore if putting postfix on containers is really worthwhile. seeking your advise on this. thanks team!
 
Old 09-30-2020, 08:13 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Vernicronz View Post
hi all ,
am a lil noob on containers. trying to find out if running postfix on docker is a good idea. currently i hv my postfix running smoothly on rhel 7.8 vms with 30k mails daily. and there is this organization directions to move towards openshift/openstack and containers in coming months and years. thus i need to explore if putting postfix on containers is really worthwhile. seeking your advise on this. thanks team!
A virtual machine acts and behaves no differently than a physical machine. If you have postfix working now, that exact configuration will work on a VM/container. There is a certified RHEL 7.x container image, available from Red Hat...since you're using RHEL you are paying for the license/support (RIGHT??), so you can contact Red Hat and they can get you to the image. All that said, network bandwidth is a consideration...30k mails that are tiny shouldn't be an issue; 30k emails with 2 MB attachments is FAR different.
 
Old 10-02-2020, 08:27 PM   #3
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 229

Rep: Reputation: 32
What problem are you trying to solve? Postfix, in my opinion, isn't really a good candidate for k8s. Especially if this is going to be one of the first apps your org is migrating. Whatever you decide to go with, make sure you have good persistent storage and backup/recovery/dr options.
 
Old 10-02-2020, 10:11 PM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
OpenShift is Red Hat's container management platform build on top of Kubernetes running on OpenStack VMs. Thus, I will assume you mean Docker-type containers, but you may want to explain a bit more what your company's containerization strategy is about.

With the caveat that I know nothing about mail server management, allow me to point you to a commercial dockerized Postfix+Dovecot solution named mailcow (I have no relationship whatsoever with them). See also their Github repo. It's open-source, so I suppose you could try it out. In any case, this seems to be evidence that Postfix in containers makes sense.
 
1 members found this post helpful.
Old 10-19-2020, 08:44 PM   #5
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Quote:
Originally Posted by zuralin View Post
What problem are you trying to solve? Postfix, in my opinion, isn't really a good candidate for k8s. Especially if this is going to be one of the first apps your org is migrating. Whatever you decide to go with, make sure you have good persistent storage and backup/recovery/dr options.

Just trying to understand, what are some of the reasons why you wouldn't want to containerize Postfix?

I remember when virtualization came on to the scene, mail servers weren't virtualized at first, but as the technology matured, they were virtualized.
 
  


Reply

Tags
container, docker, email, postfix, smtp



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix 2.6.6 postfix/cleanup and postfix/master errors Pummelmuffin Linux - Server 2 11-22-2020 12:50 PM
LXer: Meet Super Container OS, a Debian-Based Live Distro with a Built-In Container Engine LXer Syndicated Linux News 0 08-04-2020 11:24 AM
linux container host os and container os question jzoudavy Linux - Newbie 1 09-01-2015 05:21 AM
LXer: Inside the Open Container Project: How Docker plans to unite the container market LXer Syndicated Linux News 0 06-23-2015 04:30 AM
Postfix: postfix: fatal: chdir(/usr/libexec/postfix) Micro420 Ubuntu 2 07-13-2008 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Containers

All times are GMT -5. The time now is 10:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration