Ciphermail and postfix not connecting

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.

Whatr can that be?

Greetings
Bjoern Meier

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

ยทยทยท

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.

--
CipherMail email encryption

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

Twitter: http://twitter.com/CipherMail