Emails not working

Im using a subdomain to access my pbx example: pbx.domain.com , I couldt find a SMTP configuration to make sure my email settings are correct, im using: FreePBX 14.0.13.12 Free Version:
Any suggestion?
Emails are been blocked from gmail this is my log:
Dec 9 13:23:44 pbx postfix/pickup[17105]: 3ADC540E57ED: uid=0 from=[email protected]
Dec 9 13:23:44 pbx postfix/cleanup[19120]: 3ADC540E57ED: message-id=<[email protected]@domain.com>
Dec 9 13:23:44 pbx postfix/qmgr[1376]: 3ADC540E57ED: from=[email protected], size=468, nrcpt=1 (queue active)
Dec 9 13:23:44 pbx postfix/smtp[19121]: 3ADC540E57ED: to=[email protected], relay=aspmx.l.google.com[172.217.212.27]:25, delay=0.5, delays=0.01/0.01/0.21/0.26, dsn=5.7.1, status=bounced (host aspmx.l.google.com[172.217.212.27] said: 550-5.7.1 [70.38.2.218 18] Our system has detected that this message is 550-5.7.1 likely suspicious due to the very low reputation of the sending IP 550-5.7.1 address. To best protect our users from spam, the message has been 550-5.7.1 blocked. Please visit 550 5.7.1 https://support.google.com/mail/answer/188131 for more information. i17si655062ioo.118 - gsmtp (in reply to end of DATA command

You need SysAdmin Pro.

There’s a lot of work necessary to set up an e-mail host that will pass through all of the filters that the “big guys” (GMail, Microsoft, etc.) set up to prevent spam. If you use a service like Sendgrid or Mailgun then you don’t have to go through as much trouble.

Sendgrid has a free plan and documentation on how to configure Postfix: https://sendgrid.com/docs/for-developers/sending-email/postfix/

Mailgun is also free for low-volume uses. Tutorial: https://blog.birkhoff.me/send-email-thru-mailgun-on-centos-7/

1 Like

I strongly agree with @billsimon that Sendgrid / Mailgun is the way to go.

It avoids having credentials for your email service on the PBX (which could be stolen if the machine gets hacked).

Also, it’s a “one size fits all” solution – a script given an API key as its only argument can set up sending mail, regardless of your mail provider. I would like to see this in the Distro as the default mail setup.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.