ansible-postfix
ansible-postfix copied to clipboard
Ansible role to set up postfix in Debian-like systems
Hi ! I have added a few setting regarding the tls ciphers for smtp and smtpd into the template main.cf,j2 Hope it fits you requirements for merging Txs
If I run the playbook with: ```yaml recipient_canonical_maps: - recipient: root - rewrite: [email protected] ``` Then I run the playbook with: ```yaml recipient_canonical_maps: - recipient: postmaster - rewrite: [email protected] ```...
Not sure which version of Postfix started that, but I get non-working postfix with fatal error while trying your playbook examples: Feb 3 13:07:13 git postfix/smtpd[75989]: fatal: in parameter smtpd_relay_restrictions...
In master.cf, column service together with column type are uniq, so these two columns are used together as key. In that way, each default line of matser.cfcan be overwritten. When...
At the moment this role will only output `smtp_tls_security_level` in the configuration file (`/etc/postfix/main.cf`) when a `postfix_relayhost` is configured, so it is not possible to use TLS without relayhost. It...
Added filter to "configure debconf" to only run on Debian based systems
If run the playbook with this: ```yaml postfix_sender_canonical_maps: - sender: "root" rewrite: "[email protected]" ``` and then run it again with a change in `postfix_sender_canonical_maps`: ```yaml postfix_sender_canonical_maps: - sender: "postmaster" rewrite:...
Because I need to specify which interface my postfix should use when sending e-mails
In case we must configure a relay to go out using TLS. Ex: when this roles is applied on our "smtp out" and need to send at Gmail server. If...
When running this role on system like Debian, original content of /etc/aliases can be overwritten. This change forces Ansible to create backups.