Page 4 of 8

Re: Text Verification Times Out

Posted: Thu Oct 24, 2019 12:59 pm
by mbellerue
Alright, I think we should keep working through the SMTP issue, but if you'd rather take this the Sendmail route, we can do that.

For SMTP, I think we should enable IPv6 temporarily, just to see if this is one of the unintended consequences of turning IPv6 off. To turn it on, edit the /etc/sysctl.conf file, find these lines and comment them out,

Code: Select all

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
Save the file, and then run sysctl -p and then see if ip addr gives you an IPv6 address. If it does, we can try the SMTP email test again, with smtp.office365.com as the SMTP server.


For Sendmail, that's going to be trickier. If it sent the mail off, it's up to the receiving mail server to determine whether it wants to accept email from random sendmail servers. Since it was working before, it should be working now. So my guess would be that it's getting caught in a filter now.

Re: Text Verification Times Out

Posted: Thu Oct 24, 2019 1:19 pm
by ecolgroveMOT
Nagios reply's:
[root@nagiosxi etc]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:15:5d:6a:81:13 brd ff:ff:ff:ff:ff:ff
inet 10.50.106.235/24 brd 10.50.106.255 scope global noprefixroute dynamic eth0
valid_lft 608085sec preferred_lft 608085sec

Re: Text Verification Times Out

Posted: Thu Oct 24, 2019 3:27 pm
by mbellerue
Run dhclient -6 and see if it gives an IPv6 address. If it does, try the test email with smtp.office365.com as the SMTP server.

Re: Text Verification Times Out

Posted: Thu Oct 24, 2019 3:37 pm
by ecolgroveMOT
Nagios gives no address at all with that command given.

Re: Text Verification Times Out

Posted: Thu Oct 24, 2019 4:41 pm
by tgriep
Try this, go to outlook.com and try to login the web version of your email account using your credentials to see if it they are still valid and not locked out.

Re: Text Verification Times Out

Posted: Thu Oct 24, 2019 4:54 pm
by ecolgroveMOT
Yes my web version of office 365 opens up just fine

Re: Text Verification Times Out

Posted: Thu Oct 24, 2019 5:00 pm
by tgriep
Try this to enable debugging in the PHPMailer. Post the debug info.
https://support.nagios.com/kb/article/p ... g-820.html

What is the exact URL you used to login to the Office365 web site?

Re: Text Verification Times Out

Posted: Thu Oct 24, 2019 5:09 pm
by ecolgroveMOT
This is what happens when i click send test email see attachment

Re: Text Verification Times Out

Posted: Fri Oct 25, 2019 8:33 am
by tgriep
I would go back to the instructions and undo the debugging to get the GUI to respond again.

I think Outlook is blocking the Nagios server for email relaying.
Take a look at the following link as the section for settings for SMTP Relay or the Direct Send. You may have to do that.
https://docs.microsoft.com/en-us/exchan ... g-office-3

Re: Text Verification Times Out

Posted: Fri Oct 25, 2019 8:54 am
by ecolgroveMOT
after running the command to undo the debug option i still get the blank screen when i click send test email.