# Getmail outlook.office365 erreur

**URL:** <https://www.debian-fr.org/t/getmail-outlook-office365-erreur/85479>\
**Category:** Pause Café\
**Created:** [Octobre 7, 2021, 6:49 UTC](https://www.debian-fr.org/t/getmail-outlook-office365-erreur/85479 "2021-10-07T18:49:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yatta](https://www.debian-fr.org/user_avatar/www.debian-fr.org/yatta/32/12132_2.png) [@yatta](https://www.debian-fr.org/u/yatta)\
**Post date:** [Octobre 7, 2021, 6:49 UTC](https://www.debian-fr.org/t/getmail-outlook-office365-erreur/85479/1 "2021-10-07T18:49:11Z")

</div>

Bonjour,

J’ai un soucis avec getmail pour récupérer sur [outlook.office365.com](http://outlook.office365.com)  
je rencontre l’erreur :

```plaintext
/usr/bin/getmail --rcfile moi@qqchose.com 
getmail version 5.13
Copyright (C) 1998-2019 Charles Cazabon. Licensed under the GNU GPL version 2.
SimpleIMAPSSLRetriever:moi@qqchose.com@outlook.office365.com:993:
moi@qqchose.com : operation error (IMAP error (LIST command error: BAD ['User is authenticated but not connected.']))
  0 messages (0 bytes) retrieved, 0 skipped

```

dans les logs j’ai :

```plaintext
  2021-10-07 20:34:19 getmailOperationError error (IMAP error (LIST command error: BAD ['User is authenticated but not connected.']))

```

j’ai trouvé ça [https://gtalug.org/pipermail/talk/2018-July/006524.html](https://gtalug.org/pipermail/talk/2018-July/006524.html) mais je comprend pas comment est géré le username

> <https://github.com/mscdex/node-imap/issues/689>
>
> When I try to connect to my office365 account I get the below error, 
> "\*\*A3 BAD… User is authenticated but not connected\*\*"
> The same code works for sometimes also I have checked the password by logging into webmail.
> Please help,
> 
> Debug Log:-
> \<= 'A1 OK LOGIN completed.'
> =\> 'A2 CAPABILITY'
> \<= '\* CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS MOVE ID UNSELECT CLIENTACCESSRULES CLIENTNETWORKPRESENCELOCATION BACKENDAUTHENTICATE CHILDREN IDLE NAMESPACE LITERAL+'
> \<= 'A2 OK CAPABILITY completed.'
> =\> 'A3 NAMESPACE'
> \<= 'A3 BAD User is authenticated but not connected.
