Hello,
When I do an alarm, the file eventengine.log receive the alert but with the
following errors and I don't receive a mail:
[2015-06-12 14:08:55,014] [INFO] [pid=26242 nav.alertengine.handle_new_alerts]
alert 55 queued for admin due to subscription 1
[2015-06-12 14:09:21,098] [ERROR] [pid=26242
nav.alertengine.alertaddress.send] Email raised a DispatcherException
indicating that an alert could not be sent at this time: Could not send email:
Connection unexpectedly closed"
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/handlers.py", line 926, in emit
smtp.sendmail(self.fromaddr, self.toaddrs, msg)
File "/usr/lib/python2.7/smtplib.py", line 722, in sendmail
raise SMTPSenderRefused(code, resp, from_addr)
SMTPSenderRefused: (553, 'sender domain must exist', 'navcron@navappliance')
Logged from file profiles.py, line 377
[2015-06-12 14:09:21,655] [INFO] [pid=26242 nav.alertengine.check_alerts] 1
new alert(s), sent 0 alert(s), 1 queued alert(s), 0 alert(s) deleted, 1 failed
send(s), 0 ignored
[2015-06-12 14:09:21,656] [WARNING] [pid=26242 nav.alertengine.check_alerts]
Send 1 alerts failed.
I configured Exim with the following parameters:
dc_eximconfig_configtype='satellite'
dc_other_hostnames='exinfrserv1.epfl.ch'
dc_local_interfaces='127.0.0.1 ; ::1'
dc_readhost='exinfrserv1.epfl.ch'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='mail.epfl.ch'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
When I test with the command 'echo "hello world" | mail -vv -s test
nicolas.biselx(a)epfl.ch' The mail is sent and receive
In nav.conf, I also configured
DEFAULT_FROM_EMAIL=nicolas.biselx(a)epfl.ch
EMAIL_HOST=mail.epfl.ch
EMAIL_PORT=465
EMAIL_HOST_USER=biselx
EMAIL_HOST_PASSWORD=********
EMAIL_USE_SSL=True
I don't know what's wrong, Is it fair to configure Exim and nav.conf ?
Is what I missed part of the configuration ?
Regards,
Biselx Nicolas