Re: Fwd: MAP mailbox closed with Outlook.com

2015-07-18 Thread Heinz Diehl
On 17.07.2015, Aurélien Rivet wrote: 

 I have joined the content of my .muttrc with dummy address and password.
 I really appreciate any help you can provide.

First: I'm not using hotmail/outlook and have therefore no clue what
causes the behaviour you describe.

But why are you convinced it is mutt that is the culprit? Could it be
simply hotmail?

And try to unset imap_passive, it may be worth giving it a try..





Re: Fwd: MAP mailbox closed with Outlook.com

2015-07-17 Thread Grant Edwards
On 2015-07-17, Aurélien Rivet aurelienri...@hotmail.fr wrote:
 Hello,
 I am using Mutt on archlinux and I am going crazy because I just can't
 understand its strange behaviour. Let me explain: I want to read mails
 from Microsoft's free mail service Outlook.com (which replaced hotmail)
 using the IMAP protocol. Since mutt has embedded support for IMAP, I
 haven't installed an external program. The problem is that my mutt can't
 keep an IMAP connexion for a longtime and I get a mailbox closed
 message at the bottom after a random time. Very annoying. As I'm not a
 native english speaker, I used to think that I did something wrong in my
 .muttrc. So I decided to ask you for some advices. What can I do to
 solve my problem ?

 I have joined the content of my .muttrc with dummy address and password.
 I really appreciate any help you can provide.

Try setting imap_keepalive?  It defaults to 900 seconds, but I found
with some servers a much smaller value was required.  I currently have
mine set to 30.  [I've never used Outlook.com, but I have used other
servers that would close mailboxes when used with the default value
of 900.]

From http://www.mutt.org/doc/manual/manual-6.html

  imap_keepalive

  Type: number
  Default: 900

  This variable specifies the maximum amount of time in seconds that
  mutt will wait before polling open IMAP connections, to prevent the
  server from closing them before mutt has finished with them. The
  default is well within the RFC-specified minimum amount of time (30
  minutes) before a server is allowed to do this, but in practice the
  RFC does get violated every now and then. Reduce this number if you
  find yourself getting disconnected from your IMAP server due to 
  inactivity

-- 
Grant Edwards   grant.b.edwardsYow! Is this TERMINAL fun?
  at   
  gmail.com



Re: Fwd: MAP mailbox closed with Outlook.com

2015-07-17 Thread Grant Edwards
On 2015-07-17, Grant Edwards grant.b.edwa...@gmail.com wrote:
 On 2015-07-17, Aurélien Rivet aurelienri...@hotmail.fr wrote:

 The problem is that my mutt can't
 keep an IMAP connexion for a longtime and I get a mailbox closed
 message at the bottom after a random time.

 Try setting imap_keepalive?

Now I see that you already tried setting it to 300.  Try something
like 60 or 30.

-- 
Grant Edwards   grant.b.edwardsYow! Is my fallout shelter
  at   termite proof?
  gmail.com



Fwd: MAP mailbox closed with Outlook.com

2015-07-17 Thread Aurélien Rivet

Hello,
I am using Mutt on archlinux and I am going crazy because I just can't
understand its strange behaviour. Let me explain: I want to read mails
from Microsoft's free mail service Outlook.com (which replaced hotmail)
using the IMAP protocol. Since mutt has embedded support for IMAP, I
haven't installed an external program. The problem is that my mutt can't
keep an IMAP connexion for a longtime and I get a mailbox closed
message at the bottom after a random time. Very annoying. As I'm not a
native english speaker, I used to think that I did something wrong in my
.muttrc. So I decided to ask you for some advices. What can I do to
solve my problem ?

I have joined the content of my .muttrc with dummy address and password.
I really appreciate any help you can provide.

--
Aurélien Rivet,
M1 Informatique
Centre d'Enseignement et de Recherche en Informatique
Université d'Avignon et des Pays de Vaucluse





set imap_user=dummy
set imap_pass=dummy

set alias_file = ~/.adressbook
source $alias_file
set realname = Dummy
set from = dummy
set use_from = yes
set editor=`echo \$EDITOR`
source ~/.mutt/mutt-colors-solarized-light-16colors.muttrc

set header_cache = ~/.mutt/headercache
set message_cachedir = ~/.mutt/messagecache

set folder=imaps://$imap_user:$imap_p...@imap-mail.outlook.com:993/
set smtp_url = smtp://$imap_user:$imap_p...@smtp-mail.outlook.com:587/
set spoolfile = +INBOX
set postponed = +Drafts
set record = +Sent Items

set ssl_starttls = yes
set imap_passive = yes
set imap_keepalive = 300
set imap_idle

set signature=~/.signature


Re: Fwd: MAP mailbox closed with Outlook.com

2015-07-17 Thread John Niendorf


set folder=imaps://$imap_user:$imap_p...@imap-mail.outlook.com:993/
set smtp_url = smtp://$imap_user:$imap_p...@smtp-mail.outlook.com:587/
set spoolfile = +INBOX
set postponed = +Drafts
set record = +Sent Items

set ssl_starttls = yes
set imap_passive = yes
set imap_keepalive = 300
set imap_idle

set signature=~/.signature


I am FAR from an exprert, but I see a couple of differences between your 
.muttrc file and mine.  I do not use Outlook.com, but I do connect to an 
IMAP account.


In my case I have a line that says:
set smtp_url=smtps://j...@jfniendorf.org@server_name.com/465
I have another line that lists the smtp password:
set smtp_pass=dummy_password

For the set folder lines I have:
set folder=imaps://server_name.com:993
set folder=imaps://server_name.com/INBOX. 
This is followed by the login and password information:

set imap_user=j...@jfniendorf.org
set imap_pass=dummy_password 


--
John