mailping-cron - run periodic processing to test email service
availability and functioning
mailping-cron processes incoming emails, updates status and sends out
The idea is to configure multiple email “circuits”, send probe messages
regularly, and see whether they complete the circuit and how long it
Setting up a circuit
1. Give a name to the circuit, hereafter referred to as circuit.
2. Arrange for a local email address to be delivered to maildir
/var/lib/mailping/state/circuit/incoming/. See mailping-store.
3. Create a configuration for the circuit, by creating directory
If you need non-default sender and/or recipient addresses, create
files from and to there, containing the sender and recipient
addresses suitable for the circuit.
4. You´re done! Munin should now see the data.
Testing multiple servers
To test functioning of more than one email server, arrange an email
alias at a remote site pointing to an address on your server, and set
the address of that alias here.
Here´s an example of testing a system consisting of two email servers
and everything in that path (smarthosts, primary MXs, virus checkers,
Local address <email@example.com> is delivered with
mailping-store to /var/lib/mailping/state/that/incoming/.
Remote address <firstname.lastname@example.org> is an alias that redirects all
email to <email@example.com>.
/etc/mailping/that/to is set to <firstname.lastname@example.org>.
Sender address for the probe emails. Default:
Recipient address for the probe emails. You must arrange for the
email to eventually get delivered to the maildir
/var/lib/mailping/state/circuit/incoming/. mailping-store will
probably be useful in that. Default:
Admistrative address, set as Reply-To in probe messages. Default:
do not add Reply-To.
How often a probe message is sent, in seconds. Default: 600
Stored state for the probing.
Maildir used to store all messages in incoming that do not look
like probe messages. Read and delete them regularly.
Maildir used to store all messages in incoming that do look like
probe messages, but a corresponding pending entry cannot be found.
Duplicated probe messages cause these. Read and delete them
Override the location of the configuration directory. Default:
Override the location of the state directory. Circuit states are
stored in the state subdirectory of this directory, in
subdirectories named after the circuit name. Default:
mailping-store(1), mailping-success(1), mailping-latency(1)
Tommi Virtanen <email@example.com>
CopyrightCopyright © 2004 Havoc Consulting
mailping 0. 2004-04-15