No description or website provided.
Pull request Compare This branch is 2 commits ahead, 27 commits behind akumria:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Puppet module for nullmailer

Nullmailer is useful in situations where you have machines but do not wish to configure them with a full email service (mail transfer agent, mta).

Particularly to send email about local activity to a centralised place.

By default, the module will configure things to be sent, via smtp, to:




i.e. given $::domain is '', mail would be sent to via SMTP to

This may require you to configure your SMTP server to accept incoming email from various machines.

NOTE: /etc/mailname must be set to a reasonable value. This module will, by default, set it to $::fqdn

Basic usage

class {'nullmailer':  }

To configure who will receive all email:

class {'nullmailer':
    adminaddr => ""

Or to change the machine where email is sent to:

class {'nullmailer':
    remoterelay => ""

When modifying these parameters, please ensure the value is in double quotes.

Other things to modify are listed in the init.pp file


Copyright and License

Copyright 2012 Linuxpeak Pty Ltd.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program 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 this program. If not, see