Mark Watts:
> 
> I have a requirement to be able to monitor a postfix queue over time,
> and to determine whether any messages are delayed due to problems
> connecting to a remote servers.
> 
> The mail system concerned is pretty simple; messages are generated
> locally and relayed to a remote server across a VPN.
> 
> While I can monitor connectivity to port 25 on the remote server, that
> doesn't guarantee that it would accept a message for onward delivery; I
> need to be able to notice delivery issues and initiate a meatware
> interface. Once the message is accepted by the remote server, onward
> delivery is monitored by another system that I have no control over.
> 
> I believe I am limited to monitoring the local mail queue to see if
> messages are being deferred, and reporting accordingly?
> 
> The postqueue(1) command doesn't appear to generate output in a format
> particularly useful for scripts to parse, so is there another tool I can
> use or is there better way to approach this problem?

QSHAPE (bundled with Postfix source) reports queue stats by age.
http://www.postfix.org/QSHAPE_README.html

        Wietse

Reply via email to