→ Applies to: SynetoOS 4.x
These are the services used for alert notifications:
svc:/network/sendmail-client:default
svc:/network/smtp:sendmail
Step 1. Connect to SynetoOS appliance via SSH as admin
ssh admin@<your_ip_address_or_hostname>
Step 2 (optional). Change into Solaris shell (in case you're directed to an unsupported shell)
un sh
Step 3. Get root privileges
sudo su -
Step 4. Check logs on messages file
cat /var/log/messages | grep sendmail
Step 5. Check the service file logs
cat /var/svc/log/network-sendmail-client:default.log
cat /var/svc/log/network-smtp:sendmail.log
cat /var/svc/log/system-fm-smtp-notify:default.log
Step 6. Check the first line for the address used to send email notifications
cat /var/storage/mail_sender_address.conf
Step 7. Check the .ini file that contains the current SMTP configuration as indicated in the GUI
cat /var/storage/mailer.ini
EXAMPLE OUTPUT
cat /var/storage/mailer.ini transport = smtp host = smtp.gmail.com port = 25 ssl = 0 auth = 0 username = synetotestalert@domain.com password = passexample sender = synetotestalert@domain.com