Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.
/ ansible-postfix Public archive

ansible role to install and configure postfix on various linux systems

License

Notifications You must be signed in to change notification settings

bodsch/ansible-postfix

Repository files navigation

Ansible Role: postfix

Ansible role to install and configure postfix on various linux systems.


I am in the process of transferring this role to a collection and will therefore no longer process any issues or merge requests here.
However, I will include them in the collection!
Please be patient until I have completed the work!


upstream documentation
postfix deprecations

GitHub Workflow Status GitHub issues GitHub release (latest by date) Ansible Downloads

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

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

Apache

FREE SOFTWARE, HELL YEAH!

About

ansible role to install and configure postfix on various linux systems

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages