thkukuk / containers-mailserver

Everything you need for a containerized mail server using postfix, dovecot, openldap ...
MIT License
2 stars 3 forks source link

Missing openssl? #4

Closed mcepl closed 5 months ago

mcepl commented 5 months ago
mitmanek:systemd $ podman ps
CONTAINER ID  IMAGE                                                                               COMMAND               CREATED       STATUS       PORTS                                                                             NAMES
ed06ab80d466  registry.opensuse.org/opensuse/dovecot:latest                                       /usr/sbin/dovecot...  19 hours ago  Up 19 hours  0.0.0.0:1143->143/tcp                                                             dovecot
mitmanek:systemd $ podman run -it dovecot /bin/sh
useradd: warning: the home directory /var/spool/vmail already exists.
useradd: Not copying any file from skel directory into it.
Add TLS config...
No CA cert file found, generating one
Generating private CA key...
/common-scripts/ssl-helper: line 29: openssl: command not found
chmod: /etc/certs/dovecot-ca.key: No such file or directory
Generating CA certificate...
/common-scripts/ssl-helper: line 34: openssl: command not found
No certificate file and certificate key provided, generate:
/etc/certs/dovecot-tls.crt and /etc/certs/dovecot-tls.key
Generating certificate key...
/common-scripts/ssl-helper: line 67: openssl: command not found
Generating sign request...
/common-scripts/ssl-helper: line 69: openssl: command not found
Generating certificate...
/common-scripts/ssl-helper: line 74: openssl: command not found
/entrypoint.sh: line 261: openssl: command not found
chmod: /etc/certs/dovecot-dhparam.pem: No such file or directory
Enforce TLS...
Updating certificate store...
# 

Is this right?

thkukuk commented 5 months ago

Yes, openssl was missing in dovecot, fixed.