New answers tagged gmail
It appears that Google simply displays the domain found in the Return-Path and uses that. This DirectAdmin help page explained that Exim, by default, sets the return path to email@example.com when the mail is sent form a script. The solution is to change exim.conf to include the following snippet: untrusted_set_sender = * no_local_from_check ...
I had some help and they found that the passwd file didn't have brackets like the main.cf file did around the smtp.gmail.com so I changed that and remapped with postmap, then it gave me a different error that mentioned no worthy mechanism available, so I did a google search and found someone else had the same error and just installed cyrus-sasl-plain and ...
Check that you have formatted /etc/postfix/sasl/passwd correctly. It should appear as: smtp.gmail.com firstname.lastname@example.org:password_or_app_password After setting this file, you need to run postmap on it, to update the hash. postmap /etc/postfix/sasl/passwd Then reload postfix. systemctl reload postfix
Top 50 recent answers are included