https://github.com/devgateway/ansible-smarthost
Configure Postfix to use smarthost for mail relaying
https://github.com/devgateway/ansible-smarthost
ansible ansible-role postfix smarthost
Last synced: 5 days ago
JSON representation
Configure Postfix to use smarthost for mail relaying
- Host: GitHub
- URL: https://github.com/devgateway/ansible-smarthost
- Owner: devgateway
- Created: 2017-06-14T18:38:04.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-14T18:38:31.000Z (almost 9 years ago)
- Last Synced: 2025-07-23T13:00:09.150Z (10 months ago)
- Topics: ansible, ansible-role, postfix, smarthost
- Size: 1000 Bytes
- Stars: 2
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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