Hi there.
I have a freepbx hosted in a cloud service (specifically for freepbx)
I am in the testing face, so it’s not in production. But testing is going well.
I have the system admin pro and setup the email configuration to work with external smtp through Gmail.
I tested the setup through mail [email protected] and it goes through.
I setup a full backup routine every day at midnight to save it to an external ftp, all this works fine.
I setup to send result notification to my email and here is where the problem is and the question to this forum.
At the end of the backup the smtp sends an email to my email reporting results and that is what I programmed and working fine. But it’s also sending a second email that shows en error. The error report is sent to my email stating
(For security reasons lets assume my external ip is 50.50.50.50 and the hosting url is HOSTING.COM) - 50.50.50.50.HOSTING.COM
Address not found
Your message wasn’t delivered to [email protected] because the domain 50.50.50.50.HOSTING.COM couldn’t be found. Check for typos or unnecessary spaces and try again.
Then there is also an explanatory note within the email:
The response from the remote server was:
DNS Error: 124251605 DNS type ‘mx’ lookup of 50.50.50.50.HOSTING.COM responded with code NXDOMAIN Domain name not found: 50.50.50.50.HOSTING.COM
With this email is also attached the log file where I can see the backup was successfully completed.
My questions are:
- Why the system is sending this second email?
- Why is giving this error?
I ran a test using the Debug button and here is the result:
Apr 3 08:16:31 45 postfix/pickup[14068]: 9223C2A22CA: uid=499 from=
Apr 3 08:16:31 45 postfix/cleanup[19240]: 9223C2A22CA: message-id=[email protected]
Apr 3 08:16:31 45 postfix/qmgr[2580]: 9223C2A22CA: from=[email protected], size=535, nrcpt=1 (queue active)
Apr 3 08:16:31 45 postfix/smtp[19242]: connect to smtp.gmail.com[4digits:4hexa:4hexa:4hexa:3hexa:2hexa]:587: Network is unreachable
Apr 3 08:16:33 45 postfix/smtp[19242]: 9223C2A22CA: to=[email protected], relay=smtp.gmail.com[IPV4 EXTERNAL IP]:587, delay=2.1, delays=0.03/0.04/0.59/1.4, dsn=2.0.0, status=sent (250 2.0.0 OK 1491221793 f184sm3544481vkc.6 - gsmtp)
Apr 3 08:16:33 45 postfix/qmgr[2580]: 9223C2A22CA: removed
I will appreciate any help.