DEAL Hostodo VPS Special $12/Year

Whatever you say, @Samot. Works as advertised for the rest of us:

View attachment 6440
Yes, when you run the command correctly from the cli it works. Did you just not read the entire post? The install script is not modifying the pbxstatus file correctly.

What you have in the installer is this and it does not match the word (case sensative) sendmail and the replacement is incorrect as well.
sed -i 's|SendMail| Postfix|' /usr/local/sbin/pbxstatus
You still end up with this in pbxstatus

test=`ps aux | grep -c sendmail`
if [ "$test" -lt "2" ]; then
sendmail="$DN"
else
sendmail="$UP"
fi
I had to manually edit pbxstatus and change sendmail to postfix to get that screenshot to show it as UP.
 
Yes, when you run the command correctly from the cli it works. Did you just not read the entire post? The install script is not modifying the pbxstatus file correctly.

What you have in the installer is this and it does not match the word (case sensative) sendmail and the replacement is incorrect as well.

You still end up with this in pbxstatus


I had to manually edit pbxstatus and change sendmail to postfix to get that screenshot to show it as UP.
If you had let the Automatic Update Utility run, you wouldn't have had the problem.
 
If you had let the Automatic Update Utility run, you wouldn't have had the problem.
Ahh now I understand, the fix is in an updated script I would never run because I don't use gmail. So the fix is only applied if someone runs this because they use gmail.
 
Without completely rehashing what has been covered numerous times over the past decade, most ISPs block downstream email servers from sending email to reduce spam. Incredible PBX offers Gmail as a smart host so that outbound emails don't get blocked by the user's ISP. If you don't use Gmail, there are other ways to set up a smart host and avoid the problem. We chose an option that most folks can use, and we provide a simple, open source script to deploy and configure Gmail with Postfix and to put the remaining pieces in place. If you have chosen another way of doing things, then the burden is obviously on you to make it work properly and to adjust the pbxstatus interface to meet your unique requirements. Incredible PBX is an open source project so feel free to configure it in any way that meets your needs. But there's no need to bash our way of doing things when you voluntarily wander off the reservation. Peace!

From the Incredible PBX 2027 tutorial before we switched to Postfix:
Outbound mail functionality needs to be working so that you can receive voicemail messages and faxes by email. To prevent SPAM, most ISPs and ITSPs block messages from downstream mail servers. That would be you. The easiest way to resolve this is to configure SendMail using Gmail as an SMTP Smarthost. You obviously need a Gmail account to implement this and you also will need to obtain an App password for your Gmail account, and use that in lieu of your regular Gmail password when configuring SendMail. With your Gmail username and App password in hand, log into your server as root and run: /root/enable-gmail-smarthost-for-sendmail.
Same advice with Incredible PBX 2021. Same advice in the Incredible PBX 2020 tutorial. Same advice with Incredible PBX 16-15 usig Exim. Same advice with Incredible PBX 13-13. Same advice in the 2015 Application User's Guide.
 
Last edited:

Members online

Forum statistics

Threads
26,705
Messages
174,503
Members
20,272
Latest member
voipgreene
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top