qmail

check_qmailq

OpenFusion has a set of Nagios plugins which include a check_qmailq plugin that monitors how many messages in the qmail-queue.

The original plugin is from http://www.openfusion.com.au/labs/nagios/
Download the check plugin:

cd /usr/local/nagios/libexec
wget http://www.dwadson.com/files/nagios/check_qmailq
chmod ugo+x check_qmailq

The check command takes the syntax of check_qmailq -w count -c count [-W pre_count] [-C pre_count] [-q /path/to/qmail-qstat]. The warning and critical message counts can be adjusted to your preference. Edit /usr/local/nagios/etc/nrpe.cfg and add entries for the services you want to check, such as:

Technology:

Addons

Additional enhancements for your Qmail server including: mailing lists, system monitoring, traffic graphing.

Additional functions you can add to your server:

qtools

Technology:

smtproutes

/var/qmail/control/smtproutes lets you redirect mail through other servers.

Want to have a Qmail server relay all mail for a particular domain to another mailserver? Edit/Create /var/qmail/control/smtproutes with something along the lines of:
Relay all mail through mailhop.dyndns.org:

:mailhop.dyndns.org

Relay mail for example.com through 192.168.0.5:

example.com:[192.168.0.5]

Relay mail for example2.com through mail.mydomain.com

example2.com:mail.mydomain.com

Technology:

Qmail

Initial setup
A directory for qmail to reside in needs to be created:

Technology:

Qmail Server

Build a full-featured email server based on Qmail with features such as: IMAP/POP3, SSL, virus and spam scanning, webmail, and more.

Based upon Qmailrocks (http://www.qmailrocks.org) and heavily inspired by John Simpson's Qmail tips, tricks, and modifications (http://qmail.jms1.net). The following guide will enable you to create a full featured email server built around Daniel J. Bernstein's Qmail.

Technology:

Pages

Subscribe to RSS - qmail

Recent Updates

  • 2 years 1 week ago
  • 2 years 1 week ago
  • 2 years 2 weeks ago
    php 8.x
  • 2 years 2 weeks ago
    10.6.7
  • 2 years 2 weeks ago
    Drop Centos 5/6 stuff