Andrew,

I've updated my package using your source, found it easy this time around.  I 
did the following:
manage.py syncdb
r...@server1:/usr/share/pyshared/baruwa/utils/mail/mta# manage.py queuestats 
--mta postfix
== Skipping the inbound queue 0 items found ==
== Skipping the outbound queue 0 items found ==

Any idea of what to check?  




-----Original Message-----
From: [email protected] on behalf of Andrew Colin Kissa
Sent: Sun 1/9/2011 7:45 AM
To: Baruwa users list
Subject: [Baruwa] Mailq Stats implemented
 
Hi All,

I have just committed a change that adds support for monitoring the status of 
the mail queues
inbound and outbound. 

https://github.com/akissa/baruwa/commit/0b522f7d13ff105216902b002ab3e8f25a8e0cf7

The following MTA's are supported

* Exim
* Postfix
* Sendmail

You will be able to see the number of messages in both queues, and the details 
of any specific
message.

The inbound and outbound queue totals are shown on each page at the top along 
with the
system status and message totals. You can also view them on the status page.

The list of messages in each queue is available under an new menu "Mail Queues" 
in the
status tab.

A manage.py command has been added to process the mail queues and store the 
data to the
DB. You need to run this manage command periodically via cron say every 5 Mins 
or so.

The command added is manage.py queuestats --mta mta_name

This change adds an extra table to the database so you need to run manage.py 
syncdb before
you start using the functionality.

If you can test this in your test environments it would be great.

Andrew

--
Baruwa - www.baruwa.org

_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa
_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa

Reply via email to