Skip to content

devgateway/ansible-smarthost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

smarthost

Set up mail relaying to a smarthost.

Role Variables

smhs_relay_host

FQDN of the smarthost. Also used to skip running this role on smarthost itself.

smhs_main_cf

Path to Postfix main.cf file. Defaults to /etc/postfix/main.cf.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - role: smarthost
       smhs_relay_host: mx.example.org

License

GPLv3+

Author Information

Development Gateway

About

Configure Postfix to use smarthost for mail relaying

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published