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

Select Status


exim4-light (4) Versions 0.1.1

Installs and configures exim4-light.

cookbook 'exim4-light', '= 0.1.1', :supermarket
cookbook 'exim4-light', '= 0.1.1'
knife supermarket install exim4-light
knife supermarket download exim4-light
Quality -%


This cookbook installs and configures exim4 for client or outbound relayhost.



  • Debian 6.0+

May work on other platforms with or without modification.


See attributes/default.rb for default values.

  • node['exim4']['user'] - The exim4 user.
  • node['exim4']['configtype'] - The main configuration type. One of internet, smarthost, satellite, local or none.
  • node['exim4']['other_hostnames']- Is used to build the local_domains list, together with `localhost. This is the list of domains for which this machine should consider itself the final destination.
  • node['exim4']['local_interfaces']- List of IP addresses the Exim daemon should listen on. If this is left empty, Exim listens on all interfaces.
  • node['exim4']['readhost']- For smarthost and satellite it is possible to hide the local mailname in the headers of outgoing mail and replace it with this value instead, using rewriting.
  • node['exim4']['relay_domains']- Is a list of domains for which we accept mail from anywhere on the Internet but which are not delivered locally, e.g. because this machine serves as secondary MX for these domains.
  • node['exim4']['minimaldns']- Boolean option to activate some option to minimize DNS lookups.
  • node['exim4']['relay_nets']- A list of machines for which we serve as smarthost. Please note that and ::1 are always permitted to relay since /usr/lib/sendmail is available anyway and relay control doesn't make sense here.
  • node['exim4']['use_split_config']- Boolean option that controls whether update-exim4.conf uses /etc/exim4/exim4.conf.template (false) or the multiple files below /etc/exim4/conf.d (true) as input.
  • node['exim4']['hide_mailname']- Boolean option that controls whether the local mailname in the headers of outgoing mail should be hidden. (Only effective for smarthost and satellite.
  • node['exim4']['localdelivery']- Name of the default transport for local mail delivery. Defaults to mail_spool if unset, use maildir_home for delivery to ~/Maildir/.
  • node['exim4']['smarthost_server']- Server to which all outgoing mail is passed to and that takes care of delivering it. All deliveries go out to TCP port 25 unless a different port is specified (use smarthost_port). Colons in IPv6 addresses need to be doubled. If a port number follows, IP addresses may be enclosed in brackets, which might be the only possibility to specify delivery to an IPv6 address and a different port.
  • node['exim4'][smarthost_port] - TCP port for the mail server. If no port is given exim uses 25 by default.
  • node['exim4']['smarthost_login']- Login used for the smarthost.
  • node['exim4']['smarthost_pwd']- Password used for the smarthost.


Include the recipe[exim4-light] in your node or role runlist. By default
exim4 will be unconfigured. Set at least the node['exim4']['configtype'].

License and Author

Author:: Thomas Massmann

Copyright:: 2012-2013, Inqbus

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,
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.

No quality metric results found