wardmundy
Nerd Uno
- Joined
- Oct 12, 2007
- Messages
- 20,217
- Reaction score
- 5,974
As noted in this thread, Google has begun warning that it is phasing out so-called "Less Secure Apps" from its platforms. What impact this ultimately will have on the Gmail Smarthost solution we have been using to provide outbound email service on Incredible PBX platforms remains unclear. But heeding the admonition of @ostridge, it did light a fire under us to begin searching for a stable alternative moving forward.
We've chosen a well-respected email platform, MXroute, and have taken advantage of their lifetime subscription offer to first bring the new Smarthost outbound email service to Incredible PBX 2022 (Rocky 8) using MXroute and Postfix. This will NOT damage your existing SendMail setup. We're simply going to turn off SendMail and turn on the existing Postfix platform. Once stable, we'll expand to Debian, Ubuntu, and Raspbian platforms.
Going into this, we obviously appreciate the potential for spammers to infiltrate our platform and use it for their own purposes. To deter this threat, we will need a username:password scheme that can quickly remove any identified bad actors and change the email credentials. This means that, from time to time, we may need to notify individual users to install a new password combination on their Incredible PBX platforms.
While still open to suggestions, "the plan" is to solicit names, addresses, IP and email info from every user that wishes to use the new service. We then can quickly send an update PIN when necessary to deploy modified username:password credentials. There would be a simple script (something like what's shown below) to load the updated credentials onto your server. We would deploy a script that prompts for the PIN of the day (104328 in the example), and the rest is automatic.
We now have fully tested this and are ready for a few pioneers as well as any thoughts you may have on the process. You will need an Incredible PBX 2022 server or VirtualBox VM if you'd like to play.
To get started, send an email to [email protected] with the requested info:
Name
Address
Cellphone Number (for receipt of PINs)
Server IP Address (dynamic DNS change will NOT break anything)
Your Email Address (should match the sender email address of your message to [email protected])
We've chosen a well-respected email platform, MXroute, and have taken advantage of their lifetime subscription offer to first bring the new Smarthost outbound email service to Incredible PBX 2022 (Rocky 8) using MXroute and Postfix. This will NOT damage your existing SendMail setup. We're simply going to turn off SendMail and turn on the existing Postfix platform. Once stable, we'll expand to Debian, Ubuntu, and Raspbian platforms.
Going into this, we obviously appreciate the potential for spammers to infiltrate our platform and use it for their own purposes. To deter this threat, we will need a username:password scheme that can quickly remove any identified bad actors and change the email credentials. This means that, from time to time, we may need to notify individual users to install a new password combination on their Incredible PBX platforms.
While still open to suggestions, "the plan" is to solicit names, addresses, IP and email info from every user that wishes to use the new service. We then can quickly send an update PIN when necessary to deploy modified username:password credentials. There would be a simple script (something like what's shown below) to load the updated credentials onto your server. We would deploy a script that prompts for the PIN of the day (104328 in the example), and the rest is automatic.
Code:
# Issue command: /root/smarthost-update 104328
cd /etc/postfix
wget http://incrediblepbx.com/email/$1/smarthost.tar.gz
tar zxvf smarthost.tar.gz
rm -f smarthost.tar.gz
systemctl restart postfix
We now have fully tested this and are ready for a few pioneers as well as any thoughts you may have on the process. You will need an Incredible PBX 2022 server or VirtualBox VM if you'd like to play.
To get started, send an email to [email protected] with the requested info:
Name
Address
Cellphone Number (for receipt of PINs)
Server IP Address (dynamic DNS change will NOT break anything)
Your Email Address (should match the sender email address of your message to [email protected])
Last edited:
