Ciphermail and postfix not connecting

hi,

got it ! Cipohermail only save mta config if the mta (postfix) is running.
To check this, ciphermail uses service (systemd).
SystemD only works correct in a privileged (--privileged) container. Now it
seems to work.

Mit freundlichem Gruss
Bjoern Meier

···

Am Do., 26. Juli 2018 um 09:32 Uhr schrieb Bjoern Meier < bjoern.meier(a)gmail.com>:

hi Martijn ,

Thank you for the reply.

But no, all software for ciphermail (Tomcat, postfix, postgresql,
djigzo.war and djigzo-web.war) is running in the same container, this is
intended, because I need data per container, not on a central container.

Mit freundlichem Gruss
Bjoern Meier

Am Do., 26. Juli 2018 um 09:28 Uhr schrieb Martijn Brinkers via Users < > users(a)lists.ciphermail.com>:

On 25-07-18 22:32, Bjoern Meier via Users wrote:
> hi,
>
> I tried to build an image for docker with the official installation
guide.
> Webinterface, Postgresql annd tomcat8 on ubuntu 16.04 image seem to work
> fine. Except. I can't control postfix over the web-interface.
> the symptoms:
>
> - the web interface tells me mta is not runnig. starting or stopping
with
> the buttons doesn't change anything
> - the mta config file is empty in the web interface
> - I can't change the mta -> config settings. No matter, what I change,
it
> resets to empty again. f. e. I set "RelaY domains", Apply, re-open it
and
> it is empty.

My experience with Docker is limited so hopefully I can help and I might
suggest things which are not correct Docker wise.

I guess you are using multiple Docker containers? i.e., container for
CipherMail, container for Postgres etc. If so, which parts are running
in their own container?

The CipherMail back-end, needs direct file access to Posfix in order to
configure Postfix (main.cf) read log files, and stop/start postfix. If
Postfix runs in a separate container, CipherMail back-end does not have
direct access to the Postfix specific files and cannot stop/start
Postfix. One option would be to run CipherMail back-end and Postfix in
the same Docker container. This way CipherMail has direct access to
Postfix. Another option would be to store all Postfix related files on a
shared storage (shared between CipherMail and Postfix) and modify the
postfix start stop/scripts running on CipherMail to remotely start/stop
Postfix.

Kind regards,

Martijn Brinkers

--
CipherMail email encryption

Email encryption with support for S/MIME, OpenPGP, PDF encryption and
secure webmail pull.

https://www.ciphermail.com

Twitter: http://twitter.com/CipherMail

_______________________________________________
Users mailing list
Users(a)lists.ciphermail.com
https://lists.ciphermail.com/mailman/listinfo/users