Skip to content

Blue-Bag/ansible-role-exim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exim setup

Build Status

Ansible role to install and configure Exim4 on Debian based system.

Role Variables

The following variables are used for the content of the /etc/exim4/update-exim4.conf.conf file

  • exim4_dc_eximconfig_configtype
  • exim4_dc_other_hostnames
  • exim4_dc_local_interfaces
  • exim4_dc_readhost
  • exim4_dc_relay_domains
  • exim4_dc_minimaldns
  • exim4_dc_relay_nets
  • exim4_dc_smarthost
  • exim4_CFILEMODE
  • exim4_dc_use_split_config
  • exim4_dc_hide_mailname
  • exim4_dc_mailname_in_oh
  • exim4_dc_localdelivery
  • exim4_catch_all_email
  • exim4_passwd_client: Account and password data for SMTP authentication when exim is authenticating as a client to some remote server as a list.

Usage

  roles:
    - role: exim4
      exim4_dc_eximconfig_configtype: 'satellite'
      exim4_dc_use_split_config: 'false'
      exim4_dc_readhost: 'lacaisse.com'
      exim4_dc_smarthost: 'smtp.mandrillapp.com::587'
      exim4_dc_hide_mailname: 'true'
      exim4_passwd_client: ['*.mandrillapp.com:[email protected]:{{ mandrill_api_key }}']

Testing:

echo "test mail from new server." | mail -s "Test message" [email protected]

Could also test the configuration file prior to restart: exim -bV

DKIM

openssl genrsa -out /etc/exim4/dkim/yourdomain.com-private.pem 1024 -outform PEM

openssl rsa -in /etc/exim4/dkim/yourdomain.com-private.pem -out /etc/exim4/dkim/yourdomain.com.pem -pubout -outform PEM

Encrypting the key seems to stop exim from signing the mail

License

BSD

Author Information

George Boobyer

Original base from :

Forked from https://github.com/Pheromone/ansible-exim4 - now https://github.com/FloeDesignTechnologies/ansible-exim4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •