ork / mutt-office365

A mutt configuration file ready for Office 365
309 stars 56 forks source link

gnutls error #18

Closed ahanjrah closed 6 years ago

ahanjrah commented 6 years ago

Hi, I tested this with mutt 1.7.0 installed on CentOS 7 but it is giving me a gnutls error - gnutls_priority_set_direct(@SYSTEM): The request is invalid.

Following are the debug logs generated using $mutt -d 3:

$ cat .muttdebug0 [2018-04-02 13:57:53] Mutt/1.7.0 (2016-08-17) debugging at level 3 [2018-04-02 13:57:53] getdnsdomainname(): example.net [2018-04-02 13:57:53] In mutt_reflow_windows [2018-04-02 13:57:53] In mutt_reflow_windows [2018-04-02 13:57:53] In mutt_reflow_windows [2018-04-02 13:57:53] In mutt_reflow_windows [2018-04-02 13:57:53] Reading configuration file '/etc/Muttrc'. [2018-04-02 13:57:53] mutt_alloc_color(): Color pairs used so far: 1 [2018-04-02 13:57:53] mutt_alloc_color(): Color pairs used so far: 2 [2018-04-02 13:57:53] mutt_alloc_color(): Color pairs used so far: 3 [2018-04-02 13:57:53] mutt_alloc_color(): Color pairs used so far: 4 [2018-04-02 13:57:53] mutt_alloc_color(): Color pairs used so far: 5 [2018-04-02 13:57:53] mutt_alloc_color(): Color pairs used so far: 6 [2018-04-02 13:57:53] mutt_alloc_color(): Color pairs used so far: 7 [2018-04-02 13:57:53] mutt_alloc_color(): Color pairs used so far: 8 [2018-04-02 13:57:53] Reading configuration file '/etc/Muttrc.local'. [2018-04-02 13:57:53] Reading configuration file '/home/user/.mutt/muttrc'. [2018-04-02 13:57:53] Reading configuration file '/home/user/.mutt/user'. [2018-04-02 13:57:53] Reading configuration file '/home/user/.mutt/lang/en_US'. [2018-04-02 13:57:53] Using default IMAP port 143 [2018-04-02 13:57:53] Using default IMAPS port 993 [2018-04-02 13:57:53] Reading configuration file '/home/user/.mutt/gal'. [2018-04-02 13:57:53] Reading configuration file '/home/user/.mutt/aliases'. [2018-04-02 13:57:53] parse_alias: Second token is 'Jean Dupont jean.dupont@example.com'. [2018-04-02 13:57:53] parse_alias: jean.dupont@example.com [2018-04-02 13:57:53] Reading configuration file '/home/user/.mutt/mailing_lists'. [2018-04-02 13:57:53] mutt_alloc_color(): Color pairs used so far: 9 [2018-04-02 13:57:53] mutt_alloc_color(): Color pairs used so far: 10 [2018-04-02 13:57:53] mutt_alloc_color(): Color pairs used so far: 11 [2018-04-02 13:57:53] mutt_alloc_color(): Color pairs used so far: 12 [2018-04-02 13:57:53] Reading imaps://outlook.office365.com/INBOX... [2018-04-02 13:57:53] Looking up outlook.office365.com... [2018-04-02 13:57:53] Connecting to outlook.office365.com... [2018-04-02 13:57:53] gnutls_priority_set_direct(@SYSTEM): The request is invalid. [2018-04-02 13:57:55] Connected to outlook.office365.com:993 on fd=5 [2018-04-02 13:57:55] mutt_num_postponed: using old IMAP postponed count. [2018-04-02 13:57:56] Closing connection to outlook.office365.com... [2018-04-02 13:57:56] 5> a0000 LOGOUT [2018-04-02 13:57:56] Error: no TLS socket open [2018-04-02 13:57:58] mutt_socket_write: error writing (Object is remote), closing socket [2018-04-02 13:57:58] imap_cmd_step: grew buffer to 512 bytes [2018-04-02 13:57:58] mutt_socket_readchar: attempt to read from closed connection. [2018-04-02 13:57:58] imap_cmd_step: Error reading server response. [2018-04-02 13:57:58] mutt_socket_close: Attempt to close closed connection.

What might be the issue here?

Thanks,

ahanjrah commented 6 years ago

nvm, it was some silly mistake on my end. needed to install gnutls package and after that it pulled the emails.