The nullmailer package can be used to setup a forwarding SMTP relay. It does not provide support for local mail, but forwards all messages to one or more remote SMTP servers for processing.
debops.nullmailer role installs and configures the
service, optionally with a network access from remote hosts on port 25.
The role can detect other Mail Transport Agents installed on the managed host, and if an MTA from a configurable list is found, the role will automatically disable itself to allow easy switch to different SMTP servers.
- debops.nullmailer default variables
- LDAP Directory Information Tree
debops.nullmailer - Manage nullmailer SMTP server with Ansible Copyright (C) 2016 Maciej Delmanowski <email@example.com> Copyright (C) 2016 DebOps https://debops.org/ This Ansible role is part of DebOps. DebOps is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3, as published by the Free Software Foundation. DebOps is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with DebOps. If not, see https://www.gnu.org/licenses/.