Ad Widget

Collapse

Postfix Mails sent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mucknet
    Member
    • Dec 2004
    • 59

    #1

    Postfix Mails sent

    Everything I've found about monitoring postfix has just been monitoring the queue. I want to monitor all emails sent, so I set out to do it!

    I wrote a (longer winded than I expected) post here with instructions:
    Meta descriptions are HTML attributes that provide concise explanations of the contents of web pages. They should optimally be between 150-160 characters.



    The gist: since postfix doesn't expose statistics about total messages sent, I'm pulling them from log files,and reporting it to zabbix. I wrote a perl script to check the last X minutes of your log file, and report back the number of message sent. Its not 100% accurate, because its relying on log files, but its a lot better than nothing I haven't found any other published solutions for doing this, so it seemed like I should post it up for others.

    Lemme know if its helpful.
    Last edited by mucknet; 21-03-2008, 01:50.
Working...