Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms


clamav-milter (2) Versions 0.3.2

Installs/Configures clamav-milter

cookbook 'clamav-milter', '= 0.3.2'
cookbook 'clamav-milter', '= 0.3.2', :supermarket
knife supermarket install clamav-milter
knife supermarket download clamav-milter
Quality 100%

clamav-milter Cookbook

Build Status Cookbook Version

The cookbook is to install and configure 3 components of Clamav antivirus mail checker - clamav-milter. In order to make it working it install Clamav daemon and Clamav virus database updater as well.


  • clamav - the common part of all Clamav components
  • clamav-daemon - the Clamav daemon package
  • clamav-milter - Milter itself to check passing e-mail


The configuration for all 3 components located in 3 hash arrays:


As members in these hashes any configuration directives are allowed. They will be 1:1 placed in config files. For instance the example of configuration within the Chef role:

  "override_attributes": {
    "clamav": {
      "config": {
        "clamd": {
          "LogSyslog": "false",
          "LogFile": "/var/log/clamav/clamav.log",
          "LogTime": "true",
          "LogFileUnlock": "false",
          "LogFileMaxSize": "1M"
        "freshclam": {
          "LogSyslog": "false",
          "UpdateLogFile": "/var/log/clamav/freshclam.log",
          "LogTime": "true",
          "LogFileMaxSize": "100M"
        "milter": {
          "OnClean": "Accept",
          "OnInfected": "Reject",
          "OnFail": "Defer",
          "AddHeader": "Replace",
          "LogSyslog": "false",
          "LogVerbose": "false",
          "LogInfected": "Off",
          "LogClean": "Off",
          "LogRotate": "true",
          "LogFile": "/var/log/clamav/clamav-milter.log",
          "LogTime": "true",
          "LogFileUnlock": "false",
          "LogFileMaxSize": "1M"

Default attributes are good enough to start sevices without any configuration.



Just include clamav-milter in your node's run_list:

  "run_list": [


Any improvements and/or fixes are welcome.

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: Stanislav Voroniy

Copyright 2015, Stanislav Voroniy

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

clamav-milter CHANGELOG


  • Stanislav Voroniy - Fix README


  • Stanislav Voroniy - Initial public release of clamav-milter

Foodcritic Metric

0.3.2 passed this metric