Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mutt command line send email fail with SASL authentication
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
weiypan_us
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2017
Posts: 91

PostPosted: Tue Dec 17, 2019 11:18 pm    Post subject: mutt command line send email fail with SASL authentication Reply with quote

I install and setup mutt to receive and send gmail under command line

I got following fail message. Does anyone know where is the problem and how to fix?

Quote:
TLSv1.3 connection using TLSv1.3 (TLS_AES_256_GCM_SHA384)
SASL authentication failed
Could not send the message.


Thanks
Back to top
View user's profile Send private message
kajzer
l33t
l33t


Joined: 27 Nov 2014
Posts: 646

PostPosted: Tue Dec 17, 2019 11:50 pm    Post subject: Reply with quote

Do you use maybe mbsync (isync) ?
If yes then try adding this line in your .mbsyncrc file and see if it works, it helped me.
Code:
SSLVersions TLSv1.1
Back to top
View user's profile Send private message
weiypan_us
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2017
Posts: 91

PostPosted: Wed Dec 18, 2019 12:11 am    Post subject: Reply with quote

Hi Kajzer,

I do not have isync

Quote:
* net-mail/isync
Latest version available: 1.3.0-r1
Latest version installed: [ Not Installed ]
Size of files: 303 KiB
Homepage: http://isync.sourceforge.net/
Description: MailDir mailbox synchronizer
License: GPL-2


I have rsync but it not looks mail related.
Back to top
View user's profile Send private message
kajzer
l33t
l33t


Joined: 27 Nov 2014
Posts: 646

PostPosted: Wed Dec 18, 2019 10:04 am    Post subject: Reply with quote

Yes, rsync is for something else, I have it too.

I'm using isync for grabbing emails from servers and neomutt for reading it, and it worked fine until after doing some updates it stopped (only for gmail accounts) , with the same error you have.
Then I solved that with that line in the config file, but after some time and more updates it wasn't needed anymore, now it works normal without any interventions.

I think there was something in the openssl which was causing these problems , but I'm not sure.
I'm currently on 1.1.1d-r3, so if you're on older version you can maybe try with that.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum