Re: Command/Macro to show new messages via IMAP?

2013-02-07 Thread James Griffin
-- David Woodfall d...@dawoodfall.net [2013-02-06 21:55:46 +]:

 On Wed, Feb 06, 2013 at 08:14:24AM +, James Griffin 
 jmz.grif...@kode5.net put forth the proposition:
 -- David Woodfall d...@dawoodfall.net [2013-02-05 18:46:56 +]:
 
 And I think I've found a problem with my mailboxes commands. When I
 tried changing the mailboxes for mailing lists I suddenly started
 getting a message count in the $folder_format working, so it has to be
 something to do with that I think.
 
 Indeed that was a problem. I also found that only %C, %N and %f work
 for imap.
 
 Great stuff, glad you found the solution. It usually is in the man
 pages with some trial and error.
 
 Actually it's not in the man pages, but it would have saved me some
 time if it had been.

The information for the printf format specifiers is in man muttrc under
index_view; when you look at folder_format is refers you to index_view
to see the format specifiers and explains what they do.


-- 
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38


Re: Command/Macro to show new messages via IMAP?

2013-02-07 Thread David Woodfall

On Thu, Feb 07, 2013 at 08:17:41AM +, James Griffin jmz.grif...@kode5.net 
put forth the proposition:

-- David Woodfall d...@dawoodfall.net [2013-02-06 21:55:46 +]:


On Wed, Feb 06, 2013 at 08:14:24AM +, James Griffin jmz.grif...@kode5.net 
put forth the proposition:
-- David Woodfall d...@dawoodfall.net [2013-02-05 18:46:56 +]:

And I think I've found a problem with my mailboxes commands. When I
tried changing the mailboxes for mailing lists I suddenly started
getting a message count in the $folder_format working, so it has to be
something to do with that I think.

Indeed that was a problem. I also found that only %C, %N and %f work
for imap.

Great stuff, glad you found the solution. It usually is in the man
pages with some trial and error.

Actually it's not in the man pages, but it would have saved me some
time if it had been.


The information for the printf format specifiers is in man muttrc under
index_view; when you look at folder_format is refers you to index_view
to see the format specifiers and explains what they do.


Yes, I know, but it doesn't say that most of them don't work with
IMAP.


Re: Command/Macro to show new messages via IMAP?

2013-02-07 Thread James Griffin
-- David Woodfall d...@dawoodfall.net [2013-02-07 08:37:46 +]:

...

 Yes, I know, but it doesn't say that most of them don't work with
 IMAP.

Yes, having had another look I tend to agree with you; the printf
sequences that are not imap campatible aren't specified as such. Not all
of them anyway.

Jamie

-- 
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38


Re: Command/Macro to show new messages via IMAP?

2013-02-06 Thread James Griffin
-- David Woodfall d...@dawoodfall.net [2013-02-05 18:46:56 +]:

 And I think I've found a problem with my mailboxes commands. When I
 tried changing the mailboxes for mailing lists I suddenly started
 getting a message count in the $folder_format working, so it has to be
 something to do with that I think.
 
 Indeed that was a problem. I also found that only %C, %N and %f work
 for imap.

Great stuff, glad you found the solution. It usually is in the man
pages with some trial and error.

Jamie

-- 
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38


Re: Command/Macro to show new messages via IMAP?

2013-02-06 Thread David Woodfall

On Wed, Feb 06, 2013 at 08:14:24AM +, James Griffin jmz.grif...@kode5.net 
put forth the proposition:

-- David Woodfall d...@dawoodfall.net [2013-02-05 18:46:56 +]:


And I think I've found a problem with my mailboxes commands. When I
tried changing the mailboxes for mailing lists I suddenly started
getting a message count in the $folder_format working, so it has to be
something to do with that I think.

Indeed that was a problem. I also found that only %C, %N and %f work
for imap.


Great stuff, glad you found the solution. It usually is in the man
pages with some trial and error.


Actually it's not in the man pages, but it would have saved me some
time if it had been.


Re: Command/Macro to show new messages via IMAP?

2013-02-05 Thread James Griffin
-- David Woodfall d...@dawoodfall.net [2013-02-04 23:10:14 +]:

 Right, I'm using dovecot too, with the leading '.'
 
 Not sure how to do that, but it sounds useful.
 
 I have spoolfile set to same as folder, and no tunnel.
 
 Does it show the normal $folder_format attributes? Example:

In that case, the leading '.' shouldn't make a difference. You just
name your mailboxes in the normal way:

mailboxes !
mailboxes =foo
mailboxes =bar
...

You should set $folder like this:

set folder=imaps://hostname.example.com/ - note the / at the end of 
the url, that's important.

... then set $spoolfile as I described in my last message; like so:

set spoolfile=+inbox - the + symbol means it's an extension to $folder

Then set $postponed and $record in the same way.

to clarify: the $mailboxes command should be use as above. Because
your using imap to connect, the leading '.' on the directories/mailboxes
doesn't matter.

That is all you should need to do.

Jamie.

-- 
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38


Re: Command/Macro to show new messages via IMAP?

2013-02-05 Thread James Griffin
just as follow up, i'm using procmail together with dovecot lda to
deliver mail into mail $HOME directory in a maildir name ~/.maildir

Here is a snippet of the recipies for procmail that I use should
it help. It mean my spoolfile is not the system default under /var

The $DELIVER variable is defined at the top of my procmailrc:

...
DELIVER=/usr/libexec/dovecot/lda
...

:0
* ^Sender:.*owner-mutt-us...@mutt.org
| $DELIVER -m mutt


-- 
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38


Re: Command/Macro to show new messages via IMAP?

2013-02-05 Thread David Woodfall

On (10:01 05/02/13), James Griffin jmz.grif...@kode5.net put forth the 
proposition:

-- David Woodfall d...@dawoodfall.net [2013-02-04 23:10:14 +]:


Right, I'm using dovecot too, with the leading '.'

Not sure how to do that, but it sounds useful.

I have spoolfile set to same as folder, and no tunnel.

Does it show the normal $folder_format attributes? Example:


In that case, the leading '.' shouldn't make a difference. You just
name your mailboxes in the normal way:

mailboxes !
mailboxes =foo
mailboxes =bar
...

You should set $folder like this:

set folder=imaps://hostname.example.com/ - note the / at the end of 
the url, that's important.

... then set $spoolfile as I described in my last message; like so:

set spoolfile=+inbox - the + symbol means it's an extension to $folder

Then set $postponed and $record in the same way.

to clarify: the $mailboxes command should be use as above. Because
your using imap to connect, the leading '.' on the directories/mailboxes
doesn't matter.

That is all you should need to do.


Have set mine the same and I still get no info about folders, just
the names, no modified date/time or new mail notification.


Re: Command/Macro to show new messages via IMAP?

2013-02-05 Thread James Griffin
-- David Woodfall d...@dawoodfall.net [2013-02-05 11:24:58 +]:

 Have set mine the same and I still get no info about folders, just
 the names, no modified date/time or new mail notification.

If you're using the mailboxes command then I 'think' you do not
need to have $imap_check_subscribed set; this variable does the
same thing. Have you got that set at the moment?

You could also unset $mail_check_recent - it will notify you if new
mail is in the mailbox whether you have visited the mailbox or not.

You may now need to look into your Dovecot configuration. There are
some options you might consider using/changing as I eluded to in
an earlier message. For example, in /etc/dovecot/conf.d/15-lda.conf
there is an option to set the delivery agent to automatically
subscribe to new mailboxes when it creates them. But I imagine you
already have all of the mailboxes created. It's just another option
to think about.

BTW, when you say you get no new mail notification, what is it
exactly you are expecting? mutt is set to check mailboxes for new
mail every 5 seconds, and then a little message appears at the
bottom to notify you - is this what you are referring to? Or when
you press 'y' to view your folders, are you expecting to see 'N'
preceding the folders with new mail? Is this happening at the moment?

Jamie

-- 
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38


Re: Command/Macro to show new messages via IMAP?

2013-02-05 Thread David Woodfall

snip

BTW, when you say you get no new mail notification, what is it
exactly you are expecting? mutt is set to check mailboxes for new
mail every 5 seconds, and then a little message appears at the
bottom to notify you - is this what you are referring to? Or when
you press 'y' to view your folders, are you expecting to see 'N'
preceding the folders with new mail? Is this happening at the moment?


When I'm in a folder I see the new mail arrive. That's fine. When I'm
outside the folder, in the main folder list, I would like to see N and
also all the other attributes set in $folder_format like it does for 
local mail:


   Nov 03  2011   O2
   Jul 16 10:53   Trash
   Jun 08 16:05   bbc
   Jun 08 18:07 N bills
   Jun 15 11:39   bin
   Nov 03  2011   blueyonder
   Mar 13 12:36   chas
   Jun 14 20:14   cjs
   Nov 03  2011   coop
   Nov 03  2011   cron
   Jan 01  2012   delivery

Instead all I see are the names of the folders.


Re: Command/Macro to show new messages via IMAP?

2013-02-05 Thread James Griffin
-- David Woodfall d...@dawoodfall.net [2013-02-05 13:31:30 +]:

 snip
 BTW, when you say you get no new mail notification, what is it
 exactly you are expecting? mutt is set to check mailboxes for new
 mail every 5 seconds, and then a little message appears at the
 bottom to notify you - is this what you are referring to? Or when
 you press 'y' to view your folders, are you expecting to see 'N'
 preceding the folders with new mail? Is this happening at the moment?
 
 When I'm in a folder I see the new mail arrive. That's fine. When I'm
 outside the folder, in the main folder list, I would like to see N and
 also all the other attributes set in $folder_format like it does for
 local mail:
 
Nov 03  2011   O2
Jul 16 10:53   Trash
Jun 08 16:05   bbc
Jun 08 18:07 N bills
Jun 15 11:39   bin
Nov 03  2011   blueyonder
Mar 13 12:36   chas
Jun 14 20:14   cjs
Nov 03  2011   coop
Nov 03  2011   cron
Jan 01  2012   delivery
 
 Instead all I see are the names of the folders.

So all you see are the folder names - no metadata at all, such as
dates, times, flags? If this is the case you probably need to look
at your $folder_format; this is mine:

set folder_format=%N %3C %d %2l (%5s) %f

You may also want to look at your $index_format and $status_format.
Refer to man 5 muttrc for details on the printf-like sequences to
use; you'll find them under index_format in the man page.

-- 
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38


Re: Command/Macro to show new messages via IMAP?

2013-02-05 Thread David Woodfall

On (14:01 05/02/13), James Griffin jmz.grif...@kode5.net put forth the 
proposition:

-- David Woodfall d...@dawoodfall.net [2013-02-05 13:31:30 +]:


snip
BTW, when you say you get no new mail notification, what is it
exactly you are expecting? mutt is set to check mailboxes for new
mail every 5 seconds, and then a little message appears at the
bottom to notify you - is this what you are referring to? Or when
you press 'y' to view your folders, are you expecting to see 'N'
preceding the folders with new mail? Is this happening at the moment?

When I'm in a folder I see the new mail arrive. That's fine. When I'm
outside the folder, in the main folder list, I would like to see N and
also all the other attributes set in $folder_format like it does for
local mail:

   Nov 03  2011   O2
   Jul 16 10:53   Trash
   Jun 08 16:05   bbc
   Jun 08 18:07 N bills
   Jun 15 11:39   bin
   Nov 03  2011   blueyonder
   Mar 13 12:36   chas
   Jun 14 20:14   cjs
   Nov 03  2011   coop
   Nov 03  2011   cron
   Jan 01  2012   delivery

Instead all I see are the names of the folders.


So all you see are the folder names - no metadata at all, such as
dates, times, flags? If this is the case you probably need to look
at your $folder_format; this is mine:

set folder_format=%N %3C %d %2l (%5s) %f

You may also want to look at your $index_format and $status_format.
Refer to man 5 muttrc for details on the printf-like sequences to
use; you'll find them under index_format in the man page.


I haven't changed these since I switched to imap:

set pager_format=%S [%C] %n (%l) %s
set index_format=%4C %Z %a %[!%d/%m/%y] %-17.17F %s
set folder_format=%d %N %f


Re: Command/Macro to show new messages via IMAP?

2013-02-05 Thread David Woodfall

On (15:47 05/02/13), David Woodfall d...@dawoodfall.net put forth the 
proposition:

On (14:01 05/02/13), James Griffin jmz.grif...@kode5.net put forth the 
proposition:

-- David Woodfall d...@dawoodfall.net [2013-02-05 13:31:30 +]:


snip

BTW, when you say you get no new mail notification, what is it
exactly you are expecting? mutt is set to check mailboxes for new
mail every 5 seconds, and then a little message appears at the
bottom to notify you - is this what you are referring to? Or when
you press 'y' to view your folders, are you expecting to see 'N'
preceding the folders with new mail? Is this happening at the moment?


When I'm in a folder I see the new mail arrive. That's fine. When I'm
outside the folder, in the main folder list, I would like to see N and
also all the other attributes set in $folder_format like it does for
local mail:

  Nov 03  2011   O2
  Jul 16 10:53   Trash
  Jun 08 16:05   bbc
  Jun 08 18:07 N bills
  Jun 15 11:39   bin
  Nov 03  2011   blueyonder
  Mar 13 12:36   chas
  Jun 14 20:14   cjs
  Nov 03  2011   coop
  Nov 03  2011   cron
  Jan 01  2012   delivery

Instead all I see are the names of the folders.


So all you see are the folder names - no metadata at all, such as
dates, times, flags? If this is the case you probably need to look
at your $folder_format; this is mine:

set folder_format=%N %3C %d %2l (%5s) %f

You may also want to look at your $index_format and $status_format.
Refer to man 5 muttrc for details on the printf-like sequences to
use; you'll find them under index_format in the man page.


I haven't changed these since I switched to imap:

set pager_format=%S [%C] %n (%l) %s
set index_format=%4C %Z %a %[!%d/%m/%y] %-17.17F %s
set folder_format=%d %N %f


Yours gives me:

   1 ( ) Drafts
   2 ( ) INBOX
   3 ( ) Junk
   4 ( ) Queue
   5 ( ) Sent

Apart from the name and index number it's all blank.


Re: Command/Macro to show new messages via IMAP?

2013-02-05 Thread James Griffin
-- David Woodfall d...@dawoodfall.net [2013-02-05 15:54:45 +]:

 Yours gives me:
 
1 ( ) Drafts
2 ( ) INBOX
3 ( ) Junk
4 ( ) Queue
5 ( ) Sent
 
 Apart from the name and index number it's all blank.

Yes, sorry; this format is from the mutt configuration that I use
for Maildir access, not IMAP so it wouldn't of helped much. But, I
was really trying to encourage you to look up some of the printf
sequences and try different combinations. Read what each one does
or rather what data it displays and how it is formatted. It's much
more fun that way anyway. It's good to start out with an example
from someone elses configuration but then go into details and try
out different sequences and other options to get it exactly how you
want it.

Out of interest what Operating system are you using and what
filesystem is it?


-- 
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38


Re: Command/Macro to show new messages via IMAP?

2013-02-05 Thread David Woodfall

On Tue, Feb 05, 2013 at 04:46:49PM +, James Griffin jmz.grif...@kode5.net 
put forth the proposition:

-- David Woodfall d...@dawoodfall.net [2013-02-05 15:54:45 +]:


Yours gives me:

   1 ( ) Drafts
   2 ( ) INBOX
   3 ( ) Junk
   4 ( ) Queue
   5 ( ) Sent

Apart from the name and index number it's all blank.


Yes, sorry; this format is from the mutt configuration that I use
for Maildir access, not IMAP so it wouldn't of helped much. But, I
was really trying to encourage you to look up some of the printf
sequences and try different combinations. Read what each one does
or rather what data it displays and how it is formatted. It's much
more fun that way anyway. It's good to start out with an example
from someone elses configuration but then go into details and try
out different sequences and other options to get it exactly how you
want it.

Out of interest what Operating system are you using and what
filesystem is it?


Slackware 14.0 + ext4

And I think I've found a problem with my mailboxes commands. When I
tried changing the mailboxes for mailing lists I suddenly started
getting a message count in the $folder_format working, so it has to be
something to do with that I think.


Re: Command/Macro to show new messages via IMAP?

2013-02-05 Thread David Woodfall

On Tue, Feb 05, 2013 at 06:31:27PM +, David Woodfall d...@dawoodfall.net 
put forth the proposition:

On Tue, Feb 05, 2013 at 04:46:49PM +, James Griffin jmz.grif...@kode5.net 
put forth the proposition:

-- David Woodfall d...@dawoodfall.net [2013-02-05 15:54:45 +]:


Yours gives me:

  1 ( ) Drafts
  2 ( ) INBOX
  3 ( ) Junk
  4 ( ) Queue
  5 ( ) Sent

Apart from the name and index number it's all blank.


Yes, sorry; this format is from the mutt configuration that I use
for Maildir access, not IMAP so it wouldn't of helped much. But, I
was really trying to encourage you to look up some of the printf
sequences and try different combinations. Read what each one does
or rather what data it displays and how it is formatted. It's much
more fun that way anyway. It's good to start out with an example
from someone elses configuration but then go into details and try
out different sequences and other options to get it exactly how you
want it.

Out of interest what Operating system are you using and what
filesystem is it?


Slackware 14.0 + ext4

And I think I've found a problem with my mailboxes commands. When I
tried changing the mailboxes for mailing lists I suddenly started
getting a message count in the $folder_format working, so it has to be
something to do with that I think.


Indeed that was a problem. I also found that only %C, %N and %f work
for imap.


Re: Command/Macro to show new messages via IMAP?

2013-02-05 Thread David Woodfall

On Tue, Feb 05, 2013 at 04:46:49PM +, James Griffin jmz.grif...@kode5.net 
put forth the proposition:

-- David Woodfall d...@dawoodfall.net [2013-02-05 15:54:45 +]:


Yours gives me:

   1 ( ) Drafts
   2 ( ) INBOX
   3 ( ) Junk
   4 ( ) Queue
   5 ( ) Sent

Apart from the name and index number it's all blank.


Yes, sorry; this format is from the mutt configuration that I use
for Maildir access, not IMAP so it wouldn't of helped much. But, I
was really trying to encourage you to look up some of the printf
sequences and try different combinations. Read what each one does
or rather what data it displays and how it is formatted. It's much
more fun that way anyway. It's good to start out with an example
from someone elses configuration but then go into details and try
out different sequences and other options to get it exactly how you
want it.


It seems to only show %N when using the toggle-mailboxes command. The
normal browser list doesn't show %N.

Thanks for your help anyway. I think I have it solved now.


Re: Command/Macro to show new messages via IMAP?

2013-02-04 Thread James Griffin
-- David Woodfall d...@dawoodfall.net [2013-02-04 01:27:32 +]:

 I'm still no closer to solving this. It seems that mutt just ignores
 folder format for IMAP completely.
 
Hi David,

I'm not absolutely clear what your setup is but seems like you may
be using a similar setup to mine - reading mail on the server which
receives mail and also using imap to remotely read the mail on that
server, however, in case you are using a similar set up to me perhaps
if I describe it, it might help you.

I generally read my mail on the mx host server which also has Dovecot
imap setup. When I'm reading mail using mutt on the server, I don't
bother using imap to the localhost, the imap server is purely for
when I'm reading mail using mutt on another machine. So, I have to
setup my mailboxes for mutt on the server in a slightly different
way because Dovecot LDA creates my mailboxes with a leading '.' in
~/.maildir. This appears to me to be how your mailboxes are created?
I've also set up the imap server to automatically allow/make MUA's
subscribe to the mailboxes, so I don't need to put $check_imap_subscribed
in my muttrc file.

So I've set the $MAIL environment variable to ~/.maildir in my
shell's configuration file ( OpenBSD's version of ksh ), then I've
set $folder in my muttrc as $MAIL:

set folder=$MAIL
set mask=.
...

... and my mailboxes are set up like so:

mailboxes !
mailboxes =.foo
mailboxes =.bar
...

Note, this is only when using mutt with direct Maildir++ access on
the server

When using imap, I use pretty much the normal method for accessing
imap folders:

set tunnel=ssh -q -C kontrol '/usr/local/libexec/dovecot/imap'
set folder=imaps://kontrol.kode5.net/
set spoolfile=+inbox
set header_cache=~/.header_cache
...

Obviously, you needn't use the tunnel method. I find it helps,
though, when I'm accessing mail from another computer in my LAN as
there's not much point in letting mutt find the server through the
internet and setting $folder to imaps://hostname or using the
internal ip makes mutt complain about the ssl cert which of course
has been created using the FQDN.

Jamie

-- 
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38


Re: Command/Macro to show new messages via IMAP?

2013-02-04 Thread David Woodfall

On (10:16 04/02/13), James Griffin jmz.grif...@kode5.net put forth the 
proposition:

-- David Woodfall d...@dawoodfall.net [2013-02-04 01:27:32 +]:


I'm still no closer to solving this. It seems that mutt just ignores
folder format for IMAP completely.


Hi David,

I'm not absolutely clear what your setup is but seems like you may
be using a similar setup to mine - reading mail on the server which
receives mail and also using imap to remotely read the mail on that
server, however, in case you are using a similar set up to me perhaps
if I describe it, it might help you.


I'm only reading remotely via imap.


I generally read my mail on the mx host server which also has Dovecot
imap setup. When I'm reading mail using mutt on the server, I don't
bother using imap to the localhost, the imap server is purely for
when I'm reading mail using mutt on another machine. So, I have to
setup my mailboxes for mutt on the server in a slightly different
way because Dovecot LDA creates my mailboxes with a leading '.' in
~/.maildir. This appears to me to be how your mailboxes are created?

Right, I'm using dovecot too, with the leading '.'


I've also set up the imap server to automatically allow/make MUA's
subscribe to the mailboxes, so I don't need to put $check_imap_subscribed
in my muttrc file.


Not sure how to do that, but it sounds useful.

snip


When using imap, I use pretty much the normal method for accessing
imap folders:

set tunnel=ssh -q -C kontrol '/usr/local/libexec/dovecot/imap'
set folder=imaps://kontrol.kode5.net/
set spoolfile=+inbox
set header_cache=~/.header_cache
...


I have spoolfile set to same as folder, and no tunnel.

Does it show the normal $folder_format attributes? Example:

Using plain local mutt:

   Jun 12 20:21   slackbuilds

Using imap:

   slackbuilds

Note: no atime/mtime, no new mail notification.


Re: Command/Macro to show new messages via IMAP?

2013-02-03 Thread s. keeling
Incoming from David Woodfall:
 On (09:58 19/01/13), David Woodfall d...@dawoodfall.net put forth the 
 proposition:
 On (13:42 18/01/13), Brendan Cully bren...@kublai.com put forth the 
 proposition:
 On Thursday, 17 January 2013 at 19:28, Michael Elkins wrote:
 On Thu, Jan 17, 2013 at 07:09:32PM +, David Woodfall wrote:
 When I switched to IMAP I noticed sadly that Mutt no longer shows new
 mails from outside a folder. Actually it's IMAP + Maildir.
 
 Is there some way of doing this? Even a command/macro I could run to
 show new mail without having to actually go into each folder to check?
 
 You want the `mailboxes' support:
 
 http://www.mutt.org/doc/devel/manual.html#mailboxes
 
 Also see $imap_check_subscribed
 
 http://dev.mutt.org/doc/manual.html#imap-check-subscribed
 
 Thanks, but I already use both these features. With the mailboxes
 command, do I need to now add the mailbox names with a leading '.' for
 imap support?
 
 I'm still no closer to solving this. It seems that mutt just ignores
 folder format for IMAP completely.

Mine works fine with just this:

   mailboxes =Inbox

... however, I'm also using offlineimap, fwiw.  My config doesn't
define imap-check-subscribed.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*) :(){ :|: };:
- -


signature.asc
Description: Digital signature


Re: Command/Macro to show new messages via IMAP?

2013-02-03 Thread David Woodfall

On (18:41 03/02/13), s. keeling keel...@nucleus.com put forth the proposition:

Incoming from David Woodfall:

On (09:58 19/01/13), David Woodfall d...@dawoodfall.net put forth the 
proposition:
On (13:42 18/01/13), Brendan Cully bren...@kublai.com put forth the 
proposition:
On Thursday, 17 January 2013 at 19:28, Michael Elkins wrote:
On Thu, Jan 17, 2013 at 07:09:32PM +, David Woodfall wrote:
When I switched to IMAP I noticed sadly that Mutt no longer shows new
mails from outside a folder. Actually it's IMAP + Maildir.

Is there some way of doing this? Even a command/macro I could run to
show new mail without having to actually go into each folder to check?

You want the `mailboxes' support:

http://www.mutt.org/doc/devel/manual.html#mailboxes

Also see $imap_check_subscribed

http://dev.mutt.org/doc/manual.html#imap-check-subscribed

Thanks, but I already use both these features. With the mailboxes
command, do I need to now add the mailbox names with a leading '.' for
imap support?

I'm still no closer to solving this. It seems that mutt just ignores
folder format for IMAP completely.


Mine works fine with just this:

  mailboxes =Inbox

... however, I'm also using offlineimap, fwiw.  My config doesn't
define imap-check-subscribed.


I'm guessing that Mutt is reading downloaded headers then?


Re: Command/Macro to show new messages via IMAP?

2013-02-03 Thread s. keeling
Incoming from David Woodfall:
 On (18:41 03/02/13), s. keeling keel...@nucleus.com put forth the 
 proposition:
 
 Mine works fine with just this:
 
   mailboxes =Inbox
 
 ... however, I'm also using offlineimap, fwiw.  My config doesn't
 define imap-check-subscribed.
 
 I'm guessing that Mutt is reading downloaded headers then?

(0) infidel /home/keeling_ grep -i header .muttrc
set header_cache=~/mutt/cache/headers
set edit_headers

fwiw.  Why would anyone not want to?  Mutt's just a program.  I'm the
one doing the reading here.  :-)


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*) :(){ :|: };:
- -


signature.asc
Description: Digital signature


Re: Command/Macro to show new messages via IMAP?

2013-01-19 Thread David Woodfall

On (13:42 18/01/13), Brendan Cully bren...@kublai.com put forth the 
proposition:

On Thursday, 17 January 2013 at 19:28, Michael Elkins wrote:

On Thu, Jan 17, 2013 at 07:09:32PM +, David Woodfall wrote:
When I switched to IMAP I noticed sadly that Mutt no longer shows new
mails from outside a folder. Actually it's IMAP + Maildir.

Is there some way of doing this? Even a command/macro I could run to
show new mail without having to actually go into each folder to check?

You want the `mailboxes' support:

http://www.mutt.org/doc/devel/manual.html#mailboxes


Also see $imap_check_subscribed

http://dev.mutt.org/doc/manual.html#imap-check-subscribed


Thanks, but I already use both these features. With the mailboxes
command, do I need to now add the mailbox names with a leading '.' for
imap support?

Dave


Re: Command/Macro to show new messages via IMAP?

2013-01-18 Thread Brendan Cully
On Thursday, 17 January 2013 at 19:28, Michael Elkins wrote:
 On Thu, Jan 17, 2013 at 07:09:32PM +, David Woodfall wrote:
 When I switched to IMAP I noticed sadly that Mutt no longer shows new
 mails from outside a folder. Actually it's IMAP + Maildir.
 
 Is there some way of doing this? Even a command/macro I could run to
 show new mail without having to actually go into each folder to check?
 
 You want the `mailboxes' support:
 
 http://www.mutt.org/doc/devel/manual.html#mailboxes

Also see $imap_check_subscribed

http://dev.mutt.org/doc/manual.html#imap-check-subscribed


Command/Macro to show new messages via IMAP?

2013-01-17 Thread David Woodfall

When I switched to IMAP I noticed sadly that Mutt no longer shows new
mails from outside a folder. Actually it's IMAP + Maildir.

Is there some way of doing this? Even a command/macro I could run to
show new mail without having to actually go into each folder to check?

Thanks for any ideas.

--
Studioware
http://www.studioware.org


Re: Command/Macro to show new messages via IMAP?

2013-01-17 Thread Michael Elkins

On Thu, Jan 17, 2013 at 07:09:32PM +, David Woodfall wrote:

When I switched to IMAP I noticed sadly that Mutt no longer shows new
mails from outside a folder. Actually it's IMAP + Maildir.

Is there some way of doing this? Even a command/macro I could run to
show new mail without having to actually go into each folder to check?


You want the `mailboxes' support:

http://www.mutt.org/doc/devel/manual.html#mailboxes