Re: Fastmail Drafts folder not visible

2010-01-26 Thread Kirill Miazine
* Steve S [2010-01-27 00:23]:
> On Jan 26 20:00 +0100, Kirill Miazine  wrote:
> > * Steve S [2010-01-26 17:50]:
> > [...]
> > > > > 
> > > > > 
> > > > > In the folder browser, all folders are listed *except* for "+Drafts":
> > > > > 
> > > > > imaps://mail.messagingengine.com
> > > > > imaps://mail.messagingengine.com/INBOX
> > > > > imaps://mail.messagingengine.com/INBOX.Trash
> > > > > imaps://mail.messagingengine.com/INBOX.Sent Items
> > > > > imaps://mail.messagingengine.com/INBOX.work
> > > > > 
> > > > > 
> > > > > When I postpone a message, it gets uploaded to fastmail and I can see
> > > > > the message in the web interface, where the Drafts folder is visible.
> > > > > It's just that it is not listed in Mutt. Thanks for all hints.
> > > > 
> > > > What is the value of the "mask" variable?
> > > 
> > > Thanks for the reply.
> > > 
> > > mask is the default, i.e. "!^\.[^.]" . Setting it to "." or ".*" does
> > > not change anything.
> > 
> > Hm. I have no idea, then.
> 
> OK thanks.

Oh, I also notice that you set imap_list_subscribed. Can you unset it
and see if Drafts appears then?

> > > This must be some setting that I can tune over at
> > > fastmail, I just don't know what that might be (appart from setting the
> > > folder visible under Options > Folders)
> > 
> > Folder visibility does not affect IMAP clients, only webmail.
> 
> Hm, that's what I thought. Really odd that.
> 
> OK, I'll report back when I figured that out. 

Ok. Regarding aliases - I'm not aware of how to add aliases for
accounts.

I'm using one Mutt with one IMAP account, but I'm running two instances
of Mutt in separate tmux/screen windows. The mutts share some basic
configuration and have an account-specific configuration file that
define account-specific settings and hooks:

alias cl-mutt '/usr/local/bin/mutt -e "source ~/.mutt/muttrc-cl"'
alias km-mutt '/usr/local/bin/mutt -e "source ~/.mutt/muttrc-km"'

BR,
Kirill


Re: Fastmail Drafts folder not visible

2010-01-26 Thread Steve S
On Jan 27 00:23 +0100, Steve S  wrote:
[...]
> 
> PS: My first reply doesn't seem to have gotten through, but I used
> list-reply.

Never mind, my bad. Everything OK.

best,
Steve


Re: Fastmail Drafts folder not visible

2010-01-26 Thread Steve S
On Jan 26 20:00 +0100, Kirill Miazine  wrote:
> * Steve S [2010-01-26 17:50]:
> [...]
> > > > 
> > > > 
> > > > In the folder browser, all folders are listed *except* for "+Drafts":
> > > > 
> > > > imaps://mail.messagingengine.com
> > > > imaps://mail.messagingengine.com/INBOX
> > > > imaps://mail.messagingengine.com/INBOX.Trash
> > > > imaps://mail.messagingengine.com/INBOX.Sent Items
> > > > imaps://mail.messagingengine.com/INBOX.work
> > > > 
> > > > 
> > > > When I postpone a message, it gets uploaded to fastmail and I can see
> > > > the message in the web interface, where the Drafts folder is visible.
> > > > It's just that it is not listed in Mutt. Thanks for all hints.
> > > 
> > > What is the value of the "mask" variable?
> > 
> > Thanks for the reply.
> > 
> > mask is the default, i.e. "!^\.[^.]" . Setting it to "." or ".*" does
> > not change anything.
> 
> Hm. I have no idea, then.

OK thanks.

> > This must be some setting that I can tune over at
> > fastmail, I just don't know what that might be (appart from setting the
> > folder visible under Options > Folders)
> 
> Folder visibility does not affect IMAP clients, only webmail.

Hm, that's what I thought. Really odd that.

OK, I'll report back when I figured that out. 


PS: My first reply doesn't seem to have gotten through, but I used
list-reply.

best,
Steve


Re: How to handle a lot of emails via IMAP

2010-01-26 Thread Alexander Gattin

Hello,

I had a similar problem when one of our Domino servers died and I  
tried to download more than 4000 headers at a time (several times)  
from another one. I have a patch for mutt to attempt loading no more  
than 100 headers at a time by IMAP. I'm not sure this will help you  
with the hcache file though...


--  
WBR, xrgtn


On 26 січ. 2010, at 10:52, Christoph Berg  wrote:

Re: John Villalovos 2010-01-25 <5e61b72f1001250754p8a79b2y490616a616929...@mail.gmail.com 
>
I only have about 460,000+ emails ;) and I did turn on header  
caching.

I never can make it through the entire "Fetching message headers..."
phase before the connection dies.  This takes about an hour or two  
for

it to die.


Similarly here, mutt doesn't really cope with IMAP boxes with 100,000
mails. Usually, I try to sit through the time it takes to open the
box, and then divide stuff into smaller boxes.

Christoph
--
c...@df7cb.de | http://www.df7cb.de/


Re: List management headers

2010-01-26 Thread Tim Gray

On Tue 26, Jan'10 at 12:09 PM -0600, David Champion wrote:

Such a program might work like urlview: parse out List-* headers from
a piped-in message and display a menu of options that these headers
present (and then generate and submit mail messages as appropriate).


I guess that would work alright.  Generating an email directly in mutt would 
obviously be a smoother user experience, but it would make for an 
interesting little python script or something.


Re: Fastmail Drafts folder not visible

2010-01-26 Thread Kirill Miazine
* Steve S [2010-01-26 17:50]:
[...]
> > > 
> > > 
> > > In the folder browser, all folders are listed *except* for "+Drafts":
> > > 
> > > imaps://mail.messagingengine.com
> > > imaps://mail.messagingengine.com/INBOX
> > > imaps://mail.messagingengine.com/INBOX.Trash
> > > imaps://mail.messagingengine.com/INBOX.Sent Items
> > > imaps://mail.messagingengine.com/INBOX.work
> > > 
> > > 
> > > When I postpone a message, it gets uploaded to fastmail and I can see
> > > the message in the web interface, where the Drafts folder is visible.
> > > It's just that it is not listed in Mutt. Thanks for all hints.
> > 
> > What is the value of the "mask" variable?
> 
> Thanks for the reply.
> 
> mask is the default, i.e. "!^\.[^.]" . Setting it to "." or ".*" does
> not change anything.

Hm. I have no idea, then.

> This must be some setting that I can tune over at
> fastmail, I just don't know what that might be (appart from setting the
> folder visible under Options > Folders)

Folder visibility does not affect IMAP clients, only webmail.

> > P.S. If you connect to port 992, you can refer to your folders as
> > "folder", rather than "INBOX.folder". I refer to this post:
> > 
> > http://blog.fastmail.fm/2008/08/11/alternate-namespace-imap-port-may-help-outlook-ol-express-apple-mail-and-bis-users/
> 
> Ah yes, I read that earlier. Indeed, the folders are now listed as
> 
> imaps://mail.messagingengine.com:992/work

Good.


Re: List management headers

2010-01-26 Thread David Champion
* On 26 Jan 2010, Tim Gray wrote: 
> 
> Yeah.  It would be nice if you didn't have to weed through 3 screens
> of headers to find the right link.  Like a 'list details' command
> that extracted the appropriate links/emails from the headers and let
> you open the right links or send a mail to the right address.

I would love to see RFC2369 handling built in to mutt, but have not had
time to explore this in code.  I'm certain there are others here who
would cite the Unix Philosophy or whatever, and assert that an external
program could do this as effectively and with cleaner layering.  In any
case that solution is perhaps more approachable for someone with time to
look into the problem.

Such a program might work like urlview: parse out List-* headers from
a piped-in message and display a menu of options that these headers
present (and then generate and submit mail messages as appropriate).

-- 
 -D.d...@uchicago.eduNSITUniversity of Chicago


Re: List management headers

2010-01-26 Thread E. Prom
On Tuesday, 26 January 2010, 12:30:17 -0500,
Tim Gray  wrote :
> Yeah.  It would be nice if you didn't have to weed through 3 screens
> of headers to find the right link.

Not exactly what you're looking for, but unignore might help.


Re: List management headers

2010-01-26 Thread Tim Gray

On Tue 26, Jan'10 at  5:23 PM +, Steve Kennedy wrote:

If you look at the headers you'll find direct instructions for these
lists?


Yeah.  It would be nice if you didn't have to weed through 3 screens of 
headers to find the right link.  Like a 'list details' command that 
extracted the appropriate links/emails from the headers and let you open the 
right links or send a mail to the right address.


I've seen it in some client in the past.  I don't recall if it was in mutt, 
pine, or some GUI client (probably Mailsmith if any of the ones I've used).


Re: List management headers

2010-01-26 Thread Steve Kennedy
On Tue, Jan 26, 2010 at 12:22:08PM -0500, Tim Gray wrote:

> Many mailing lists tuck links and addresses useful for list
> management in the headers, like List-Unsubscribe and List-Help.  I
> looked around in the manual and in Google, but I couldn't find much.
> I'm assuming this means mutt commands based on the info in these
> headers don't exist.  Am I correct here?  It would be nice to have
> commands available to display those urls in the headers, or send an
> email to List-Help or List-Unsubscribe.

If you look at the headers you'll find direct instructions for these
lists?



Steve

-- 
NetTek Ltd  UK mob +44 7775 755503
UK +44 20 7993 2612  /  US +1 310 857 7715  /  Fax +44 20 7483 2455
Skype/GoogleTalk/AIM/Gizmo/.Mac/Twitter/FriendFeed stevekennedyuk
Euro Tech News Blog http://eurotechnews.blogspot.com   MSN st...@gbnet.net


List management headers

2010-01-26 Thread Tim Gray
Many mailing lists tuck links and addresses useful for list management in 
the headers, like List-Unsubscribe and List-Help.  I looked around in the 
manual and in Google, but I couldn't find much.  I'm assuming this means 
mutt commands based on the info in these headers don't exist.  Am I correct 
here?  It would be nice to have commands available to display those urls in 
the headers, or send an email to List-Help or List-Unsubscribe.


Re: Fastmail Drafts folder not visible

2010-01-26 Thread Steve S
On Jan 26 17:01 +0100, Kirill Miazine  wrote:
> * Steve S [2010-01-26 14:09]:
> > I noticed that some people on the list are Fastmail users, so someone
> > might have some tips. First, my muttrc part for fastmail IMAP:
> > 
> > 
> > set imap_passive=no
> > set my_fastmail=imaps://mail.messagingengine.com
> > set imap_check_subscribed=yes
> > set imap_list_subscribed=yes
> > 
> > mailboxes $my_fastmail
> > 
> > account-hook $my_fastmail \
> > "set imap_user=$my_user_imap_fastmail \
> > imap_pass=$my_pass_imap_fastmail"
> > 
> > folder-hook $my_fastmail \
> > "set spoolfile=$my_fastmail/INBOX \
> > folder=$my_fastmail/INBOX \
> > record=+'Sent Items' \
> > postponed=+Drafts \
> > trash=+Trash"
> > 
> > 
> > In the folder browser, all folders are listed *except* for "+Drafts":
> > 
> > imaps://mail.messagingengine.com
> > imaps://mail.messagingengine.com/INBOX
> > imaps://mail.messagingengine.com/INBOX.Trash
> > imaps://mail.messagingengine.com/INBOX.Sent Items
> > imaps://mail.messagingengine.com/INBOX.work
> > 
> > 
> > When I postpone a message, it gets uploaded to fastmail and I can see
> > the message in the web interface, where the Drafts folder is visible.
> > It's just that it is not listed in Mutt. Thanks for all hints.
> 
> What is the value of the "mask" variable?

Thanks for the reply.

mask is the default, i.e. "!^\.[^.]" . Setting it to "." or ".*" does
not change anything. This must be some setting that I can tune over at
fastmail, I just don't know what that might be (appart from setting the
folder visible under Options > Folders)

> P.S. If you connect to port 992, you can refer to your folders as
> "folder", rather than "INBOX.folder". I refer to this post:
> 
> http://blog.fastmail.fm/2008/08/11/alternate-namespace-imap-port-may-help-outlook-ol-express-apple-mail-and-bis-users/

Ah yes, I read that earlier. Indeed, the folders are now listed as

imaps://mail.messagingengine.com:992/work

Thanks.

BTW, is it possible to have an alias "fastmail" or something like that
for "imaps://mail.messagingengine.com:992", say

fastmail/work
?
The URLs are somewhat longish :)

best,
Steve


Re: Fastmail Drafts folder not visible

2010-01-26 Thread Kirill Miazine
* Steve S [2010-01-26 14:09]:
> I noticed that some people on the list are Fastmail users, so someone
> might have some tips. First, my muttrc part for fastmail IMAP:
> 
> 
> set imap_passive=no
> set my_fastmail=imaps://mail.messagingengine.com
> set imap_check_subscribed=yes
> set imap_list_subscribed=yes
> 
> mailboxes $my_fastmail
> 
> account-hook $my_fastmail \
> "set imap_user=$my_user_imap_fastmail \
> imap_pass=$my_pass_imap_fastmail"
> 
> folder-hook $my_fastmail \
> "set spoolfile=$my_fastmail/INBOX \
> folder=$my_fastmail/INBOX \
> record=+'Sent Items' \
> postponed=+Drafts \
> trash=+Trash"
> 
> 
> In the folder browser, all folders are listed *except* for "+Drafts":
> 
> imaps://mail.messagingengine.com
> imaps://mail.messagingengine.com/INBOX
> imaps://mail.messagingengine.com/INBOX.Trash
> imaps://mail.messagingengine.com/INBOX.Sent Items
> imaps://mail.messagingengine.com/INBOX.work
> 
> 
> When I postpone a message, it gets uploaded to fastmail and I can see
> the message in the web interface, where the Drafts folder is visible.
> It's just that it is not listed in Mutt. Thanks for all hints.

What is the value of the "mask" variable?

P.S. If you connect to port 992, you can refer to your folders as
"folder", rather than "INBOX.folder". I refer to this post:

http://blog.fastmail.fm/2008/08/11/alternate-namespace-imap-port-may-help-outlook-ol-express-apple-mail-and-bis-users/

-- Kirill


Fastmail Drafts folder not visible

2010-01-26 Thread Steve S
I noticed that some people on the list are Fastmail users, so someone
might have some tips. First, my muttrc part for fastmail IMAP:


set imap_passive=no
set my_fastmail=imaps://mail.messagingengine.com
set imap_check_subscribed=yes
set imap_list_subscribed=yes

mailboxes $my_fastmail

account-hook $my_fastmail \
"set imap_user=$my_user_imap_fastmail \
imap_pass=$my_pass_imap_fastmail"

folder-hook $my_fastmail \
"set spoolfile=$my_fastmail/INBOX \
folder=$my_fastmail/INBOX \
record=+'Sent Items' \
postponed=+Drafts \
trash=+Trash"


In the folder browser, all folders are listed *except* for "+Drafts":

imaps://mail.messagingengine.com
imaps://mail.messagingengine.com/INBOX
imaps://mail.messagingengine.com/INBOX.Trash
imaps://mail.messagingengine.com/INBOX.Sent Items
imaps://mail.messagingengine.com/INBOX.work


When I postpone a message, it gets uploaded to fastmail and I can see
the message in the web interface, where the Drafts folder is visible.
It's just that it is not listed in Mutt. Thanks for all hints.

best,
Steve


Re: How to handle a lot of emails via IMAP

2010-01-26 Thread Christoph Berg
Re: John Villalovos 2010-01-25 
<5e61b72f1001250754p8a79b2y490616a616929...@mail.gmail.com>
> I only have about 460,000+ emails ;) and I did turn on header caching.
>  I never can make it through the entire "Fetching message headers..."
> phase before the connection dies.  This takes about an hour or two for
> it to die.

Similarly here, mutt doesn't really cope with IMAP boxes with 100,000
mails. Usually, I try to sit through the time it takes to open the
box, and then divide stuff into smaller boxes.

Christoph
-- 
c...@df7cb.de | http://www.df7cb.de/


do not count old messages

2010-01-26 Thread michele
In the folder sidebar, new and old messages are counted inside brackets
for each folder. How can I tell mutt to count only 'new' messages and
not the 'old' ones?

Thanks