On 8/14/2012 6:22 AM, Eray Aslan wrote: > I received a complaint from a user that postfix status command is for > root only and that he cannot - or rather the monitoring software cannot > - use that command to monitor postfix's health. > > What would be a good way to monitor postfix as a non-privileged user > without going through the sudoers route? >
Postfix is extremely stable and doesn't need much monitoring. Something like "tcping localhost 25" is a sufficient non-root test to see if postfix is running. IMHO it's more helpful to monitor the postfix queue to make sure it isn't growing at an unusual rate, and to monitor whatever external content filters, policy services, and milters your postfix depends on. But you'll probably need root for that too. -- Noel Jones