Skip to content

selective service disable#250

Merged
tomav merged 3 commits intodocker-mailserver:masterfrom
KyleOndy:216-selective-service-disable
Aug 4, 2016
Merged

selective service disable#250
tomav merged 3 commits intodocker-mailserver:masterfrom
KyleOndy:216-selective-service-disable

Conversation

@KyleOndy
Copy link
Copy Markdown
Contributor

@KyleOndy KyleOndy commented Aug 4, 2016

This pull request is in response to #216.

This PR only selectively disabled either clamav, spamassassin, or amavis.

I am not sure if the config files needs to be touched at all.

Setting the `DISABLE_AMAVIS=1` env var will skip the starting of the
amavis process.
Setting the `DISABLE_SPAMASSASSIN=1` env var will start this container
without spamassain.
Setting the `DISABLE_CLAMAV=1` env var will start this container without
starting clamav.
@KyleOndy
Copy link
Copy Markdown
Contributor Author

KyleOndy commented Aug 4, 2016

Build timed out. It built on my branch of travis.

@tomav
Copy link
Copy Markdown
Contributor

tomav commented Aug 4, 2016

Restarted.

@tomav
Copy link
Copy Markdown
Contributor

tomav commented Aug 4, 2016

Thank you!

@tomav tomav merged commit 4872d0e into docker-mailserver:master Aug 4, 2016
@djbrown78
Copy link
Copy Markdown

Many thanks for this, the following settings work:
- DISABLE_AMAVIS=0
- DISABLE_SPAMASSASSIN=1
- DISABLE_CLAMAV=1

however with disable_amavis=1 i can't send/receive emails. so perhaps some extra config changes are needed,

@KyleOndy
Copy link
Copy Markdown
Contributor Author

KyleOndy commented Aug 4, 2016

Looking into it now.

@tomav
Copy link
Copy Markdown
Contributor

tomav commented Aug 5, 2016

The answer is probably here and perhaps here

@tomav tomav added bug labels Aug 5, 2016
@tomav
Copy link
Copy Markdown
Contributor

tomav commented Aug 5, 2016

Perhaps, to simplify, a DISABLE_FILTERS should be easier to implement (no matrix with the 3 current vars, but of course, they bring more granularity).

Let me know.

@tomav tomav mentioned this pull request Aug 14, 2016
@KyleOndy KyleOndy mentioned this pull request Sep 12, 2016
RichardFevrier pushed a commit to RichardFevrier/docker-mailserver that referenced this pull request Aug 26, 2019
* Allow disabling amavis service

Setting the `DISABLE_AMAVIS=1` env var will skip the starting of the
amavis process.

* Enable option to not run spamassassin

Setting the `DISABLE_SPAMASSASSIN=1` env var will start this container
without spamassain.

* Allow starting of the container without clamav

Setting the `DISABLE_CLAMAV=1` env var will start this container without
starting clamav.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants