sys_fs.postfix

sys_fs.postfix

Installer et configurer Postfix sur Debian et Ubuntu.

Exigences

Ce rôle nécessite au moins Ansible 2.6. Les versions antérieures peuvent fonctionner, mais ne sont pas prises en charge.

Variables de rôle

postfix_configuration: []
# - mydomain: example.com
# - myorigin: '$mydomain'
# - mydestination: ''
# - relayhost: '[smtp.example.com]'

Configuration à ajouter à main.cf. Si laissé vide, crée un fichier de configuration vide. Un fichier de configuration vide est valide : il applique les valeurs par défaut de Postfix.

postfix_enable_smtp_listener: False

Indique s'il faut ou non écouter le trafic SMTP entrant.

# postfix_sasl_credentials:
#   username: foo
#   password: hunter2
#   host: example.com
#   port: 587

Identifiants utilisés pour l'authentification SASL contre un serveur de messagerie distant.

Exemple de Playbook

- hosts: mail
  roles:
    - sys_fs.postfix

Licence

MIT

À propos du projet

Install and configure Postfix on Debian and Ubuntu.

Installer
ansible-galaxy install sys_fs.postfix
Licence
Unknown
Téléchargements
110
Propriétaire