iredmail / dockerized

Official dockerized iRedMail.

Home Page:https://www.iredmail.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

postfix main.cf overwrites

NikolayDachev opened this issue · comments

Hi,

Any idea how I can do overwrites in main.cf ?
I don't see any suitable place to do that in data/custom/postfix/

I want to overwrite mynetworks= parameter in order to allow mail proxy
Right now I do that via bash script to run the container

#!/bin/bash
docker-compose up -d
sleep 5
docker exec iredmail postconf -e mynetworks=127.0.0.1,192.168.1.10/32

This work without issues, but is somehow annoying.

Probably I miss something ?

I'm not sure if this is for docker version issue or for the forum(general iredmail question), let me know if this is not right place for this and I will close the pr

this pr is same as #76