Page 1 of 1

Email Not Sending via Sendmail

Posted: Tue Mar 10, 2020 1:27 pm
by morganmiskell
I have a new contact that I have created and appears to be configured properly. It will not even attempt to notify that user. When an alert happens sendmail (localhost) shows no attempt to send the message. I've tested using force/broadcast and it still doesn't attempt to send a message to this contact.

I've compared the contact record underneath in the config between a working contact and this contact and I can't see a difference. Can you assist?

Working contact:
define contact {
contact_name benjamin.shelton
alias Benjamin Shelton
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period benjamin.shelton_notification_times
service_notification_period benjamin.shelton_notification_times
host_notification_options d,u,r,f,s,
service_notification_options w,u,c,r,f,s,
email [email protected]
use xi_contact_generic,generic-contact
}

Non Working Contact (yes 24x7 is a valid notification period)
define contact {
contact_name AXIS_API
alias Teams AXIS API Room
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period 24x7
service_notification_period 24x7
host_notification_options d,u,r,f,s,
service_notification_options w,u,c,r,f,s,
email [email protected]
use xi_contact_generic,generic-contact
}

Re: Email Not Sending via Sendmail

Posted: Tue Mar 10, 2020 2:35 pm
by jdunitz
Indeed, everything does look like it should work...

Is AXIS_API a user account, or just a contact?


Would you be able to post or PM us a system profile?

To do so, go to Admin at the top, and System Profile under System Config on the left:
GetProfile.png


Also, is sendmail able to actually send to this address [email protected]?

What happens if you try:

Code: Select all

 # echo hi | mailx -s this_is_a_test [email protected]
Thanks!

--Jeffrey