Op maandag 28 oktober 2019 18:24:00 CET schreef Carlos E. R.:
On 28/10/2019 16.16, Freek de Kruijf wrote:
Since a few days, apparently after an upgrade, postfix tries to send messages to smtp.gmail.com:587 (SASL authentication failed; cannot authenticate to server smtp.gmail.com[2a00:1450:400c:c0a::6d]: invalid parameter supplied). I have a file /etc/postfix/sender_dependent_relayhost in which messages I send with my gmail account are referred to this server. I also have a /etc/postfix/sasl_passwd file with this server and associated username and password.
This used to work quite well a few days ago. I searched the internet for solutions, but found none.
I have that setup, but on Leap. I will send this reply using gmail to see if it works.
Meanwhile, do login to gmail via web browser, and make sure there are no pending security actions. Make sure that "download using less secure applications" is enabled.
Verify that you can download email from that account using imap (or pop3 if you are using that).
I say that because gmail has the $/&%/"&! knack of disabling the account if they don't like how you connect. For instance, if you change location.
Found the solution by googling. It needs the following new line in postfix main.cf: smtp_sasl_mechanism_filter = plain -- fr.gr. member openSUSE Freek de Kruijf -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org