mcbsys Posted March 2 Report Share Posted March 2 I'm learning Vodia with a test system on 68.0.26. This morning my all-purpose alert email address received an email with the subject "Address 18.220.128.229 has been blacklisted". The From address only showed the final sender--a Gmail address. I finally figured out that it was from the Vodia PBX by analyzing the email headers and finding the Vodia system IP address as the original sender. I thought that adding a name to From address at System > Settings > Messaging > Email Setup would at least give me a From name, but either that is not passed along by Vodia, or it is stripped out by Google by the time it gets forwarded to me. Here are the obfuscated headers of the first hop, from the Vodia system to Gmail: Received: from mydomain.com ([202.104.185.52]) by smtp.gmail.com with ESMTPSA id f6-20020a170902ab8600b0019a7d58e595sm43422plr.143.2023.03.02.10.58.15 for <my.alerts@gmail.com> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Mar 2023 10:58:16 -0800 (PST) Message-ID: <6400f1c8.170a0220.53125.0269@mx.google.com> From: my.alerts@gmail.com Is there a way to get Vodia to pass along the From name? And/or to add a prefix to the subject of all notifications so I know where the email comes from? Thanks, Mark Quote Link to comment Share on other sites More sharing options...
claritytech Posted March 6 Report Share Posted March 6 If you use Google (Gmail) as an SMTP relay, AFAIK it will rewrite the 'FROM' to the account that's relaying. Is your final account also a Gmail account? Could you create another gmail account just for your Vodia relay? Otherwise, maybe use a different SMTP relay or self-host a hMailServer? Quote Link to comment Share on other sites More sharing options...
mcbsys Posted March 6 Author Report Share Posted March 6 @claritytech, thanks for your reply. Yes, that's the problem, by the time it is forwarded, the From name is stripped and just has the account that's forwarding. I set up one SMTP account per customer and use it for UPS alerts, RMM alerts, NAS alerts, PBX alerts, etc. Maybe I could work around it by creating a custom email just for Vodia, but I'd rather by able to customize Vodia by specifying a prefix. Attaching a screenshot of how Synology does it in their NAS. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted March 8 Report Share Posted March 8 Did you enter a system name (System name in /reg_settings.htm)? Then this text should be automatically be prepended to the email subject. We all have that problem that there are so many addressed being blocked . Quote Link to comment Share on other sites More sharing options...
mcbsys Posted March 9 Author Report Share Posted March 9 Great, thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.