~sircmpwn/aerc2#267: Invalid credentials (Failure)

What does this error message mean? I saw in another issue that if I entered a wrong password then i would have gotten authentication failed.

my accounts.conf is as follows

source   = imaps://<redacted>%40gmail.com@imap.gmail.com
outgoing = smtp+plain://<redacted>%40gmail.com@smtp.gmail.com:587
default  = INBOX
smtp-starttls = yes
source_cred_cmd=pass myaccount.google.com
outgoing_cred_cmd=pass myaccount.google.com
Assigned to
6 days ago
5 days ago
No labels applied.

~tho 6 days ago

can't even find it in the source

~psylok 6 days ago

Hi, run into the same problem.

For me it appears to be a problem with Gmail not allowing less secure applications. I receive an alarm from google saying they blocked the attempt. Disabling that security check now allow aerc to connect.

Is there a way to make aerc connect without having to do so?

~tho 6 days ago

but I haven't even enabled 2FA

~psylok 5 days ago

Me neither afaik. I found it following the link in the email I received, it is called "third party access' or access for less secure appliations. Try looking for that option.

~tho 5 days ago

Access for less secure apps setting has been turned on

still getting this error

~tho 5 days ago

but not getting alerts anymore

~psylok 5 days ago

My configuration is slightly different, as I don't use pass separated, but have the credential coded in the configuration file ~~~ [GMAIL] source = imaps://%40gmail.com:@imap.gmail.com:993 outgoing = smtp+plain://%40gmail.com:@smtp.gmail.com:587 default = INBOX smtp-starttls = yes from = <@gmail.com> copy-to = Sent ~~~