bodsch.postfix
Ansible Role: postfix
Ansible role to install and configure postfix on various linux systems.
upstream documentation
postfix deprecations
Requirements & Dependencies
Ansible Collections
ansible-galaxy collection install bodsch.core
or
ansible-galaxy collection install --requirements-file collections.yml
Operating systems
Tested on
- Arch Linux
- ArtixLinux
- Debian based
- Debian 10 / 11 / 12
- Ubuntu 20.04 / 22.04
configuration
main.cf
postfix_hostname: "{{ ansible_fqdn }}"
postfix_mailname: "{{ ansible_fqdn }}"
postfix_myorigin: "{{ postfix_mailname_file }}"
postfix_delay_warning_time: ''
postfix_compatibility_level: 'auto'
postfix_aliases: []
postfix_mydestinations:
- $myhostname
- "{{ postfix_hostname }}"
- localdomain
- localhost
- localhost.localdomain
postfix_mynetworks:
- 127.0.0.0/8
# /etc/postfix/main.cf
postfix_disable_vrfy_command: true
- alias
- default
- header
- inet
- mailbox
- maillog
- message
- postscreen
- proxy
- queue
- recipient
- reject
- relay
- sender
- smtp
- smtpd
- tls
- transport
- virtual_backends
- virtual
master.cf
To manage the master.cf via the role, this feature must be explicitly enabled:
postfix_handle_mastercf: true
To learn more about the configuration of master.cf, please read the extended documentation.
Contribution
Please read Contribution
Development, Branches (Git Tags)
The master Branch is my Working Horse includes the "latest, hot shit" and can be complete broken!
If you want to use something stable, please use a Tagged Version!
Author
- Bodo Schulz
License
FREE SOFTWARE, HELL YEAH!
Install
ansible-galaxy install bodsch.postfixLicense
apache-2.0
Downloads
108
Owner
ex-developer (c, c++, php),
ex-system administrator / engineer,
keep-it-simple,
monitoring,
automation,
system architect
