Info -------------------------- I see the following in the log file. [CDT Sep 5 11:53:39] error : Sendmail error: 500 Command not implemented [CDT Sep 5 11:53:39] error : Alert handler failed, retry scheduled for next cycle
monitrc file set mailserver smtp.mailgun.org port 587 username "REMOVED FOR OBVIOUS REASONS" password "REMOVED FOR OBVIOUS RAISINS" Fedora uses ssmtp as a sendmail replacement and it contains the exact same info as monitrc. The permissions for /var/monit are 700 with root:root owner:group but monit runs as root so that shouldn't be an issue. Fix ---------------------------- Deliberately broke the smtp info in monitrc. Saw monit queue up a couple of alerts. Changed permissions on /var/monit to 777 Fixed smtp info Alerts sent once and files removed. There was no monit user or monit group created when I installed it. It looks like it's running under root to me but I admit I'm not 100% sure. Thanks for your quick resonse. On Fri, Sep 5, 2014 at 12:16 PM, Martin Pala <[email protected]> wrote: > Hello, > > please check Monit log ... there was probably some problem - either the > mailserver returned error the there was problem when it tried to remove the > queued file (such as permissions). > > Regards, > Martin > > > On 05 Sep 2014, at 19:13, Alex Brown <[email protected]> wrote: > >> While changing monit settings for my site I screwed up the regular >> expression matching and monit generated an alert email as it should. >> I fixed the problem but monit kept sending me emails saying it was not >> matching. I finally noticed that the email was the same timestamp. >> I removed the files from /var/monit and everything works now. Why does >> monit not remove the cached alerts after it emails them? >> >> -- >> __________________________________________________________________________ >> >> Alex Brown >> [email protected] >> >> -- >> To unsubscribe: >> https://lists.nongnu.org/mailman/listinfo/monit-general > > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general -- __________________________________________________________________________ Alex Brown [email protected] -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
