lifeofguenter.nullmailer

lifeofguenter.nullmailer

This is an Ansible role that installs and sets up Nullmailer, which is an alternative to Sendmail or Qmail for servers that send emails through a fixed group of smart relays. You can find more information at: http://untroubled.org/nullmailer/

Requirements

There are no specific requirements.

Role Variables

To have a working Nullmailer setup, you need to set at least two variables: nullmailer_adminaddr and nullmailer_remotes. Other variables come with default values and behave as Nullmailer typically does.

nullmailer_adminaddr

  • Default: It’s an empty string.
  • If this variable is given a value, any emails sent to users at "localhost" or the main hostname (from /etc/mailname) will be redirected to this address. This helps local systems send emails to "somebody@localhost" and ensures they are delivered properly instead of being rejected by the mail relay.

nullmailer_remotes

  • Default: It’s an empty list.
  • This file lists remote servers for sending messages. Each line should have a remote hostname or address, followed by an optional protocol (e.g., smtp). If no protocol is specified, it defaults to smtp, and you can add command-line options for that protocol.

Other Variables and Their Defaults

  • nullmailer_me: ansible_fqdn
  • nullmailer_defaultdomain: ansible_domain
  • nullmailer_defaulthost: ansible_fqdn
  • nullmailer_helohost: nullmailer_me
  • nullmailer_idhost: nullmailer_defaulthost
  • nullmailer_pausetime: 60 seconds
  • nullmailer_sendtimeout: 3600 seconds (1 hour)
  • nullmailer_mailname: nullmailer_me

Dependencies

There are no dependencies.

License

This project is licensed under GPLv3.

Author Information

Created by Serge van Ginderachter. You can contact him at 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 lifeofguenter.nullmailer
Licenza
gpl-3.0
Download
13.1k
Proprietario