Need the smtp-relay.sendinblue.com password How much notifications do you really need?
- This could be noisy
- Create email aliases for dev and prod in email :
- Example: rob+checkmkdev@bettrdata.io and rob+checkmk@bettrdata.io Trapper queue scan can miss the numbers on small instances
echo "Test message" | mail -s subject user@gmail.com
echo "My message" | mail -s subject rob+checkmkdev@bettrdata.io
server: smtp-relay.sendinblue.com port: 587
from: no-reply@checkmk.bettrdata.io
https://forum.checkmk.com/t/unable-to-send-email-notifications-via-external-smtp-server/38945
Thank you very much!
I didn’t know this existed. For posterity here is what I did:
apt-get install nullmailer echo "smtp.ionos.de smtp --auth-login --user=mymail@example.com --pass=mypassword --port=587 --starttls" > /etc/nullmailer/remotes echo "example.com" > /etc/nullmailer/defaultdomain chmod 600 /etc/nullmailer/remotes service nullmailer restart Tested with this and with the fake check results command:
echo "error" | NULLMAILER_NAME="Testsystem check" mail -s "This is just a test with nullmailer" "mymail@example.com"