Spotlight | Reviews | Current Issue | Newsletter | Subscribe | Contact |
Departments

user friendly

  linux-magazine.com » Issues » 2005 » 55 » MAIL HELP  

Print this page. Recommend
Slashdot it! Delicious Digg

The Sysadmin’s Daily Grind: Mail and Queuegraph

MAIL HELP

Author(s): CHARLY KÜHNAST

Worms, mail bombs, and users who send multiple megabyte Powerpoint files across the wire give Postfix administrators plenty of reasons to view their charges with a critical eye from time to time.

Mailgraph has been giving me useful information for a long while now [1]. It is time to turn the spotlight on this visualization tool for Postfix logfiles and to introduce the related Queuegraph project. Mailgraph [2] is a small footprint daemon that continuously reads the Postfix logfile and shovels the data it gathers into a round robin database (RRD). The front-end is a CGI script that generates a graph based on the RRD data. The program requires the ubiquitous Perl interpreter, RRDTool [3] for the database, and the File::Tail Perl module, which you can obtain from the CPAN archive. The heart of Mailgraph is a Perl script called mailgraph.pl; the daemon I referred to earlier. You can launch the daemon manually, but it makes more sense to add the init script provided by the distribution to run the daemon when you boot your machine. I use the following command to launch Mailgraph:


Read full article as PDF »


Comments


Print this page. Recommend
Slashdot it! Delicious Digg
Related Articles
BOOK REVIEWS
VIVE LA DIFFERENCE The Sysadmin’s Daily Grind: Zsync
HEALTH CHECK The Sysadmin’s Daily Grind: Mtop
ARP WATCH The Sysadmin’s Daily Grind: Arpalert
READY FOR TRAFFIC Tips for optimizing Apache, Postfix, Oracle, MySQL, and Samba
SECRET SURFING The Sysadmin’s Daily Grind: Tor
No More Downloads!

Save the download and take Linux Magazine DVDs instead.

Each DVD contains a full distro like Ubuntu, SUSE, Mandriva, Fedora, or Debian and comes with the corresponding issue of Linux Magazine.

Don't waste time downloading Linux!

more...

 

In the US and Canada, Linux Magazine is known as Linux Pro Magazine.
Entire contents © 2008 [Linux New Media USA, LLC]
Linux New Media web sites:
North America: [Linux Pro Magazine]
UK/Worldwide: [Linux Magazine]
Germany: [Linux-Magazin] [LinuxUser] [EasyLinux] [Linux-Community] [Linux-Nachrichten] [Linux Events]
Eastern Europe: [Linux Magazine Poland] [Linux Community Poland] [Darmowe Programy Poland] [Open Source DVD Poland] [Linux Magazin Romania]
International: [Linux Magazine Brazil] [Linux Magazine Spanish]
Corporate: [Linux New Media AG]