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...
Scott1234 Posted April 1 Report Share Posted April 1 You can also just input the line under reg_email like so. "YOUR NAME HERE" <abc@abc.com> Quote Link to comment Share on other sites More sharing options...
mcbsys Posted April 1 Author Report Share Posted April 1 11 hours ago, Scott1234 said: You can also just input the line under reg_email like so. "YOUR NAME HERE" <abc@abc.com> @Scott1234, sorry but where in the UI is "reg_email"? As mentioned above, adding a name in front of the email address at System > Settings > Messaging > Email Setup > From address was not enough. Quote Link to comment Share on other sites More sharing options...
Scott1234 Posted April 2 Report Share Posted April 2 5 hours ago, mcbsys said: @Scott1234, sorry but where in the UI is "reg_email"? As mentioned above, adding a name in front of the email address at System > Settings > Messaging > Email Setup > From address was not enough. Yeah I mean in that section its setting the display name in the quotes part, but not sure if that would get stripped in your setup. Quote Link to comment Share on other sites More sharing options...
mcbsys Posted April 2 Author Report Share Posted April 2 Okay thanks. Yeah that seems to disappear before it gets to me. Fortunately the System Name in the subject works. Quote Link to comment Share on other sites More sharing options...
edborg66 Posted April 18 Report Share Posted April 18 Hello All, How did you guys manage to change the email subject for all email notifications? Following the instructions above and going to the reg_settings.htm file. Mine is completely blank ? Quote Link to comment Share on other sites More sharing options...
mcbsys Posted April 18 Author Report Share Posted April 18 reg_settings.htm is the URL where you change the setting, e.g. https://phonesystem.mydomain.com/reg_settings.htm. The normal way to get there is System > Settings > General > System. Then the first thing on that page, General > System Name. Quote Link to comment Share on other sites More sharing options...
Matevz Posted June 1 Report Share Posted June 1 Hi There my email subjects always present as: "Welcome to the Vodia Phone System" I've got different tenants where this is updated to the company name and in PBX main system settings under system level, but it still sends out with incorrect email subject how can I fix this? cheers Matt Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted June 2 Report Share Posted June 2 The prefix is for admin emails, not for end user emails. 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.