People,
I have wanted to get my old QMail mail server system up to date for some
years (it has been going more-or-less unchanged for about 21 years!).
Some years ago I started using docker for my Jekyll and Rails sites and
more recently I became quite interested in Podman - which I thought was
a much nicer environment for me - I used RH from version 4.0 to 9.0
(before RHEL came on the scene) and have been using Fedora since the
beginning - so the whole environment was very interesting for me - as
well as for Atomic, CoreOS and SilverBlue etc.
I became interested in IndiMail:
http://www.indimail.org
a while ago because it was a well maintained and enhanced version of
QMail with everything you would need in a modern MTA. So as time went
on it seemed natural to think of moving over to IndiMail but having it
running in a Podman container. Anyway, after a lot of time spent both
by me and Indimail creator, Manvendra, and with the generous help of
people on this list, we have finally gotten the "light" version,
IndiMail-MTA, working.
A quick summary of the current situation:
1. I install the image with:
podman pull cprogrammer/indimail:fc31
2. I create a container with:
podman run -d -h pricom.com.au \
-v /home:/home \
--net=host \
--name $imv \
`podman images | grep "$imv" | awk '{ print $3 }'` \
$imv
3. Make manual changes to stuff in /etc to correspond to the users in
the mounted /home dir - soon I will look at the previous suggestions
from people here to see if I can make that situation nicer.
There are some domain specific changes that need to be made to the files
in:
/etc/indimail/control
We had to make some changes to the SMTP setup so it could talk to
RoundCubeMail - RCM was attempting to try the last AUTH SMTP method
advertised (DIGEST-MD5) instead of AUTH PLAIN or AUTH LOGIN. The
unconfigured AUTH methods were disabled by setting env variables in the
SMTP config.
As of now, I think it is a pretty seamless process to get up and
running.
The light -mta version is quite adequate for my needs but the full
indimail install can handle lots of domains, millions of users and very
high volumes of mail - and it is very fast ie it has kept all the
features that the original QMail was popular for but has all the
enhancements needed for a modern mail server.
As we move from F31 to F32 and future versions, I will streamline my
process for pulling the image, building the container and making custom
changes. I will also, start building from the Docker files and, at some
stage when I have more time, repeat the exercise with the full IndiMail
suite to also get that going painlessly.
Regards,
Phil.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil(a)pricom.com.au