Not able to use external SMTP server to send notifications, local postfix works

Sending from the console is done with the same user as the monitoring is running with? In our case we didn’t change the mail.rc at all. SSMTP is used as a relay.