To lower the chance of messages getting flagged as spam, I setup a Gmail account and used its SMTP servers to send email.
FreePBX Version
I have performed these steps on the FreePBX 1.814 and an earlier distribution. If you're using postfix for email, then these instructions should work for you.
Prerequisites
- A gmail account created at gmail.com
- Knowledge of using SSH command line
Instructions
- Add the following lines to /etc/postfix/main.cf file:
- Create the file /etc/postfix/sasl_passwd with the following contents:
- Restrict permissions on the postfix file:
- Hash the file into a .db that Postfix will read:
- Change the owner of the sasl_passwd to the postfix user:
- Reload postfix:
Great post. Worked well for me. I did this on a FreePBX 2.10
ReplyDeleteThank you
I tried this but in the mail log /var/log/maillog I'm getting 554 5.7.1 : Sender address rejected.
ReplyDeleteI did not get any errors when I put in all the commands from above. The only thing I did differently was use the smtp.aol.com instead of google. I verified that 587 is still the port. Any ideas?
Just tested it and works, thanks you very much
ReplyDeleteOne the few times I actually used something from the Internet and it worked the first time!!!
ReplyDeleteIt appears that there is a weakness and too much complexity in FreePBX when it comes to simply sending out emails with Voice Mail Attachments.
Thank you again for filling in a large gap...
Works for me, many thanks for this.
ReplyDeleteStrangely enough I've tried this on a Zoho account and a Google Apps account and it doesn't work, but it does on my plain vanilla gmail account. I have no idea why that should be?
DeleteThis worked like a champ the first time around with FreePBX/Asterisk 11 with Centos 6.
ReplyDeleteI almost forgot, I thank you very much.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteAwesome post.
ReplyDeleteThanks
articlepole | clarity | teamspeak | avscripts | antergos
This comment has been removed by a blog administrator.
ReplyDeleteWork very nice with RasPBX (Raspberry pi)
ReplyDelete- Asterisk 13.20.0
- FreePBX 14.0.2.10
This comment has been removed by a blog administrator.
ReplyDeleteWhen you use a genuine service, you will be able to provide instructions, share materials and choose the formatting style. 2013 Aged/Old Gmail
ReplyDeleteI have read your article, it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting about freepbx.
ReplyDeleteTangki Panel
This worked for me in 2020. Thank you for posting.
ReplyDeleteusing:
FreePBX 15.0.16.44
Asterisk 16.6.2
Extremely helpful post. This is my first time visiting here. I discovered such a large number of intriguing stuff in your blog particularly its exchange. Truly its extraordinary article. Keep it up. FreePBX Exploit Phone Home
ReplyDeleteThis is truly satisfactory to examine the substance of this blog. An is incredibly wide and epic capable stage has been known by this blog. I really welcome this blog to have such kind of enlightening data. Cloud PBX Charlotte
ReplyDeleteKeep it up and in the future sharing more articles like this. I read your post and got it quite informative. I couldn't find any knowledge on this matter prior to. You are sharing a piece of nice information, it helped me. If anyone looking for the Email Finder Free then visit our website at minelead.io
ReplyDeleteThanks for giving me your time to share this article here. Your article is very educational and I am affected by the details that you have shared in this post. Thanks for the wonderful article. pbx system for small business
ReplyDeleteYour article contains very much information about the server. Your article is very informative and useful to know more about the streaming. Thank you for sharing this article here. Oracle Fusion Manufacturing online Training
ReplyDeleteWe are really grateful for your blog post. You will find a lot of approaches after visiting your post. I was exactly searching for. Thanks for such post and please keep it up. Great work. asterisk pbx
ReplyDeleteWow, What an Excellent post.I really found this to much informative. It is what I was searching for.I would like to suggest you that please keep sharing such type of info. email validation services
ReplyDeleteGmail got some truly incredible highlights and one should know everything to appreciate Gmail at its best. I will attempt my level best to clarify however much I can about Gmail from my own insight and expectation that this article will may assist you with utilizing Gmail all the more effectively. buy instagram accounts
ReplyDeleteNice post. I'm impressed by this blog. There is so much information about this topic. Thanks for sharing an amazing article like this. please keep posting. Mailing Companies Scottsdale
ReplyDeleteQuite an amazing post which you have shared here postfix SMTP server. It is a genuinely informative and helpful post. Much obliged to you for sharing it. Email Marketing Services For Small Business
ReplyDeleteThis is important information which is shared by you. This info is meaningful and important for everyone to increase our knowledge about it. Always keep sharing this kind of information. Thank you. buy old gmail accounts in bulk for business
ReplyDelete