mailping-cron processes incoming emails, updates status and sends out probe messages.
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.
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, etc.):
Local address <[email protected]> is delivered with mailping-store to /var/lib/mailping/state/that/incoming/.
/etc/mailping/that/to is set to <[email protected]>.
- Sender address for the probe emails. Default: <currentuserid@fullyqualifiedhostname>.
- 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: <currentuserid+circuit@fullyqualifiedhostname>
- 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 seconds.
- 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 regularly.
- Override the location of the configuration directory. Default: /etc/mailping
- 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: /var/lib/mailping
Tommi Virtanen <[email protected]>
Copyright © 2004 Havoc Consulting