Docker-mailserver: Custom SMTP Milters

Created on 11 Dec 2020  路  3Comments  路  Source: tomav/docker-mailserver

Is your feature request related to a problem?

I am using a custom milter to prevent spam and server probing. Currently I need to fork the base image and patch master.cf to get my milter included.

Describe the solution you'd like

Add some option to setup.sh to add custom SMTP milter IP/DNS.

Alternatives you've considered

None.

Who will that feature be useful to?

Users with custom SMTP milters.

What have you done already?

  • Forked base image
  • Patched milter into main.cf

What are you going to contribute?

  • Milter is currently closed source but will see if it can be made public.

Additional context

None.

help wanted needs triage postfix / dovecot related priority 3 [LOW]

All 3 comments

I am not sure about this one, but can't you use user-patches.sh to patch master.cf?

I agree with @aendeavor that a patch from user-patches.sh makes the most sense. This is exactly the kind of thing it is there for.

Thanks for the hint! I think this is a valid solution for my problem and I will modify master.cf that way.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Mathieu-R picture Mathieu-R  路  4Comments

xiao1201 picture xiao1201  路  4Comments

Dubbeldrank picture Dubbeldrank  路  4Comments

m-a-v picture m-a-v  路  4Comments

42wim picture 42wim  路  4Comments