4ARMED.exim
Ansible Role: Exim
This role installs Exim, which is a Mail Transfer Agent, on RedHat/CentOS or Debian/Ubuntu servers.
Requirements
There are no additional requirements.
Role Variables
Here are the available variables with their default values (refer to defaults/main.yml
for details):
exim_dc_eximconfig_configtype: internet
(For Debian/Ubuntu only) This sets the main configuration type. Use 'internet' for sending mail publicly, or 'local' for mail that should only be delivered within the server. Check the Exim documentation for additional options.exim_dc_localdelivery: mail_spool
(For Debian/Ubuntu only) This is the default method for local mail delivery. It defaults tomail_spool
if not specified.exim_dc_smarthost: smtp.mandrillapp.com
(For Debian/Ubuntu only) This is the default smarthost for sending mail. It defaults tosmtp.mandrillapp.com
if not specified, but is only used if the config type is set tosatellite
.exim_password_entry
(For Debian/Ubuntu only) This allows you to add credentials to the Exim passwd.client file if your remote smarthost requires authentication. It is recommended to add this in defaults/vault.yml.
Dependencies
There are no dependencies.
Example Playbook
- hosts: servers
roles:
- { role: 4armed.exim }
License
MIT / BSD
Author Information
This role was created in 2015 by Jeff Geerling and was later forked by 4ARMED in 2016 to add more configuration options.