I’ve got a system with 2 IP Adresses and I want to set up Mailcow so that it only uses one.
But I still see that docker uses all IP adresses:
here is an excerpt from docker ps:
mailcow/postfix:1.51 “/docker-entrypoint.…” 20 minutes ago Up 20 minutes 0.0.0.0:25->25/tcp, 0.0.0.0:465->465/tcp, 0.0.0.0:587-
I have set the bindings in mailcow.conf
SMTP_PORT=1.2.3.4:25
SMTPS_PORT=1.2.3.4:465
SUBMISSION_PORT=1.2.3.4:587
IMAP_PORT=1.2.3.4:143
IMAPS_PORT=1.2.3.4:993
POP_PORT=1.2.3.4:110
POPS_PORT=1.2.3.4:995
SIEVE_PORT=1.2.3.4:4190
DOVEADM_PORT=127.0.0.1:19991
SQL_PORT=127.0.0.1:13306
SNAT_TO_SOURCE=1.2.3.4
docker-compose logs –tail=500 netfilter-mailcow
gives me just my bans, I don’t see anything about SNAT
Attaching to mailcowdockerized_netfilter-mailcow_1
netfilter-mailcow_1 | Clearing all bans
netfilter-mailcow_1 | Initializing mailcow netfilter chain
netfilter-mailcow_1 | Watching Redis channel F2B_CHANNEL
netfilter-mailcow_1 | Blacklist was changed, it has 9 entries
Am I missing something here?
Thank you