Email Not Sending via Sendmail
Posted: Tue Mar 10, 2020 1:27 pm
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
}
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
}