I am having trouble with Email Setup on both of my FreePBX servers. First let me state that everything was working well for quite some time, then I made a small change, and now I am unable to return to or find a new configuration that works (for this email .
Some background on my settings:
We use Google Apps, where I have configured an SMTP relay that does not require authentication from designated IP addresses, which includes the external IP addresses of my FreePBXes. This works from my other non-FreePBX servers and previously worked for FreePBX, but does not now.
SMTP Server: Use External SMTP Server
My Hostname / My Origin: [server].[domain]
My Domain: [set to my domain]
SMTP Server: smtp-relay.gmail.com:587
Use Auth: No Authentication
Use TLS: Use TLS
SASL Security Options: Disable Security
I have tried a variety of configurations, and have not been able to get back to one that works.
I note that in the debug log, I receive a warning, “SASL authentication failure: All-whitespace username.” If I switch to “Use Authentication” and enter something for the values, submit the change, switch back to “No Authentication,” and submit the change again, I do not receive the warning.
I also note the following in the log:
(SASL authentication failed; server smtp-relay.gmail.com[184.108.40.206] said: 535-5.7.8 Username and Password not accepted. Learn more at?535 5.7.8 https://support.google.com/mail/?p=BadCredentials f187sm3506630itc.1 - gsmtp)
This leads me to believe that even though I have authentication turned off, it is still trying to use authentication. Am I missing something here? Has anyone else had a similar issue? Because it was working before making changes and submitting, it leads me to believe that the issue is related to a change in how the System Admin module is generating the config.
Any help is appreciated.