[CollEc] Monit

Düben, Christian Christian.Dueben at uni-hamburg.de
Fri Feb 26 15:35:40 UTC 2021


There is an issue with sending e-mails via Exim. By default, Exim tries to send e-mails from @helos. With Monit this prints "<monit at helos>: Sender address rejected: need fully-qualified address" in the Exim logs. With "echo "This is message body" | mail -s "This is Subject" christian.dueben at uni-hamburg.de", it prints "<root at helos>: Sender address rejected: need fully-qualified address". Do you know how to configure Exim so that it sends e-mails from a valid address?

Christian Düben
Research Associate
Chair of Macroeconomics
Hamburg University
Von-Melle-Park 5, Room 3102
20146 Hamburg
Germany
+49 40 42838 1898
christian.dueben at uni-hamburg.de
http://www.christian-dueben.com

-----Original Message-----
From: Thomas Krichel <krichel at openlib.org> 
Sent: Donnerstag, 25. Februar 2021 16:57
To: Düben, Christian <Christian.Dueben at uni-hamburg.de>
Cc: CollEc Run <collec-run at lists.openlib.org>
Subject: Re: [CollEc] Monit

  Düben, Christian writes

> It looks like the entire system took a hit five days ago. Usually, 
> that is not a problem. The Docker containers are set to restart 
> automatically. While the ShinyProxy container did restart, the MariaDB 
> container was damaged to an extent that Docker could not restart it.

  But this should not have happen. 

> As I only check CollEc infrequently these days, I would like set up a 
> notification system that sends an e-mail alert following critical 
> errors. In particular, I would like to use the system outlined in this 
> post: https://dummylabs.com/post/2018-08-15-monit/. It uses Monit to 
> send e-mail alerts. Monit needs to be connected to an e-mail account / 
> mail server. Is there a mail server on Helos that I can connect it to?

  Sure it runs exim and it can send mail. I suspect that monit will be
  able to send mail from localhost.

  
-- 

  Cheers,

  Thomas Krichel                  http://openlib.org/home/krichel
                                              skype:thomaskrichel



More information about the CollEc-run mailing list