ork / mutt-office365 Goto Github PK
View Code? Open in Web Editor NEWA mutt configuration file ready for Office 365
A mutt configuration file ready for Office 365
With a default Office365 configuration, emails containing a meeting invitation only display a link to OWA when retrieved via IMAP.
The following CASMailbox configuration needs to be set using the user's credentials (no domain admin rights needed):
ImapUseProtocolDefaults = false
ImapForceICalForCalendarRetrievalOption = true
I get this error during startup:
Error in /Users/user/.mutt/muttrc, line 22: trash: unknown variable
source: errors in /Users/user/.mutt/muttrc
Press any key to continue...
I use mutt 1.6.1 and set my_lang
to de_DE
.
Hopefully this project isnt dead. I get the following error when launching mutt:
SSL/TLS connection using TLS1.2 (ECDHE-RSA/AES-256-GCM/AEAD)[SASL-XOAUTH2] - Requesting authID![SASL-XOAUTH2] - Requesting token ![SASL-XOAUTH2] - _plug_get_simple FAILED
I can still see and read mail, but cannot send any. Hopefully this error is why, bit Im not sure what needs adjusted.
Is there a way to get the ~/.mutt/aliases to be auto populated with the directory (People I have corresponded with) rather than the contacts list?
I was wondering if anyone has had any luck configuring mutt and office365 to use two factor authentication (and OAuth2 in particular). I've seen a few Python scripts that can be used to get/store OAuth2 tokens to access gmail using mutt -- but nothing similar for office 365.
PS - Thanks for putting this online! It's very useful indeed.
At my company, $my_username is different from my sending email address. Specifically
my_domain=itron.com
my_username=bdamm
[email protected]
So, I need a way to override the "from" value.
As currently written, the "muttrc" gives me the option to source gal, aliases, or mailing_lists, but none of those seem like the appropriate place to override the default value of "from". Maybe "gal"? I'm not sure of its intent.
I would like to have a way to access mail via POP but don't know how to do that in the config file.
If possible could you add a commented out section below the IMAP settings in the muttrc file with setting to use POP instead of IMAP for receiving mail as well as a small instruction on how to switch to POP (e.g. something along the lines of "Uncomment the lines below and comment out the IMAP lines to Enable POP support")
Thank You.
Nevermind.. my mistake.. this is working..
"user" file is expected to be edited by the user, as per README.md. However, since it is in the repository, this creates a conflict for users. Better would be to have examples in git, and have the user copy the example into place.
I've setup my office 365 mailbox as explained in the README, it works fine but it's coming up with no folders other than the inbox.
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 [email protected]'.
[2018-04-02 13:57:53] parse_alias: [email protected]
[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,
I'm trying to get this to work on Gentoo. When built with gnutls useflag, it throws an error: "The TLS connection was non-properly terminated," which really seems to be a gnutls issue (even though it hasn't been mentioned for the current version) I then tried rebuilding mutt with ssl and -gnutls, and now after fetching mail it just errors "Connection to outlook.office365.com closed," followed by "Mailbox closed." I should mention that mutt successfully fetches hearders right before these errors. What am I missing?
net-libs/gnutls
Installed versions: 3.3.15(06:29:38 PM 06/05/2015)(crywrap cxx nls openssl zlib -dane -doc -examples -guile -pkcs11 -static-libs -test)
mail-client/mutt
Installed versions: 1.5.23-r5(07:13:17 AM 06/10/2015)(berkdb crypt debug doc gdbm gpg idn imap kerberos mbox nls nntp pop qdbm sasl sidebar slang smime smtp ssl tokyocabinet -gnutls -selinux
dev-libs/cyrus-sasl
Installed versions: 2.1.26-r9(2)(12:54:25 AM 06/08/2015)(berkdb gdbm pam ssl -authdaemond -java -kerberos -ldapdb -mysql -openldap -postgres -sample -sqlite -srp -static-libs -urandom
Receiving e-mail works although when trying to send it complains "Authentication method missing". I've tried several changes with no luck. Did you experience something similar? I've read documentation from mutt and non of their auth methods work.
Using mutt-1.5.20-4.20091214hg736b6a.el6_5.x86_64 in a CentOS 6.5
Seems having the record
variable set is not required since it'll place sent mail into Sent Items server-side.
First - this is fantastic. I was able to get mutt running with Office 365 pretty easily.
What I'm having trouble with: Office 365 seems to send HTML e-mail (which seems to be 'all of it') as an attachment - do you have an easy way / method for viewing or reading HTML e-mail 'in line'? (I tried the w3m -> mailcap method, which doesn't seem to work now that we are Office 365 users...)
I want to list the emails in reverse, so that the most current revieved email stands at the top and not as it is now, on the bottom.
I tried the setting:
set sort_aux=last-date-received
set sort=threads
set sort_re
Yet it seems to be ignored. Can I revert some other way?
mutt-office365 breaks with mutt >1.8.0
Error in /home/user/.mutt/lang/en_US line 15: locale: unknown variable
Commenting or deleting the line fixes this issue. I'd do a pull req but I'm not sure if you want to keep it backward compatible..
See: http://www.mutt.org/doc/UPDATING
1.8.0 (2017-02-24):
- $locale has been removed. Mutt now respects the LC_TIME setting
instead. See also $attribution_locale.
Hi, my problem is that mutt does not download all email but stuck on 9997/19347 (51%)
Those are the last lines of .muttdebug0
Content-Type: text/html; charset="iso-8859-1"
[2017-03-20 10:46:53] 5< )
[2017-03-20 10:46:53] parse_parameters: `charset="iso-8859-1"'
[2017-03-20 10:46:53] parse_parameter: `charset' = `iso-8859-1'
[2017-03-20 10:46:53] 5< a0011 OK FETCH completed.
[2017-03-20 10:46:53] IMAP queue drained
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.