Page 1 of 1
User Account emails
Posted: Thu Feb 19, 2015 10:05 pm
by Fred Kroeger
It seems I can no longer email User account details/changes from the Admin screen anymore.
I can send an email to the users email address from the command line, I can send a Test email notification from Nagios and event notifications emails are sent successfully as well.
However , If I add or Change a Users password and tick the "Email User New Password" box - the email never arrives.
I am running NagiosXI 2014 R2.3
Regards.. Fred
Re: User Account emails
Posted: Fri Feb 20, 2015 10:43 am
by lmiltchev
Fred, are you using SMTP or sendmail? Have you checked the mail logs ("/var/log/maillog" if you are using sendmail or "/usr/local/nagiosxi/tmp/phpmailer.log" if you are using SMTP)? I tested this on 2014R2.6 and was not able to recreate the issue. I may spin a 2014 R2.3 VM and test it again. Are you using 32- or 64-bit?
Re: User Account emails
Posted: Mon Feb 23, 2015 12:00 am
by Fred Kroeger
Hi Ludmil - Am using sendmaul
Checked /var/log/maillog and sent a couple of emails
This was generated when I used the "Send A Test Email" link inthe Mail Settings page.
Code: Select all
Feb 23 12:36:03 nag01 postfix/pickup[26484]: DF6F416B1: uid=48 from=<[email protected]>
Feb 23 12:36:03 pnag01 postfix/cleanup[27108]: DF6F416B1: message-id=<71a64c8b5f97baa509a8ee264464e727@pernag01>
Feb 23 12:36:03 nag01 postfix/qmgr[1698]: DF6F416B1: from=<[email protected]>, size=1010, nrcpt=1 (queue active)
Feb 23 12:36:04 nag01 postfix/smtp[27546]: DF6F416B1: to=<[email protected]>, relay=smtp.XXX.com[192.168.X.Y]:25, delay=0.38, delays=0.06/0.05/0/0.27, dsn=2.6.0,
status=sent (250 2.6.0 <71a64c8b5f97baa509a8ee264464e727@pernag01> [InternalId=1859720841123, Hostname=PERMBX.XXX.com] Queued mail for delivery)
Feb 23 12:36:04 nag01 postfix/qmgr[1698]: DF6F416B1: removed
This was generated when I created a user with my email address and ticked "Email User Account Information"
Code: Select all
Feb 23 12:40:10 nag01 postfix/pickup[26484]: 87DDB16EA: uid=48 from=<[email protected]>
Feb 23 12:40:10 nag01 postfix/cleanup[30902]: 87DDB16EA: message-id=<2eb8617746c7b97ce89be576f0949d66@pernag01>
Feb 23 12:40:10 nag01 postfix/qmgr[1698]: 87DDB16EA: from=<[email protected]>, size=1354, nrcpt=1 (queue active)
Feb 23 12:40:10 nag01 postfix/smtp[30905]: 87DDB16EA: to=<[email protected]>, relay=smtp.XXX.com[192.168.X.Y]:25, delay=0.43, delays=0.11/0.05/0.01/0.27, dsn=2.6.0,
status=sent (250 2.6.0 <2eb8617746c7b97ce89be576f0949d66@pernag01> [InternalId=1859720841279, Hostname=PERMBX.XXX.com] Queued mail for delivery)
Feb 23 12:40:10 pernag01 postfix/qmgr[1698]: 87DDB16EA: removed
The first email arrives - the second doesn't (not even in any trash/blocked folders). They are both non-zero in size, so I would expect them both to be delivered.
The only thing I can think of is that there is something in the user account details email that is preventing it's delivery?
regards... Fred
Re: User Account emails
Posted: Mon Feb 23, 2015 12:54 am
by Fred Kroeger
My last line in my previous post got me thinking and I got our Exchange Admin to look at emails deleivered at the same time as the time in the logs.
Sure enough, there is something in the User Notification email that triggers a SPAM/PHISHING rule - all the other emails from Nagios don't trigger this rule.
The solution will be to get the Reply-to address from Nagios configured in the Exchange Whitelist.
Thanks for your help.... Fred
Re: User Account emails
Posted: Mon Feb 23, 2015 9:52 am
by tgriep
Glad you have it resolved. I will close the ticket for you.