Skip to content

Adding custom milter to master.cf #4223

Answered by polarathene
ginkel asked this question in Q&A
Discussion options

You must be logged in to vote

#4218 (comment)

postconf -M 'opengpg-filter unix - n n - 10 pipe flags=Rq user=postfix argv=/usr/bin/python3 /tmp/docker-mailserver/opengpg-milter.py'

See the workaround section at the end of this comment for reference of adding a user-patches.sh to your config volume. That will run the command when starting a new DMS container instance.

It should add the line to /etc/postfix/master.cf for you. postfix-master.cf is only used to override settings.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ginkel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants