thkukuk / containers-mailserver Goto Github PK
View Code? Open in Web Editor NEWEverything you need for a containerized mail server using postfix, dovecot, openldap ...
License: MIT License
Everything you need for a containerized mail server using postfix, dovecot, openldap ...
License: MIT License
Hi, its me again :-)
I need to use port 465 as relay port at my ISP and get this in my postfix log
SMTPS wrappermode (TCP port 465) requires setting "smtp_tls_wrappermode = yes", and "smtp_tls_security_level = encrypt" (or stronger)
I can see in entrypoint.sh that this cant be changed by config outside the container.
I know how to make the changes in my container,
podman exec -it postfix bash -c "postconf smtp_tls_wrappermode=yes & postconf smtp_tls_security_level=encrypt & postfix reload"
but how do i make this permanent?
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?
Hi, thanks for making this public. I found this via openSUSE and podman containers.
I have a setup for my self with openldap, postfix and dovecot on a MicroOS-server.
But, i have a problem to get postfix and dovecot to use the same Maildir.
When i start postfix, all mail is delivered to /var/opt/postfix/vmail///new
Dovecot try to find mail at /var/opt/postfix/vmail//Maildir/new
(/var/opt/postfix/vmail is my data persistent directory for /var/spool/vmail)
And i cant find a parameter in either container to configure this in /etc/default/container postfix, /etc/default/container-dovecot or in my openldap-entry for the user.
Do you have some tips to solve this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.