Docker-mailserver: Add ENABLE_AMAVIS env

Created on 10 Jan 2017  路  9Comments  路  Source: tomav/docker-mailserver

Follow-up of #386

enhancement frozen due to age help wanted

Most helpful comment

@esikuriansky A lot of time has passed since Nov 2019. After #1605, could you try implementing the ENV variable ENABLE_AMAVIS. I see this the same way as @erik-wramner, this issue being old but still relevant.

All 9 comments

@tomav what did you mean with this issue?

Find a way to disable Amavis :-) (and of course clamav)

~@tomav I think this can be done with Environment Variables.~ Sorry, just read #386 and see that you are aware, ignore me. :-)

Same question, amavis uses lots of memory in my machine.

As far as I can tell this very old issue is still relevant: Amavis should ideally be disabled when both clamd and spamassassin are disabled, possibly with a separate ENV variable.

Hi all,

Wanted to get your feedback on my approach to disabling amavis:
I disabled clamav and spamassasin via the env variables :
- ENABLE_CLAMAV=0, ENABLE_SPAMASSASIN=0
And added the following line in postfix-main.cf:
content_filter=
It seems as if everything is running as expectedly but i am paranoid that i am shooting myself in the leg
Could this be made the behaviour for ENABLE_AMAVIS=0 ?

It sounds like a reasonable approach, but I don't know for sure. Other views?

@esikuriansky A lot of time has passed since Nov 2019. After #1605, could you try implementing the ENV variable ENABLE_AMAVIS. I see this the same way as @erik-wramner, this issue being old but still relevant.

I have marked this as frozen. This issue has stalled and is very old.

I'll close it in 10 days.

Was this page helpful?
0 / 5 - 0 ratings