Hi, Thanks it worked using mailq. Regards, Traian.
--- On Tue, 2/28/12, Jeremy Laidman <jlaidman at rebel-it.com.au> wrote:
From: Jeremy Laidman <jlaidman at rebel-it.com.au> Subject: Re: [Xymon] keep receiving emails from xymon To: "Pavel Traian" <paveltraian at yahoo.com> Cc: xymon at xymon.com Date: Tuesday, February 28, 2012, 2:34 AM
On Mon, Feb 27, 2012 at 11:11 PM, Pavel Traian <paveltraian at yahoo.com> wrote:
I keep receiving email alerts from Xymon for a conn failure happened during the week-end.
Possibly just queued-up mail. Run "mailq" on the Xymon server. If there's a big backlog of such emails, you can clear the messages but the method depends on the MTA you run. For postfix, you use the "postsuper" command to delete (or hold) messages with given queue IDs. The postsuper man page has an example of how to select messages to delete. Or do "postsuper -d ALL" to delete all of them.
J