OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: fvonderhoeh on February 14, 2019, 04:14:18 pm

Title: [Solved]monit smtp Problem
Post by: fvonderhoeh on February 14, 2019, 04:14:18 pm
Hi,

after the update to 19.1 the notifications are no longer available. I tried to configure monit, but get the following messages in the logfile:
monit[95267]: SMTP: Mailserver response error -- 550 invalid DNS MX or A/AAAA resource record
monit[95267]: Mail: Mailserver response error -- 550-Requested action not taken: mailbox unavailable

We use 1und1 as mail server for our domain. According to https://intodns.com/ our entries are ok, we don't have any problems with sending e-mails on any other client. I have copied my username and password, so it can't be that.

With 18.7 the notifications still worked.

Does anyone know the problem, or has a tip for me?
Title: Re: monit smtp Problem
Post by: fvonderhoeh on February 15, 2019, 11:33:30 am
I tested with postfix as smtp relay, but failed to setup.

I think the problem is the email sender. In mail from is monit@OPNsense.localdomain, but I can not change this anywhere.
Title: Re: monit smtp Problem
Post by: fvonderhoeh on February 16, 2019, 06:38:20 pm
https://github.com/opnsense/core/issues/3238
Title: Re: [Solved]monit smtp Problem
Post by: fvonderhoeh on February 18, 2019, 11:45:56 am
The sender address can be set the recipients -> mail format

https://docs.opnsense.org/manual/monit.html?highlight=monit#alert-settings