ginsys.nullmailer

Role Name

This Ansible role installs and sets up Nullmailer, which is a simple Mail Transfer Agent (MTA) that replaces sendmail/qmail. It is designed for systems that send emails to a fixed group of remote servers. You can find more information at http://untroubled.org/nullmailer/.

Requirements

No special requirements.

Role Variables

To use Nullmailer effectively, you need to set at least two variables: nullmailer_adminaddr and nullmailer_remotes. The other variables have reasonable default values and behave like Nullmailer does by default.

nullmailer_adminaddr

Default: empty string

When this variable is set (not empty), any emails sent to users at "localhost" or the main hostname (found in /etc/mailname) will be redirected to this address. This helps local services send emails to "somebody@localhost," ensuring they reach a proper destination instead of being blocked.

nullmailer_remotes

Default: empty list

This file contains a list of remote servers where messages should be delivered. Each line includes a remote host name or address and an optional protocol, separated by spaces. The default protocol is smtp, and you can add command-line arguments for that protocol if needed.

Other variables and their default settings

  • nullmailer_me: ansible_fqdn
  • nullmailer_defaultdomain: ansible_domain
  • nullmailer_defaulthost: ansible_fqdn
  • nullmailer_helohost: nullmailer_me
  • nullmailer_idhost: nullmailer_defaulthost
  • nullmailer_pausetime: 60
  • nullmailer_sendtimeout: 3600
  • nullmailer_mailname: nullmailer_me

Dependencies

None

License

GPLv3

Author Information

Serge van Ginderachter serge@vanginderachter.be

Informazioni sul progetto

Install and configure nullmailer, a simple relay-only mail transport agent. Homepage http://untroubled.org/nullmailer/

Installa
ansible-galaxy install ginsys.nullmailer
Licenza
gpl-3.0
Download
23k
Proprietario
automate all things!