{"action":"created","issue":{"url":"https://api.github.com/repos/mailcow/mailcow-dockerized/issues/2045","repository_url":"https://api.github.com/repos/mailcow/mailcow-dockerized","labels_url":"https://api.github.com/repos/mailcow/mailcow-dockerized/issues/2045/labels{/name}","comments_url":"https://api.github.com/repos/mailcow/mailcow-dockerized/issues/2045/comments","events_url":"https://api.github.com/repos/mailcow/mailcow-dockerized/issues/2045/events","html_url":"https://github.com/mailcow/mailcow-dockerized/issues/2045","id":384961848,"node_id":"MDU6SXNzdWUzODQ5NjE4NDg=","number":2045,"title":"Properly disabling clamd","user":{"login":"pjv","id":327716,"node_id":"MDQ6VXNlcjMyNzcxNg==","avatar_url":"https://avatars0.githubusercontent.com/u/327716?v=4","gravatar_id":"","url":"https://api.github.com/users/pjv","html_url":"https://github.com/pjv","followers_url":"https://api.github.com/users/pjv/followers","following_url":"https://api.github.com/users/pjv/following{/other_user}","gists_url":"https://api.github.com/users/pjv/gists{/gist_id}","starred_url":"https://api.github.com/users/pjv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjv/subscriptions","organizations_url":"https://api.github.com/users/pjv/orgs","repos_url":"https://api.github.com/users/pjv/repos","events_url":"https://api.github.com/users/pjv/events{/privacy}","received_events_url":"https://api.github.com/users/pjv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-27T19:59:41Z","updated_at":"2018-11-27T20:09:51Z","closed_at":null,"author_association":"NONE","body":"I have been running clamd, but memory is getting tight and I'm not seeing it actually catching any nasty files, so I want to disable it for now.\r\n\r\nI set `SKIP_CLAMD=y` in `mailcow.conf` and then did a `docker-compose up -d`.\r\n\r\nDocker rebuilt the `clamd-mailcow` container, but that container is still running. I tried tossing it out and restarting the whole stack, but it still got re-created. I read here that that is expected behavior and that the container is just not doing anything.\r\n\r\nBut, the mailcow.conf comments say this:\r\n\r\n> Rspamd will auto-detect a missing ClamAV container\r\n\r\nAnd now I am seeing errors in the rspamd log like this:\r\n\r\n`CLAM_VIRUS [clamav]: failed to scan, maximum retransmits exceed`\r\n\r\nSo, is what I did the correct procedure to disable clamd and/or is there anything else I should be doing to cleanly disable it?\r\n"},"comment":{"url":"https://api.github.com/repos/mailcow/mailcow-dockerized/issues/comments/442199682","html_url":"https://github.com/mailcow/mailcow-dockerized/issues/2045#issuecomment-442199682","issue_url":"https://api.github.com/repos/mailcow/mailcow-dockerized/issues/2045","id":442199682,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjE5OTY4Mg==","user":{"login":"pjv","id":327716,"node_id":"MDQ6VXNlcjMyNzcxNg==","avatar_url":"https://avatars0.githubusercontent.com/u/327716?v=4","gravatar_id":"","url":"https://api.github.com/users/pjv","html_url":"https://github.com/pjv","followers_url":"https://api.github.com/users/pjv/followers","following_url":"https://api.github.com/users/pjv/following{/other_user}","gists_url":"https://api.github.com/users/pjv/gists{/gist_id}","starred_url":"https://api.github.com/users/pjv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjv/subscriptions","organizations_url":"https://api.github.com/users/pjv/orgs","repos_url":"https://api.github.com/users/pjv/repos","events_url":"https://api.github.com/users/pjv/events{/privacy}","received_events_url":"https://api.github.com/users/pjv/received_events","type":"User","site_admin":false},"created_at":"2018-11-27T20:09:51Z","updated_at":"2018-11-27T20:09:51Z","author_association":"NONE","body":"Thanks. \r\n\r\nMemory usage is definitely better, but I am wondering about rspamd retransmitting emails to clamd over and over until the max retransmits is exceeded. That seems like not the most efficient way to move mail through the pipeline, no?"}}
{"actor":{"display_login":"pjv"}}