Configured a Communication channel in PMM and can successfully send emails but sms texts are not being sent/received. Using tmobile so format is phone#@tmomail.net. Any advice on how to troubleshoot this?
Can you send to that email address from your normal email client? If that doesn’t work, then you know the issue is with tmomail and not PMM.
Yes, I can successfully send a message to tmomail.net via Outlook. An alert message to a regular email address (gmail) works as well, just not to sms. I will try using sendmail on the PMM host machine.
I think there are smtp logs in the /srv/logs/alertmanager.log that might give some indication. The best you will see is if the first smtp server accepted/rejected the message so if it was accepted (250 OK) then the issue will be with one of the upstream SMTP transactions. If rejected it could be for a few reasons like DKIM signing, SPF or a few other spam prevention mechanism.
I am seeing the following in the /var/log/mail.log ‘sender rejected AUP#DNS’ This feels like Tmobile is rejecting this based on origin( my PMM host).
Yep, could be reverse dns not set or coming from a dynamic range IP address.
I’d recommend you look at relaying mail from the PMM server to your ISPs smtp server (you’ll need to auth to the smtp server and use a from domain that the ISP agrees with). Here’s a blog on how to use O365 or gmail as a more legitimate email relay.