Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System storage filled automatically and systematically #3281

Open
OwOchle opened this issue May 28, 2024 · 3 comments
Open

System storage filled automatically and systematically #3281

OwOchle opened this issue May 28, 2024 · 3 comments

Comments

@OwOchle
Copy link

OwOchle commented May 28, 2024

Environment & Version

  • compose : 2.27.0
  • Version: 2.0 (latest)

Description

Clamav (or rspamd i could not find what is this directory) is filling storage via the filter subdirectory at night (probably an issue with freshclam or something).

Replication Steps

I dont really know, my server has nothing special to it, just the plain config generated using the mailu utility

Observed behaviour

My file system is getting bloated with directories and file in the /mailu/filter directory, every one of them is named as tmp-[hexa] with a clamav testfile (i think) in them, making the server really unreliable.

Logs

No logs provided by the container.

@nextgens
Copy link
Contributor

nextgens commented May 28, 2024

In master we have switched to clamav's upstream image. I suggest you tweak the antivirus section of your docker-compose.yml to make it look like the following:

https://github.com/Mailu/Mailu/blob/2.0/setup/flavors/compose/docker-compose.yml#L178 (old)
https://github.com/Mailu/Mailu/blob/master/setup/flavors/compose/docker-compose.yml#L222 (new)

and then docker compose up -d

@OwOchle
Copy link
Author

OwOchle commented May 28, 2024

Okay, i'll let it sit there and see if the error occurs again. I'll let you know. should i regenerate a full docker compose file once the new setup is pushed or it's recommended to update ?

@nextgens
Copy link
Contributor

Generate a new file but only keep the 'antivirus' section... merge it to your existing one

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

No branches or pull requests

2 participants