Re: New Mail notification not firing when pager is open

2020-12-29 Thread Kevin J. McCarthy

On Mon, Dec 28, 2020 at 11:34:23PM -0800, Akshay Hegde wrote:

Is this the expected behavior, or is this a bug?


This is expected behavior.  Mutt only performs new mail checking in the 
index.  This prevents issues such as the message you are reading 
disappearing, or the mailbox closing (for IMAP) when you are reading 
mail.


--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


signature.asc
Description: PGP signature


New mail notification problem + debugging question

2012-09-24 Thread S. Massy
Hello,

I'm in the process of migrating all my old mail to the maildir format
and restructuring my mail workflow in the process. Doing so, I ran into
the following problem.

I would like to know which of my mail folders have unread (new) messages
inside, and, AFAIU, that's what the mailboxes statement is for. I
followed the instructions at http://wiki.mutt.org/%3FMuttFaq/Maildir and
most everything seems to be working fine, except mutt won't report
mailboxes with unread messages (buffy-list doesn't return anything and
the value of %b is 0). What could the problem be? I have mail_check and
timeout set to sane values.

One question that comes up is: is there a way to print the mailboxes
variable to make sure it contains the desired folders? Is there a way,
in general, to echo internal mutt variables?

Cheers,
S.M.

-- 


new mail notification at startup (when there isn't any)

2011-12-18 Thread rj

I recently set up my mutt to work via IMAP, and now I notice that for the
first five seconds after I open mutt, I get the 2 boxes w/new mail (or,
sometimes, 1 boxes w/new mail) notification in the index status bar.

Then it disappears.

This occurs when there is no new mail in any of my mailboxes.

This mutt is being run from a NetBSD shell account that I access via ssh.

This is almost certainly related to the new IMAP setup (the admin of this
account only allows access to its mail server now via IMAP).

What could be causing this, how can I stop it?


Mutt 1.5.21 (2010-09-15)
Copyright (C) 1996-2009 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: NetBSD 5.1 (amd64)
slang: 10409
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  +USE_FCNTL
-USE_FLOCK   
+USE_POP  +USE_IMAP  -USE_SMTP  
+USE_SSL_OPENSSL  -USE_SSL_GNUTLS  -USE_SASL  -USE_GSS  +HAVE_GETADDRINFO  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  -HAVE_START_COLOR  -HAVE_TYPEAHEAD  -HAVE_BKGDSET  
-HAVE_CURS_SET  -HAVE_META  -HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME
-CRYPT_BACKEND_GPGME  
-EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET
+HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  -HAVE_LIBIDN  +HAVE_GETSID  -USE_HCACHE  
ISPELL=/usr/pkg/bin/ispell
SENDMAIL=/usr/sbin/sendmail
MAILPATH=/var/mail
PKGDATADIR=/usr/pkg/share/mutt
SYSCONFDIR=/usr/pkg/etc
EXECSHELL=/bin/sh
-MIXMASTER
To contact the developers, please mail to mutt-...@mutt.org.
To report a bug, please visit http://bugs.mutt.org/.

-- 


pgpvua12iMtk6.pgp
Description: PGP signature


Re: [mutt] Re: Maildir on Cygwin - New mail notification

2009-07-21 Thread Adam Wellings

 
 Thanks for all your help, I'll check on the Cygwon list and see if 
 anyone else has this set-up working. It'll be something to compare
 against if they do.
 
 I'll post back here if/when I find anything else out.
 
  

Just to update this, that I got no response from the Cygwin list, so it's 
still an issue. However, I'll be moving to Linux in the next month or so, so 
I've stopped looking into it and use a combination of mailstat an Popfile 
listing to monitor email, while important stuff uses a notifier. It's not 
great, but gets the job done.


cheers,
Adam

-- 
...one cannot be angry when one looks at a penguin.
- John Ruskin



Re: mutt new mail notification

2009-06-16 Thread Christoph Ludwig
Hi,

On Thu, Jun 11, 2009 at 10:10:55AM +0200, Christoph Ludwig wrote:
[...]
 However, that triggered two further questions:
 
 1) Is there a way to define custom mailbox shortcuts so I don't have to type
 in the full imaps URL every time I switch to a folder on the company server?
 The only workaround I see after reading section 4.7 of the manual is to define
 a number of aliases with fake addresses and make the folders on the company
 server the default save folder for these aliases. However, this seems a crude
 hack to me.

I realized that binding the base URL to a key in the editor does exactly what
I want:

  macro editor '#' imaps://company\\christoph\\christoph.lud...@company-dn/


 2) mutt checks for mail in the company mailbox only after I logged into the
 mailbox at least once and therefore entered my password. Is there a way to
 make mutt request the passwords for all accounts referenced in the mailboxes
 list at program start? I don't want to put the passwords in a configuration
 file.

So that's the only issue left.

Regards

Christoph


Re: mutt new mail notification

2009-06-16 Thread Christoph Ludwig
Hi,

On Mon, Jun 15, 2009 at 08:02:07PM +0200, Rocco Rutte wrote:
 * Christoph Ludwig wrote:
 
   imaps://company%2fchristoph%2fchristoph.lud...@example.com
 
  mutt still complains that it cannot find host COMPANY.
 
 This should work in hg tip with URL- and pine-syntax.

Thanks!

Regards

Christoph


Re: mutt new mail notification

2009-06-16 Thread Christoph Ludwig
Hi,

On Wed, Jun 10, 2009 at 11:15:43AM -0700, Brendan Cully wrote:
 On Wednesday, 10 June 2009 at 13:32, Christoph Ludwig wrote:
  On Tue, Jun 09, 2009 at 05:47:09PM -0400, Paul Hoffman wrote:
   On Tue, Jun 09, 2009 at 06:51:15PM +0200, Christoph Ludwig wrote:
On Tue, Jun 09, 2009 at 10:15:04AM -0500, Kyle Wheeler wrote:
[...]
However, I have somewhat strange usernames. For instance, on one 
server in
the Windows domain COMPANY I have an account christoph that's 
associated
with the mailbox christoph.ludwig. Exchange expects me therefore to 
log on
with the IMAP username COMPANY/christoph/christoph.ludwig.

Due to the '/', I cannot put the username into the imaps-URL. That's no
problem as long as I want to check only one IMAP server with such a 
username
as I then simply set imap_user accordingly and state the simple 
usernames
explicitly as part of the imaps-URL on the remaining accounts. It is not
obvious (to me), though, how to deal with several IMAP accounts that 
have such
usernames.
   
   What happens if you URL-encode the user name?
   
   imaps://company%2fchristoph%2fchristoph.lud...@example.com
  
  mutt still complains that it cannot find host COMPANY.
 
 My vague recollection is that windows usernames are separated by
 backslashes. How about
 
 imaps://company\\christoph\\christoph.lud...@example.com/

great, that works! I was not aware that Exchange accepts both forward and
backward slashes as separators.

The other working solution is to set account-hook as suggested by Kyle.

However, that triggered two further questions:

1) Is there a way to define custom mailbox shortcuts so I don't have to type
in the full imaps URL every time I switch to a folder on the company server?
The only workaround I see after reading section 4.7 of the manual is to define
a number of aliases with fake addresses and make the folders on the company
server the default save folder for these aliases. However, this seems a crude
hack to me.

2) mutt checks for mail in the company mailbox only after I logged into the
mailbox at least once and therefore entered my password. Is there a way to
make mutt request the passwords for all accounts referenced in the mailboxes
list at program start? I don't want to put the passwords in a configuration
file.

Regards

Christoph


Re: mutt new mail notification

2009-06-16 Thread Rocco Rutte
Hi,

* Christoph Ludwig wrote:

  1) Is there a way to define custom mailbox shortcuts so I don't have to type
  in the full imaps URL every time I switch to a folder on the company server?
  The only workaround I see after reading section 4.7 of the manual is to 
  define
  a number of aliases with fake addresses and make the folders on the company
  server the default save folder for these aliases. However, this seems a 
  crude
  hack to me.

 I realized that binding the base URL to a key in the editor does exactly what
 I want:

   macro editor '#' imaps://company\\christoph\\christoph.lud...@company-dn/

Uh, that sounds the perfect use case for $folder. Have you looked at it?

  2) mutt checks for mail in the company mailbox only after I logged into the
  mailbox at least once and therefore entered my password. Is there a way to
  make mutt request the passwords for all accounts referenced in the mailboxes
  list at program start? I don't want to put the passwords in a configuration
  file.

Please have a look at the $imap_passive option.

Rocco


Re: mutt new mail notification

2009-06-16 Thread Christoph Ludwig
Hi,

On Tue, Jun 16, 2009 at 01:52:20PM +0200, Rocco Rutte wrote:
 * Christoph Ludwig wrote:
   1) Is there a way to define custom mailbox shortcuts so I don't have to 
   type
   in the full imaps URL every time I switch to a folder on the company 
   server?
   The only workaround I see after reading section 4.7 of the manual is to 
   define
   a number of aliases with fake addresses and make the folders on the 
   company
   server the default save folder for these aliases. However, this seems a 
   crude
   hack to me.
 
  I realized that binding the base URL to a key in the editor does exactly 
  what
  I want:
 
macro editor '#' 
  imaps://company\\christoph\\christoph.lud...@company-dn/
 
 Uh, that sounds the perfect use case for $folder. Have you looked at it?

I am already using $folder for my private account. I often move mail between
the various servers because the line between private and company email is
often blurred and I want to store email that I receive in the account on the
company server and vice versa or jump directly into a folder on the other
server.

So now I type =Abo.mutt-user or #Projects/someProject and mutt
automatically knows which folder on which server I refer to, no matter on
which server the current folder is. Do you see any issue with this approach
that a more sophisticated use of $folder (possibly in combination with
folder-hooks) could avoid?
 
   2) mutt checks for mail in the company mailbox only after I logged into 
   the
   mailbox at least once and therefore entered my password. Is there a way to
   make mutt request the passwords for all accounts referenced in the 
   mailboxes
   list at program start? I don't want to put the passwords in a 
   configuration
   file.
 
 Please have a look at the $imap_passive option.

Thanks! It shows that it was several years ago that I last read the mutt
manual from front to back...

Christoph



Re: mutt new mail notification

2009-06-16 Thread Rocco Rutte
Hi,

* Christoph Ludwig wrote:
 On Tue, Jun 16, 2009 at 01:52:20PM +0200, Rocco Rutte wrote:

[...]
 So now I type =Abo.mutt-user or #Projects/someProject and mutt
 automatically knows which folder on which server I refer to, no matter on
 which server the current folder is. Do you see any issue with this approach
 that a more sophisticated use of $folder (possibly in combination with
 folder-hooks) could avoid?

No, you could redefine $folder using folder-hook but most people do that
if they accounts are relatively separate. That isn't the case for you,
so I guess no benefit from that approach.

  Please have a look at the $imap_passive option.

 Thanks! It shows that it was several years ago that I last read the mutt
 manual from front to back...

Please use the development version's one and report back any errors you
find and suggestions.

Rocco


Re: mutt new mail notification

2009-06-15 Thread Rocco Rutte
Hi,

* Christoph Ludwig wrote:

  imaps://company%2fchristoph%2fchristoph.lud...@example.com

 mutt still complains that it cannot find host COMPANY.

This should work in hg tip with URL- and pine-syntax.

Rocco


Re: mutt new mail notification

2009-06-11 Thread Rocco Rutte
Hi,

* Brendan Cully wrote:

 My vague recollection is that windows usernames are separated by
 backslashes. How about

 imaps://company\\christoph\\christoph.lud...@example.com/

 (you may need to adjust the quoting a bit)

Do you have any idea why the code is parsing the URL, formats it to
string, parses and parses that again. It does that several times, I
think I saw it repeating that cycle at least 3 times for opening a
single IMAP folder...

URL-encoding slashes works for POP, btw.

Rocco


Re: mutt new mail notification

2009-06-10 Thread Christoph Ludwig
Sorry, I did not pay attention and pressed 'r' instead of 'L'...

- Forwarded message from Christoph Ludwig lud...@fh-worms.de -

Date: Wed, 10 Jun 2009 13:29:03 +0200
From: Christoph Ludwig lud...@fh-worms.de
To: Kyle Wheeler kyle-m...@memoryhole.net
Subject: Re: mutt new mail notification
Content-Type: text/plain; charset=us-ascii

Hi,

On Tue, Jun 09, 2009 at 12:34:40PM -0500, Kyle Wheeler wrote:
 On Tuesday, June  9 at 06:51 PM, quoth Christoph Ludwig:
  I am in a similar situation as Chris: I need to monitor several IMAP 
  mailboxes, some of them on Exchange server. I'd therefore need to 
  provide a list of imaps-URLs to the mailboxes command. So far the 
  manual is clear.
 
  However, I have somewhat strange usernames. For instance, on one server 
  in 
  the Windows domain COMPANY I have an account christoph that's 
  associated 
  with the mailbox christoph.ludwig. Exchange expects me therefore to log 
  on 
  with the IMAP username COMPANY/christoph/christoph.ludwig.
 
  Due to the '/', I cannot put the username into the imaps-URL.
 
 Have you tested that, or are you assuming that? I'm asking because I 
 *think* mutt takes everything up to either a semicolon or the last @ 
 symbol as the username. For example, I put my username in as 
 u...@memoryhole.net@imap.memoryhole.net without trouble. Granted, my 
 username doesn't have slashes in it, but I don't see why the slashes 
 would cause trouble (other than maybe general slash and period bugs).

I tried it - mutt complains that it cannot find the host COMPANY. 

  That's no problem as long as I want to check only one IMAP server 
  with such a username as I then simply set imap_user accordingly and 
  state the simple usernames explicitly as part of the imaps-URL on 
  the remaining accounts. It is not obvious (to me), though, how to 
  deal with several IMAP accounts that have such usernames.
 
 Well, the other way to do it with mutt is to use account-hooks. For 
 example:
 
  account-hook imap://exchange.server 'set 
 imap_user=COMPANY/christoph/christoph.ludwig'
  mailboxes imap://exchange.server/INBOX imap://exchange.server/from_boss
 
 For details, check out the manual's description of account-hook 
 (keep in mind that account-hooks trigger at unexpected times, so you 
 don't want to do anything in them that doesn't have to do with 
 contacting that account).

Thanks, I will give the account hooks a try.

Regards

Christoph

- End forwarded message -

-- 
FH Worms - University of Applied Sciences
Fachbereich Informatik / Telekommunikation
Erenburgerstr. 19, 67549 Worms, Germany


Re: mutt new mail notification

2009-06-10 Thread Christoph Ludwig
Hi,

On Tue, Jun 09, 2009 at 05:47:09PM -0400, Paul Hoffman wrote:
 On Tue, Jun 09, 2009 at 06:51:15PM +0200, Christoph Ludwig wrote:
  On Tue, Jun 09, 2009 at 10:15:04AM -0500, Kyle Wheeler wrote:
   On Tuesday, June  9 at 02:28 PM, quoth Chris:
I'm using mutt v1.5.19 to check mails in MS Exchange IMAP folders. Is 
there any way I could get mutt to notify me of new mails on arrival 
on various IMAP folders?
   
   Read the manual, look for the command mailboxes.
  
  I am in a similar situation as Chris: I need to monitor several IMAP
  mailboxes, some of them on Exchange server. I'd therefore need to
  provide a list of imaps-URLs to the mailboxes command. So far the manual is
  clear. 
  
  However, I have somewhat strange usernames. For instance, on one server in
  the Windows domain COMPANY I have an account christoph that's associated
  with the mailbox christoph.ludwig. Exchange expects me therefore to log on
  with the IMAP username COMPANY/christoph/christoph.ludwig.
  
  Due to the '/', I cannot put the username into the imaps-URL. That's no
  problem as long as I want to check only one IMAP server with such a username
  as I then simply set imap_user accordingly and state the simple usernames
  explicitly as part of the imaps-URL on the remaining accounts. It is not
  obvious (to me), though, how to deal with several IMAP accounts that have 
  such
  usernames.
 
 What happens if you URL-encode the user name?
 
 imaps://company%2fchristoph%2fchristoph.lud...@example.com

mutt still complains that it cannot find host COMPANY.

Regards

Christoph

-- 
FH Worms - University of Applied Sciences
Fachbereich Informatik / Telekommunikation
Erenburgerstr. 19, 67549 Worms, Germany


Re: mutt new mail notification

2009-06-10 Thread Rocco Rutte
Hi,

* Kyle Wheeler wrote:

 I'm asking because I *think* mutt takes everything up to either a
 semicolon or the last @ symbol as the username. For example, I put my
 username in as u...@memoryhole.net@imap.memoryhole.net without
 trouble. Granted, my username doesn't have slashes in it, but I don't
 see why the slashes would cause trouble (other than maybe general
 slash and period bugs).

Slahes cause trouble because mutt separates the user/pwd/hostname part
from the path.  Given:

imaps://localhost/usern...@hostname/INBOX

it's not clear that the username is supposed to be 'localhost/username'.

Rocco


Re: mutt new mail notification

2009-06-10 Thread Rocco Rutte
Hi,

* Christoph Ludwig wrote:

 However, I have somewhat strange usernames. For instance, on one server in
 the Windows domain COMPANY I have an account christoph that's associated
 with the mailbox christoph.ludwig. Exchange expects me therefore to log on
 with the IMAP username COMPANY/christoph/christoph.ludwig.

 Due to the '/', I cannot put the username into the imaps-URL.

Besides the mentioned URL-encoding the username, you might also want to
give the pine-like syntax a try:

{foo/b...@hostname/ssl}INBOX/subfolder

Rocco


Re: mutt new mail notification

2009-06-10 Thread Christoph Ludwig
Hi, 

On Wed, Jun 10, 2009 at 01:36:49PM +0200, Rocco Rutte wrote:
 * Christoph Ludwig wrote:
  However, I have somewhat strange usernames. For instance, on one server in
  the Windows domain COMPANY I have an account christoph that's associated
  with the mailbox christoph.ludwig. Exchange expects me therefore to log on
  with the IMAP username COMPANY/christoph/christoph.ludwig.
 
  Due to the '/', I cannot put the username into the imaps-URL.
 
 Besides the mentioned URL-encoding the username, you might also want to
 give the pine-like syntax a try:
 
   {foo/b...@hostname/ssl}INBOX/subfolder

no joy, unfortunately.

Regards

Christoph


Re: mutt new mail notification

2009-06-10 Thread Brendan Cully
On Wednesday, 10 June 2009 at 13:32, Christoph Ludwig wrote:
 Hi,
 
 On Tue, Jun 09, 2009 at 05:47:09PM -0400, Paul Hoffman wrote:
  On Tue, Jun 09, 2009 at 06:51:15PM +0200, Christoph Ludwig wrote:
   On Tue, Jun 09, 2009 at 10:15:04AM -0500, Kyle Wheeler wrote:
On Tuesday, June  9 at 02:28 PM, quoth Chris:
 I'm using mutt v1.5.19 to check mails in MS Exchange IMAP folders. Is 
 there any way I could get mutt to notify me of new mails on arrival 
 on various IMAP folders?

Read the manual, look for the command mailboxes.
   
   I am in a similar situation as Chris: I need to monitor several IMAP
   mailboxes, some of them on Exchange server. I'd therefore need to
   provide a list of imaps-URLs to the mailboxes command. So far the manual 
   is
   clear. 
   
   However, I have somewhat strange usernames. For instance, on one server 
   in
   the Windows domain COMPANY I have an account christoph that's 
   associated
   with the mailbox christoph.ludwig. Exchange expects me therefore to log 
   on
   with the IMAP username COMPANY/christoph/christoph.ludwig.
   
   Due to the '/', I cannot put the username into the imaps-URL. That's no
   problem as long as I want to check only one IMAP server with such a 
   username
   as I then simply set imap_user accordingly and state the simple 
   usernames
   explicitly as part of the imaps-URL on the remaining accounts. It is not
   obvious (to me), though, how to deal with several IMAP accounts that have 
   such
   usernames.
  
  What happens if you URL-encode the user name?
  
  imaps://company%2fchristoph%2fchristoph.lud...@example.com
 
 mutt still complains that it cannot find host COMPANY.

My vague recollection is that windows usernames are separated by
backslashes. How about

imaps://company\\christoph\\christoph.lud...@example.com/

(you may need to adjust the quoting a bit)


Re: mutt new mail notification

2009-06-09 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Tuesday, June  9 at 02:28 PM, quoth Chris:
 I'm using mutt v1.5.19 to check mails in MS Exchange IMAP folders. Is 
 there any way I could get mutt to notify me of new mails on arrival 
 on various IMAP folders?

Read the manual, look for the command mailboxes.

~Kyle
- -- 
In the beginning the Universe was created. This has made a lot of 
people very angry and been widely regarded as a bad move.
   -- Douglas Adams
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iQIcBAEBCAAGBQJKLnxyAAoJECuveozR/AWenA4QAJ5Dc8OMh4uZymlQQ1gpOOds
hb/2eKjwDIhLT8+nI+FkmJ+plPx4mSDzs+afMjQ9Xv42QHiuY3rJjR4w2nnW4ToJ
MAMJprivmhEXqQ2v64ugZMnEWv+dkj/e6QZvKRpqap3cZfGeNWBC8OFMsoh2NYy2
YJt4xN3iqC9LTR27+igyEzw/miOxm4Q3qPGSgzXbJdP3jqS34Mvp62U1FFvORvsA
dYe2LZ1Uq18hNZXmO1jhNZYftyDSslHzlOoTwtHq+8hW35H000ifqmXO/jmrzvR9
WfZmy1c1jtP0so+YoEiFA4w1WzYjlB/GGPMbg4nL/Pjkb6g0ezOIys6MtHT4BRBF
Pq3bYmsU3Lqbe8jbuBLXd7W4VfUvEVofXgVa8d3AYDqy2UWETs9CES1NiUKtdn2E
S1AM+B+gvadIEurSxecez3vz06hwBWkpqqNDqO969t0KXnDsVf1n1QD6tUp/0k1T
i3E0egZvzxP5b4+Qp+q6acaoQuYdNiypZbWU1JiM2knIE0WEYZsft1YswAlV8mrI
AqkSMsTCIhwpFQ7wInyiqg1OZl1IIfTtcWiMvmIbDQmkVomgDJCfNXKH53cSB1bS
UxzWTwyw1PZsEQYH+46L6/bUd/Uy3fCWSWsHoXvlHXPvdq3unrHOoXJw3kSxdTRv
rf6xM/4K2RwU46soXYLS
=rgSw
-END PGP SIGNATURE-


Re: mutt new mail notification

2009-06-09 Thread Christoph Ludwig
On Tue, Jun 09, 2009 at 10:15:04AM -0500, Kyle Wheeler wrote:
 On Tuesday, June  9 at 02:28 PM, quoth Chris:
  I'm using mutt v1.5.19 to check mails in MS Exchange IMAP folders. Is 
  there any way I could get mutt to notify me of new mails on arrival 
  on various IMAP folders?
 
 Read the manual, look for the command mailboxes.

I am in a similar situation as Chris: I need to monitor several IMAP
mailboxes, some of them on Exchange server. I'd therefore need to
provide a list of imaps-URLs to the mailboxes command. So far the manual is
clear. 

However, I have somewhat strange usernames. For instance, on one server in
the Windows domain COMPANY I have an account christoph that's associated
with the mailbox christoph.ludwig. Exchange expects me therefore to log on
with the IMAP username COMPANY/christoph/christoph.ludwig.

Due to the '/', I cannot put the username into the imaps-URL. That's no
problem as long as I want to check only one IMAP server with such a username
as I then simply set imap_user accordingly and state the simple usernames
explicitly as part of the imaps-URL on the remaining accounts. It is not
obvious (to me), though, how to deal with several IMAP accounts that have such
usernames.

Regards

Christoph



Re: mutt new mail notification

2009-06-09 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Tuesday, June  9 at 06:51 PM, quoth Christoph Ludwig:
 I am in a similar situation as Chris: I need to monitor several IMAP 
 mailboxes, some of them on Exchange server. I'd therefore need to 
 provide a list of imaps-URLs to the mailboxes command. So far the 
 manual is clear.

 However, I have somewhat strange usernames. For instance, on one server in 
 the Windows domain COMPANY I have an account christoph that's associated 
 with the mailbox christoph.ludwig. Exchange expects me therefore to log on 
 with the IMAP username COMPANY/christoph/christoph.ludwig.

 Due to the '/', I cannot put the username into the imaps-URL.

Have you tested that, or are you assuming that? I'm asking because I 
*think* mutt takes everything up to either a semicolon or the last @ 
symbol as the username. For example, I put my username in as 
u...@memoryhole.net@imap.memoryhole.net without trouble. Granted, my 
username doesn't have slashes in it, but I don't see why the slashes 
would cause trouble (other than maybe general slash and period bugs).

 That's no problem as long as I want to check only one IMAP server 
 with such a username as I then simply set imap_user accordingly and 
 state the simple usernames explicitly as part of the imaps-URL on 
 the remaining accounts. It is not obvious (to me), though, how to 
 deal with several IMAP accounts that have such usernames.

Well, the other way to do it with mutt is to use account-hooks. For 
example:

 account-hook imap://exchange.server 'set 
imap_user=COMPANY/christoph/christoph.ludwig'
 mailboxes imap://exchange.server/INBOX imap://exchange.server/from_boss

For details, check out the manual's description of account-hook 
(keep in mind that account-hooks trigger at unexpected times, so you 
don't want to do anything in them that doesn't have to do with 
contacting that account).


~Kyle
- -- 
Art, I suppose, is only for beginners, who have made up in their minds 
to be content with symbols rather than with what they signify, with 
the elegantly composed recipe in lieu of actual dinner.
   -- Aldous Huxley
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iQIcBAEBCAAGBQJKLp0vAAoJECuveozR/AWegiQQAImCz+bS30AJEFVbhgtRrTCy
kkr6Ts4qnx+r2iplFEqCN7OX46jL/tb5c3i4wpJfZzJ+sDbo6taaScVRVYTc+JJr
i0ZFO9EngS8z3CC2IERPLJW0HvieHKm69EMxx/K6rjdXiEWo7aqKTfcmg8nEAuDz
n8WcO9tUc49ub0fSPnRx854Er1OiVPJHKtQU2LINFeY4L1s6ioy0c2O4BV0DHKxn
Tdxpu6XjKhDT3xGt3uE4oh26hjbXHwXU+n7Ho3In+6lI1eDYCDAhspKSwjlSs28v
bFjjC10OUzTs9d9qyjZl8K82azY+fNNLppqZJMZ07wXY1T/hUWMCdnn2n9ZazV/l
IC78gWo1nCGDp/eu18zB1H7zbN8RGykmNFjNLFOQz4PQZstFc0Kx9yhGPbpIdzZl
9ZZ2jG7oXHlqDkU5jYydSIfi1viMTS19jhHO6NEbQTWsDMZh/MArN4Pz0SwKrTQt
jx109KjrGJseIsdl42wZmC6k2pjNj5MFCuwcXdoie4KLYO1SYED82uQrrY0hTHYe
YSDSEbnmOSuJ20k1ADnrTjD1n8jCPvxhspP+b+PZZGQ+fxgaP1TuT4zGMc1LBIxD
XtLGITV7FR43yT8UxSv0oL7gbeD5E7OXs9p7pL/gU6oChO51OTV+xinSNnLMvK2E
y9w7zX/c1wwf9oCqH6Ut
=5oCd
-END PGP SIGNATURE-


Re: mutt new mail notification

2009-06-09 Thread Paul Hoffman
On Tue, Jun 09, 2009 at 06:51:15PM +0200, Christoph Ludwig wrote:
 On Tue, Jun 09, 2009 at 10:15:04AM -0500, Kyle Wheeler wrote:
  On Tuesday, June  9 at 02:28 PM, quoth Chris:
   I'm using mutt v1.5.19 to check mails in MS Exchange IMAP folders. Is 
   there any way I could get mutt to notify me of new mails on arrival 
   on various IMAP folders?
  
  Read the manual, look for the command mailboxes.
 
 I am in a similar situation as Chris: I need to monitor several IMAP
 mailboxes, some of them on Exchange server. I'd therefore need to
 provide a list of imaps-URLs to the mailboxes command. So far the manual is
 clear. 
 
 However, I have somewhat strange usernames. For instance, on one server in
 the Windows domain COMPANY I have an account christoph that's associated
 with the mailbox christoph.ludwig. Exchange expects me therefore to log on
 with the IMAP username COMPANY/christoph/christoph.ludwig.
 
 Due to the '/', I cannot put the username into the imaps-URL. That's no
 problem as long as I want to check only one IMAP server with such a username
 as I then simply set imap_user accordingly and state the simple usernames
 explicitly as part of the imaps-URL on the remaining accounts. It is not
 obvious (to me), though, how to deal with several IMAP accounts that have such
 usernames.

What happens if you URL-encode the user name?

imaps://company%2fchristoph%2fchristoph.lud...@example.com

Paul.

-- 
Paul Hoffman nkui...@nkuitse.com


mutt new mail notification

2009-06-08 Thread Chris
I'm using mutt v1.5.19 to check mails in MS Exchange IMAP folders. Is
there any way I could get mutt to notify me of new mails on arrival on various
IMAP folders?

Thanks.


Re: [mutt] Re: Maildir on Cygwin - New mail notification

2009-05-28 Thread Rocco Rutte
Hi,

* Adam Wellings wrote:

 mail_check=5
 timeout=30

 TBH those settings come from someone else's muttrc.

These are default values and look okay. Does the problem persist even
after you switch folders?  If so, I guess the only to find out who's to
be blamed is to try a non-managed mount.

Rocco


Re: [mutt] Re: Maildir on Cygwin - New mail notification

2009-05-28 Thread Adam Wellings


Hello

 
 These are default values and look okay. Does the problem persist even

Yes, I always have to go into individual folders to see new mail.
I am using an external method to see what new mail is coming in, but 
it's not ideal.

 after you switch folders?  If so, I guess the only to find out who's to
 be blamed is to try a non-managed mount.
 

I was worried you'd say that. AFAIK the only way to run maildir format
under Cygwin is to use a managed mount as Windows can't handle the 
filenames.

Thanks for all your help, I'll check on the Cygwon list and see if 
anyone else has this set-up working. It'll be something to compare
against if they do.

I'll post back here if/when I find anything else out.

 
cheers,
Adam

-- 
...one cannot be angry when one looks at a penguin.
- John Ruskin



Re: Maildir on Cygwin - New mail notification

2009-05-27 Thread Rocco Rutte
Hi,

* Adam Wellings wrote:

 The new mail is marked within the folders, eg if new mail arrives in 
 the current directory, it gets marked as new and mutt tells me it's 
 there. New mail in other directories is marked as new when I viist it,
 but the directory is not marked, and none of the switch to dirs with
 new mail commands work.

Then I suspect it doesn't get flagged with 'N' in the folder browser, too?

 I'm guessing that this could be something to do with Cygwin and the 
 managed mount, but as I'm not sure what mutt does to check for mail 
 in the new dir, I don't know how to check this. I don't know C (well
 enough) to check in the code.

To detect new mail in maildirs, mutt looks at the new/
subdirectory. There, it tries to find a file that does not have :2, in
its name, or if it has, doesn't contain T after the comma. (the :2,
thing means that a mail's flags follow, the T flag means trashed,
i.e. deleted -- mutt looks for one non-trashed message in new/).

It would be helpful if you could use ls(1) to see what the filenames
look like.

Rocco


Re: [mutt] Re: Maildir on Cygwin - New mail notification

2009-05-27 Thread Adam Wellings


Hi Rocco,

  there. New mail in other directories is marked as new when I viist it,
  but the directory is not marked, and none of the switch to dirs with
  new mail commands work.
 
 Then I suspect it doesn't get flagged with 'N' in the folder browser, too?

Sorry, yes that's what I meant. My bad. 

 
 To detect new mail in maildirs, mutt looks at the new/
 subdirectory. There, it tries to find a file that does not have :2, in
 its name, or if it has, doesn't contain T after the comma. (the :2,
 thing means that a mail's flags follow, the T flag means trashed,
 i.e. deleted -- mutt looks for one non-trashed message in new/).
 
 It would be helpful if you could use ls(1) to see what the filenames
 look like.
 

Picking one mail folder at random, in the new directory they are all of 
the format:

1234567890.1234_0.HOSTNAME

In the cur directory they are roughly of the format:

1234567890.1234_0.HOSTNAME:2,S (or RS)
1234567890.1234_123.HOSTNAME:2,S

etc.



cheers,
Adam
-- 
...one cannot be angry when one looks at a penguin.
- John Ruskin



Re: [mutt] Re: Maildir on Cygwin - New mail notification

2009-05-27 Thread Rocco Rutte
Hi,

* Adam Wellings wrote:

  It would be helpful if you could use ls(1) to see what the filenames
  look like.
  
 
 Picking one mail folder at random, in the new directory they are all of 
 the format:
 
 1234567890.1234_0.HOSTNAME
 
 In the cur directory they are roughly of the format:
 
 1234567890.1234_0.HOSTNAME:2,S (or RS)
 1234567890.1234_123.HOSTNAME:2,S

That all looks okay, i.e. it should work. What are your values of
$timeout and $mail_check? Maybe mutt just didn't check for new mail yet?

Rocco


Re: [mutt] Re: Maildir on Cygwin - New mail notification

2009-05-27 Thread Adam Wellings
 
 That all looks okay, i.e. it should work. What are your values of
 $timeout and $mail_check? Maybe mutt just didn't check for new mail yet?
 

mail_check=5
timeout=30

TBH those settings come from someone else's muttrc.

cheers,
Adam

-- 
...one cannot be angry when one looks at a penguin.
- John Ruskin



Maildir on Cygwin - New mail notification

2009-05-26 Thread Adam Wellings
Hello,

I'm running mutt on Cygwin (v. 1.5). I'm using the standard packages 
version supplied by Cygwin, 1.4.2.2i. My mail directory is Maildir
mounted on a managed partition to cope with the naming convention. 
My Windows system is XP.

My mailboxes command is supplied absolute paths:

find ~/Maildir -type d -name cur -printf '%h '

My maildir hierarchy has a reasonably involved tree structure, but each
actual directory is a leaf so they only have tmp, new  cur directories.

The mail is delivered by procmail. 

The new mail is marked within the folders, eg if new mail arrives in 
the current directory, it gets marked as new and mutt tells me it's 
there. New mail in other directories is marked as new when I viist it,
but the directory is not marked, and none of the switch to dirs with
new mail commands work.

I've done a lot of searching on this and not found any answer. Though
I've seen others with similar issues, I've not yet seen anything that
resolves mine. 

I'm guessing that this could be something to do with Cygwin and the 
managed mount, but as I'm not sure what mutt does to check for mail 
in the new dir, I don't know how to check this. I don't know C (well
enough) to check in the code.

Is anyone else using this set-up or know what issues or settings to 
look at? I realise I might need to take this across to Cygwin to 
resolve but thought I should make sure I've not got any mutt settings
wrong and/or work out what mutt needs, first.

cheers,
Adam
-- 
...one cannot be angry when one looks at a penguin.
- John Ruskin



Re: New mail notification problems

2002-08-21 Thread David T-G

Ken, et al --

...and then Ken Weingold said...
% 
...
% 
% I don't have a setting for mark_old at all.  I see sometimes something
% flash about new mail, but the status bar never says anything, or
% moving the indicator bar or something makes it disappear.  Could the
% server (Panix) be running something that is messing up mutt with
% respect to reporting new mail?

It's certainly possible...  Forgive the upcoming review of how mutt
determines the new-mail-ness of a folder, but since this has been
discussed numerous times and the question still comes up it seems worth
it.

When a mail folder is read, it access time (atime) is updated.  That
clears the count, so to speak, and mutt figures that that's the last
time the folder was seen and so that's the time to beat for new mail.

When a mail folder is written, such as by new mail delivery, the
modification time (mtime) is updated.  mutt compares the mtime with the
atime and if the former is later then it figures you have had new mail
arrive and it so marks the folder.

This method of checking is a good thing, because it doesn't matter how
big the folder is; the time to check is fixed.  It is not so good,
though, because anything that updates the atime will break it.  Past
experience has shown that there are *lots* of things that can update the
atime.  Your mission, should you choose to accept it, is to find what's
doing that and stop it.  It could be your shell, a biff program, a backup
program, or who knows what.

You can test out this theory by using touch to update the atime backwards
or the mtime forwards to force the new mail condition and then have
mutt look at it and see whether or not it's flagged.  Hey, it's possible
that your mutt has a problem; let's find out.

You may recall your own problems with this on your nfs-mounted mail spool
some time back.  Another possibility is that the disk server's clock and
the login server's clock are not in sync.


% 
% Thanks.

HTH  HAND


% 
% 
% -Ken

Man, it must be put things in quotes day here at my house.  Weird.


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg30397/pgp0.pgp
Description: PGP signature


Re: New mail notification problems

2002-08-21 Thread Ken Weingold

On Wed, Aug 21, 2002, David T-G wrote:
 You may recall your own problems with this on your nfs-mounted mail spool
 some time back.  Another possibility is that the disk server's clock and
 the login server's clock are not in sync.

Different server completely. :)

Thanks for the explanation, David.  I will look into it.


-Ken




Re: New mail notification problems

2002-08-21 Thread John Iverson

* On Mon, 19 Aug 2002, John Iverson wrote:

  The only known issue (afaik) about Mutt *not* reporting new
  mail is when the user has unset mark_old in their
  configuration.  In this case a message that would ordinarily be
  marked as old is still new, but won't be detected with the file
  modification/access time heuristic.

 I don't know if it's related, but I've noticed the following
 behavior which was briefly discussed here before: When you switch
 from Mailbox A (index or pager view) to the folder list view,
 Mutt won't show the N flag next to Mailbox A when there is new
 mail in it.  It doesn't seem to matter whether the new mail was
 already there or if it arrives while in folder list view.  If you
 then switch to Mailbox B and back to folder view, the N flag for
 Mailbox A works again (but now Mailbox B has the same issue).

 Can anyone say whether this is a feature or bug?  I'm using
 Maildir folders with set mark_old=no, if that's relevant.

How about this question, then:  Does anyone's Mutt correctly
indicate new mail in Mailbox A in the above scenario?

If it's normal behavior and not a bug in my setup, I suspect Mutt
considers that you are still viewing Mailbox A until you choose
another one, and this has something to do with it.  But the
mailbox browser screen is misleading in this case, to me.  Maybe
a special current mailbox symbol next to Mailbox A would be
better than just nothing, which wrongly indicates the lack of new
mail.

-- 
John



Re: New mail notification problems

2002-08-20 Thread Michael Leone


John Iverson said:
 * On Mon, 19 Aug 2002, Mike Leone wrote:

 I use Maildir with IMAP, and I see *no* new mail notifications
 on the folders at all. When I open the mailbox (maildir), yes -
 the index or pager shows new messages. But using the c
 command to switch folders only ever shows the name of the
 folder, and not a new mail notification symbol.

 You're saying that you do see a new mail indicator on Maildir
 (i.e., IMAP) folders?

 Maildir, but not IMAP (perhaps I misused a term somewhere).

No, you can use Maildir format when not using IMAP. I used to use local
Maildir format mailboxes (which are, in reality, directories) with a POP
account.

 I'm referring to the mailbox browser screen which appears when
 you press ? after pressing c.

Yes, that's what I'm referring to, as well.

 Yes, I do see the new mail indicators, except for the mailbox I
 just came from.  (Doesn't matter if I press tab to switch
 between mailbox and file views.)  When I first start mutt with
 mutt -y (i.e.  there is no last-visited mailbox), the new mail
 indicators for all mailboxes seem to work.

My indicators never work, but perhaps that's because they're IMAP folders,
on a remote machine (my mail server).

 Just curious if this is normal behavior or not.  There did not
 seem to be a conclusion last time it was discussed, and I thought
 it possible that this is what the original poster was
 experiencing.
-- 
PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
Member, LEAF Project http://leaf.sourceforge.netAIM: MikeLeone

These are the memories which make me a wealthy soul ...


Random Thought:
--





Re: New mail notification problems

2002-08-19 Thread Michael Elkins

Sven Guckes wrote:
 * Ken Weingold [EMAIL PROTECTED] [2002-08-18 08:44]:
  What would make mutt not report that there is new mail when there is?
  Sometimes I will find that it indicates that there is
  no new mail, yet when I change to some folders, there is.
 
 i recall some problems about modification tims
 vs the file system.  and there were patches.
 i suppose you can search through the messages
 in the bug tracking system - but.. it's Sunday.

The access time (atime) problem is usually the other way around:
reporting new mail when there really isn't any.

The only known issue (afaik) about Mutt *not* reporting new mail is when
the user has unset mark_old in their configuration.  In this case a
message that would ordinarily be marked as old is still new, but won't
be detected with the file modification/access time heuristic.



Re: New mail notification problems

2002-08-19 Thread Ken Weingold

On Mon, Aug 19, 2002, Michael Elkins wrote:
 The only known issue (afaik) about Mutt *not* reporting new mail is
 when the user has unset mark_old in their configuration.  In this
 case a message that would ordinarily be marked as old is still new,
 but won't be detected with the file modification/access time
 heuristic.

I don't have a setting for mark_old at all.  I see sometimes something
flash about new mail, but the status bar never says anything, or
moving the indicator bar or something makes it disappear.  Could the
server (Panix) be running something that is messing up mutt with
respect to reporting new mail?

Thanks.


-Ken




Re: New mail notification problems

2002-08-19 Thread John Iverson

* On Mon, 19 Aug 2002, Michael Elkins wrote:

 The only known issue (afaik) about Mutt *not* reporting new
 mail is when the user has unset mark_old in their
 configuration.  In this case a message that would ordinarily be
 marked as old is still new, but won't be detected with the file
 modification/access time heuristic.

I don't know if it's related, but I've noticed the following
behavior which was briefly discussed here before: When you switch
from Mailbox A (index or pager view) to the folder list view,
Mutt won't show the N flag next to Mailbox A when there is new
mail in it.  It doesn't seem to matter whether the new mail was
already there or if it arrives while in folder list view.  If you
then switch to Mailbox B and back to folder view, the N flag for
Mailbox A works again (but now Mailbox B has the same issue).

Can anyone say whether this is a feature or bug?  I'm using
Maildir folders with set mark_old=no, if that's relevant.

-- 
John



Re: New mail notification problems

2002-08-19 Thread Mike Leone

* John Iverson ([EMAIL PROTECTED]) wrote this on 08 19, 02 at 16:43: 
 * On Mon, 19 Aug 2002, Michael Elkins wrote:
 
  The only known issue (afaik) about Mutt *not* reporting new
  mail is when the user has unset mark_old in their
  configuration.  In this case a message that would ordinarily be
  marked as old is still new, but won't be detected with the file
  modification/access time heuristic.
 
 I don't know if it's related, but I've noticed the following
 behavior which was briefly discussed here before: When you switch
 from Mailbox A (index or pager view) to the folder list view,
 Mutt won't show the N flag next to Mailbox A when there is new
 mail in it.  It doesn't seem to matter whether the new mail was
 already there or if it arrives while in folder list view.  If you
 then switch to Mailbox B and back to folder view, the N flag for
 Mailbox A works again (but now Mailbox B has the same issue).
 
 Can anyone say whether this is a feature or bug?  I'm using
 Maildir folders with set mark_old=no, if that's relevant.

I use Maildir with IMAP, and I see *no* new mail notifications on the
folders at all. When I open the mailbox (maildir), yes - the index or pager
shows new messages. But using the c command to switch folders only ever
shows the name of the folder, and not a new mail notification symbol.

You're saying that you do see a new mail indicator on Maildir (i.e., IMAP)
folders?



New mail notification problems

2002-08-18 Thread Ken Weingold

What would make mutt not report that there is new mail when there is?
Sometimes I will find that it indicates that there is no new mail, yet
when I change to some folders, there is.

Thanks.


-Ken



Re: New mail notification problems

2002-08-18 Thread Sven Guckes

* Ken Weingold [EMAIL PROTECTED] [2002-08-18 08:44]:
 What would make mutt not report that there is new mail when there is?
 Sometimes I will find that it indicates that there is
 no new mail, yet when I change to some folders, there is.

feature.  i just haven't found out why.  ;-)

i recall some problems about modification tims
vs the file system.  and there were patches.
i suppose you can search through the messages
in the bug tracking system - but.. it's Sunday.

Sven



Re: New mail notification problems

2002-08-18 Thread Ken Weingold

On Sun, Aug 18, 2002, Sven Guckes wrote:
 feature.  i just haven't found out why.  ;-)

Ack. :-/

 i recall some problems about modification tims
 vs the file system.  and there were patches.
 i suppose you can search through the messages
 in the bug tracking system - but.. it's Sunday.

Yeah, that's what work is for. ;-)  I will look into it.  Thanks,
Sven.


-Ken





Re: New Mail Notification Not Showing in Folder View

2002-05-22 Thread Jussi Ekholm

Andy Saxena [EMAIL PROTECTED] wrote:

 On Thu, May 09, 2002 at 02:27:42AM -0700, Will Yardley wrote:
 do you have:
 mailboxes +me +linux +other +mailboxes +here
 in your .muttrc ?
 
 Or:
 
 mailboxes `echo $HOME/Mail/*'

Well, take a look a this:

mailboxes +debian-news +debian-security +debian-testing +irssi-user \
  +irssi-dev +mutt-announce +mutt-user +mutt-dev +mp3encoder \
  +freshmeat-news +slrn-user +tolkien +mbox +inbox +outbox \
  +cron +postikaista +yacde +logcheck +erpnotes

I think I'll check out that example of yours. Although, according to the
logic of it I'm going to see one directory and a folder for spam in the
mailbox view in browser, which I probably wouldn't want to... 

-- 
Jussi Ekholm [EMAIL PROTECTED] | GNU/Linux user number 269376
http://erppimaa.cjb.net/~ekhowl/   | ICQ UIN:  156057281 
ekh on IRCnet  | GnuPG Public Key ID:  1410081E



msg28291/pgp0.pgp
Description: PGP signature


Re: New Mail Notification Not Showing in Folder View

2002-05-20 Thread Andy Saxena

On Thu, May 09, 2002 at 02:27:42AM -0700, Will Yardley wrote:
 [EMAIL PROTECTED] wrote:
  
  When I get new mail in a folder I do not get a notification
  N symbol appearing in my folders list
  
  q:Exit  c:Chdir  m:Mask  ?:Help
   1 drwx-- 15 tony   tony   4096 May 10 04:36 ../
   2 -rw---  1 tony   tony  43859 May 10 04:27 sent
   3 -rw---  1 tony   tony  0 May 10 04:20 me
   4 -rw---  1 tony   tony  0 May 10 04:20 linux
  
  I have in my muttrc file
  
  set folder_format=%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f
  
  which I thought would work with the N option.  
  Any ideas how to get the N new mail notification symbol to
  be displayed
 
 do you have:
 mailboxes +me +linux +other +mailboxes +here
 
 in your .muttrc ?
 

Or:

mailboxes `echo $HOME/Mail/*'

-Andy




Re: New Mail Notification Not Showing in Folder View

2002-05-20 Thread Sören Mindorf

Hi All,

I am a new reader of this list and I have the same problem.
I use mutt since one year and I like it. I updated to mutt 1.3.27i
and use the config from my old Version.
Now I do not get any notification in my folders.
In my .muttrc I have triedone of this:

mailboxes ! +mbox +debian +lug-kiel +privat +buecher
mailboxes  ! +~/Mail
mailboxes `for file in ~/Mail/*; do echo -n +~/Mail/$(basename $file) ; done`
mailboxes `echo $HOME/Mail/*'

but nothing work.

Any ideas?

Greetings

Soeren

* Andy Saxena schrieb am 20 Mai 2002:

On Thu, May 09, 2002 at 02:27:42AM -0700, Will Yardley wrote:
 [EMAIL PROTECTED] wrote:
  
  When I get new mail in a folder I do not get a notification
  N symbol appearing in my folders list
  
  q:Exit  c:Chdir  m:Mask  ?:Help
   1 drwx-- 15 tony   tony   4096 May 10 04:36 ../
   2 -rw---  1 tony   tony  43859 May 10 04:27 sent
   3 -rw---  1 tony   tony  0 May 10 04:20 me
   4 -rw---  1 tony   tony  0 May 10 04:20 linux
  
  I have in my muttrc file
  
  set folder_format=%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f
  
  which I thought would work with the N option.  
  Any ideas how to get the N new mail notification symbol to
  be displayed
 
 do you have:
 mailboxes +me +linux +other +mailboxes +here
 
 in your .muttrc ?
 

Or:

mailboxes `echo $HOME/Mail/*'

-Andy

-- 

~~~
~ Soeren Mindorf  ~
~ Industriemeister der Elektrotechnik ~
~ Wrangelstrasse 33   ~
~ 24105 Kiel  ~
~ E-Mail1: [EMAIL PROTECTED] ~
~ E-Mail2: [EMAIL PROTECTED]~
~ Homepage: http://www.mindorf.org~
~~~



New mail notification ideas

2002-02-12 Thread Philip Mak

One thing that I've always missed since I switched from pine to mutt
was pine's more verbose e-mail notification. Instead of just saying
New mail in this mailbox. it would say something like:

  [New mail from Philip Mak re New mail notification ideas]

Also, pine checks for new mail when it is in the pager. In mutt's
case, it doesn't, so if I stay inside the pager for hours then I won't
see any new messages.

I would like to suggest that these features (verbose new e-mail
notification line, and check for new mail while in the pager) be
implemented in mutt.



Maildir and new mail notification

2001-12-06 Thread Ailbhe Leamy

Hi

Since changing to Maildir format, I have noticed some odd behaviour - if
I am in a folder while it receives new mail, I don't get notified.  If I
change to another folder, I immediately get notified of any new mail in
the first folder.

What have I missed?

A.

-- 
Homepage: http://ailbhe.ossifrage.net/



Re: Maildir and new mail notification

2001-12-06 Thread Curt W. Zirzow

* Ailbhe Leamy [EMAIL PROTECTED] wrote:
 Hi
 
 Since changing to Maildir format, I have noticed some odd behaviour - if
 I am in a folder while it receives new mail, I don't get notified.  If I
 change to another folder, I immediately get notified of any new mail in
 the first folder.
 
 What have I missed?

There are three vars that might be interesting:

# variable : timeout (number)
# default  : 600
#
# This variable controls the number of seconds Mutt will wait for
# a key to be pressed in the main menu before timing out and checking
# for new mail.  A value of zero or less will cause Mutt not to ever
# time out.

# variable : check_new (boolean)
# default  : yes
#
# Note: this option only affects maildir and MH style
# mailboxes.
#
# When set, Mutt will check for new mail delivered while the
# mailbox is open.  Especially with MH mailboxes, this operation can
# take quite some time since it involves scanning the directory and
# checking each file to see if it has already been looked at.  If
# check_new is unset, no check for new mail is performed
# while the mailbox is open.

# variable : mail_check (number)
# default  : 5
#
# This variable configures how often (in seconds) mutt should look for
# new mail.


Curt
-- 
Any time things appear to be going better, you have overlooked
something.



Re: fcc folder new mail notification

2001-11-23 Thread Prahlad Vaidyanathan

Hi,


On Wed, 21 Nov 2001 René [EMAIL PROTECTED] spewed into the ether:
[-- snip --] 
 But, however, when I am _not_ in my friends folder, and send mail to
 that friend, Mutt thinks that I have new mail in that folder. Of
 course (, Rob, ;-) Mutt is right in thinking that, but it does confuse
 me a bit (whow, a reply *that* fast?).
 
 What's a reasonable workaround for this?

AFAIK, there isn't. Even if there was, it wouldn't really be a feasable
option. Because, what you are in effect asking for is for Mutt to
look into your folder, see if the mail is from you or not, and
accordingly tell you (in the browser) if it has new mail or not.

That would involve quite a bit of unnecessary overhead, especially if
the said folder is a particularly big one.

Even if you did setup a macro to do that, you would have to _enter_ the
folder, and hence the browser will not show you if you have new mail in
that folder no matter who sent it - 
Yes, now we're back to the 'New vs. Unread mail' debate :-)

Your best option I guess, would be to just put your sent mail into a
'sent-mail.friends-name' folder, or some such, and exclude this from
your 'mailboxes' list.

HTH,

pv.

-- 
Prahlad Vaidyanathan [EMAIL PROTECTED]What, me worry ?
http://www.symonds.net/~prahladv/Don't Panic !
--



msg20639/pgp0.pgp
Description: PGP signature


Re: fcc folder new mail notification

2001-11-23 Thread René Clerc

* Prahlad Vaidyanathan [EMAIL PROTECTED] [23-11-2001 15:28]:

| [-- snip --] 
|  But, however, when I am _not_ in my friends folder, and send mail to
|  that friend, Mutt thinks that I have new mail in that folder. Of
|  course (, Rob, ;-) Mutt is right in thinking that, but it does confuse
|  me a bit (whow, a reply *that* fast?).
|  
|  What's a reasonable workaround for this?
| 
| AFAIK, there isn't. Even if there was, it wouldn't really be a feasable
| option. Because, what you are in effect asking for is for Mutt to
| look into your folder, see if the mail is from you or not, and
| accordingly tell you (in the browser) if it has new mail or not.
|
| That would involve quite a bit of unnecessary overhead, especially if
| the said folder is a particularly big one.

I agree!

| Even if you did setup a macro to do that, you would have to _enter_ the
| folder, and hence the browser will not show you if you have new mail in
| that folder no matter who sent it - 
| Yes, now we're back to the 'New vs. Unread mail' debate :-)

Let's avoid that ;)

Well, just one remark: Mutt _does_ mark the fcc'ed mail as read. It's
just that the mtime of the file is changed...

So this is another debate... 'no new, no unread mail in the mbox
(according to Mutt), but still new mail (according to Mutt)' ;-)

| Your best option I guess, would be to just put your sent mail into a
| 'sent-mail.friends-name' folder, or some such, and exclude this from
| your 'mailboxes' list.

But that was the problem: I want them in one mailbox, so I can view
the thread ;)

-- 
René Clerc  - ([EMAIL PROTECTED])

The distance between insanity and genius is measured only by success.
-James Bond, Tomorrow Never Dies



msg20640/pgp0.pgp
Description: PGP signature


fcc folder new mail notification

2001-11-21 Thread René Clerc

Hi all,

this probably has come up, but I couldn't find it. I looked for it,
honestly!! ;-)

When I send mail to a particular friend, I set the fcc folder to the
folder in which procmail delivers mail from this friend. This folder
is listed in my 'mailboxes' directive.

But, however, when I am _not_ in my friends folder, and send mail to
that friend, Mutt thinks that I have new mail in that folder. Of
course (, Rob, ;-) Mutt is right in thinking that, but it does confuse
me a bit (whow, a reply *that* fast?).

What's a reasonable workaround for this?

Thanks,

-- 
René Clerc  - ([EMAIL PROTECTED])

If you have to resort to violence, you've already lost.
-Sean Connery, Rising Sun



msg20599/pgp0.pgp
Description: PGP signature


Re: fcc folder new mail notification

2001-11-21 Thread Will Yardley

Ren? Clerc wrote:
 
 When I send mail to a particular friend, I set the fcc folder to the
 folder in which procmail delivers mail from this friend. This folder
 is listed in my 'mailboxes' directive.
 
 But, however, when I am _not_ in my friends folder, and send mail to
 that friend, Mutt thinks that I have new mail in that folder. Of
 course (, Rob, ;-) Mutt is right in thinking that, but it does confuse
 me a bit (whow, a reply *that* fast?).
 
 What's a reasonable workaround for this?

i could be wrong, but i don't think there's a way to do this with mbox
delivery (unless mutt can somehow copy messages to an mbox without
modifying the mbox's modification time.

however if you use maildir (which might be a pain to switch to /
undesirable for other reasons) i think you will get the desired
behavior.

w

-- 
GPG Public Key:
http://infinitejazz.net/will/pgp/



Re: fcc folder new mail notification

2001-11-21 Thread René Clerc

* Will Yardley [EMAIL PROTECTED] [21-11-2001 20:28]:

|  When I send mail to a particular friend, I set the fcc folder to the
|  folder in which procmail delivers mail from this friend. This folder
|  is listed in my 'mailboxes' directive.
|  
|  But, however, when I am _not_ in my friends folder, and send mail to
|  that friend, Mutt thinks that I have new mail in that folder. Of
|  course (, Rob, ;-) Mutt is right in thinking that, but it does confuse
|  me a bit (whow, a reply *that* fast?).
|  
|  What's a reasonable workaround for this?
| 
| i could be wrong, but i don't think there's a way to do this with mbox
| delivery (unless mutt can somehow copy messages to an mbox without
| modifying the mbox's modification time.

I don't believe it can :(

| however if you use maildir (which might be a pain to switch to /
| undesirable for other reasons) i think you will get the desired
| behavior.

That's the problem: I have a very old HD, small, and all seperate
mails will fill my HD up in no time...

Thanks anyway,

-- 
René Clerc  - ([EMAIL PROTECTED])

Eat one live toad the first thing in the morning and nothing worse
will happen to you the rest of the day.

[Well, actually, to either of you...  Ed.]



msg20606/pgp0.pgp
Description: PGP signature


Re: fcc folder new mail notification

2001-11-21 Thread Sean LeBlanc

On 11-21 20:55, René Clerc wrote:
 * Will Yardley [EMAIL PROTECTED] [21-11-2001 20:28]:
 
 |  When I send mail to a particular friend, I set the fcc folder to the
 |  folder in which procmail delivers mail from this friend. This folder
 |  is listed in my 'mailboxes' directive.
 |  
 |  But, however, when I am _not_ in my friends folder, and send mail to
 |  that friend, Mutt thinks that I have new mail in that folder. Of
 |  course (, Rob, ;-) Mutt is right in thinking that, but it does confuse
 |  me a bit (whow, a reply *that* fast?).
 |  
 |  What's a reasonable workaround for this?
 | 
 | i could be wrong, but i don't think there's a way to do this with mbox
 | delivery (unless mutt can somehow copy messages to an mbox without
 | modifying the mbox's modification time.
 
 I don't believe it can :(

Can't you use touch to do this? Somehow figure out original time, store
that, then call touch -m with original time? I don't know enough about mutt to
know if hooks will permit you to call a shell script at the right times to
do this, however. Just a thought.

-- 
Sean LeBlanc:[EMAIL PROTECTED] Yahoo:seanleblancathome 
ICQ:138565743 MSN:seanleblancathome AIM:sleblancathome 
However, never daunted, I will cope with adversity in my traditional manner... 
sulking and nausea. 
-Tom K. Ryan 
(contributed by Chris Johnston) 
Management QOTD:Be interrupt driven with regards to the technology strategy!!




Re: mailboxes and new mail notification

2001-08-20 Thread Azzazel

quoting Mark Hill:

  I've added these mailboxes to ~/.muttrc like so:
  #mailboxes
  mailboxes !
  mailboxes =blackbox

 Again, thanks for all the help, I've learnt a few good mailboxes tricks. :)

if you're not sure, full path to the mailbox can be used, like this:

mailboxes /var/spool/mail/azzazel #azzazel is spool mailbox
mailboxes /home/azzazel/Mail/inbox#azzazel is user  
etc...

When you try to change mailbox with 'c', hit TAB and mutt will show
you list of mailboxes configured in muttrc.

-- 
Best regards,
poz. azz.   



Re: mailboxes and new mail notification

2001-08-18 Thread Morten Brix Pedersen

Hi Mark,

On Sun, Aug 19, 2001 at 01:59:34AM +0100, Mark Hill wrote:
 Hello,
 
 I'm trying to get mutt to tell me if there is any new mail in an mbox folder.
 AFAIK, new messages come up when I go to change in to another dir, but instead mutt 
says 'mailboxes [0]' (or something like that.)
 
 I've added these mailboxes to ~/.muttrc like so:
 
 #mailboxes
[...]
 mailboxes =sent-mail
 mailboxes /var/spool/mail/mark

Personally I just do:

mailboxes +mailbox1 +mailbox2 +mailbox3

And it works great, I press 'c' to change mailbox, and it will go to a
mailbox which has new messages.

- Morten.

--
Morten Brix Pedersen [EMAIL PROTECTED] - http://www.wtf.dk/hp/
Copenhagen, Denmark. -- Programmer, Scout, Geek.



Re: mailboxes and new mail notification

2001-08-18 Thread Suresh Ramasubramanian

Mark Hill mutt [19/08/01 01:59 +0100]:
 #mailboxes
 mailboxes !
 mailboxes =blackbox

Try 

mailboxes `echo $HOME/Mail/*`

-suresh



Re: mailboxes and new mail notification

2001-08-18 Thread Ken Weingold

On Sun, Aug 19, 2001, Mark Hill wrote:
 On Sun, Aug 19, 2001 at 07:26:11AM +0530, Suresh Ramasubramanian wrote:
  Mark Hill mutt [19/08/01 01:59 +0100]:
   #mailboxes
   mailboxes !
   mailboxes =blackbox
  
  Try 
  
  mailboxes `echo $HOME/Mail/*`
  
  -suresh
 
 Okay, I'm not too sure if this works as my ~/Mail/procmail.log was
 picked up as having new mail (I used it as mailbox previously.) I
 moved it somewhere else, expecting other folders to picked up, but
 they weren't. I'll wait for some 'real' new mail and see what
 happens. :)

You can do it all on one line.  And '!' means your spool folder.  Try:

mailboxes ! =blackbox


HTH


-Ken

ps: please set some sort of line wrapping in your editor



New mail notification while in pager?

2001-02-10 Thread Per Wille


Is it possible to get a new mail notification while Mutt is in its
pager (while reading a message)? Right now I only get notified while
in index view.

-- 

Wille

 PGP signature


Re: New mail notification

2001-01-17 Thread Fredrik Jagenheim

On Wed, Jan 17, 2001 at 08:48:23AM +0530, Suresh Ramasubramanian wrote:
 Jeffrey A Schoolcraft proclaimed on mutt-users that: 
 
  sorry, forgot the !
   mailboxes ! `for file in ~/mail/*; do echo -n "+$(basename $file) "; done`
 
 instead - try 
 mailboxes `echo $HOME/Mail/*`
 it works just fine :)
 

I just wish there would be a way to unspecify mailboxes after doing
something like that. Like 'SPAM' and 'outbox'. I usually end up doing
hairy sed scripts, when something like;
mailboxes `echo $HOME/Mail/*`
mailboxes -SPAM -outbox

Perhaps it is possible, I just missed it?

//Fredde




Re: New mail notification

2001-01-17 Thread Fredrik Jagenheim

On Wed, Jan 17, 2001 at 08:48:23AM +0530, Suresh Ramasubramanian wrote:
 Jeffrey A Schoolcraft proclaimed on mutt-users that: 
 
  sorry, forgot the !
   mailboxes ! `for file in ~/mail/*; do echo -n "+$(basename $file) "; done`
 
 instead - try 
 mailboxes `echo $HOME/Mail/*`
 it works just fine :)
 

I just wish there would be a way to unspecify mailboxes after doing
something like that. Like 'SPAM' and 'outbox'. I usually end up doing
hairy sed scripts, when something like;
mailboxes `echo $HOME/Mail/*`
mailboxes -SPAM -outbox

Perhaps it is possible, I just missed it?

//Fredde




Re: New mail notification

2001-01-17 Thread Dave Pearson

On Wed, Jan 17, 2001 at 09:29:53AM +0100, Fredrik Jagenheim wrote:

 I just wish there would be a way to unspecify mailboxes after doing
 something like that. Like 'SPAM' and 'outbox'. I usually end up doing
 hairy sed scripts, when something like;
 mailboxes `echo $HOME/Mail/*`
 mailboxes -SPAM -outbox
 
 Perhaps it is possible, I just missed it?

How about something like:

,
| echo $HOME/Mail/* | tr " " "\n" | grep -Ev "not wanted" | tr "\n" " "
`

Where not wanted is the list of boxes you don't want. eg:

,
| grep -Ev "SPAM|outbox"
`

-- 
Dave Pearson:  | mutt.octet.filter - autoview octet-streams
http://www.davep.org/  | mutt.vcard.filter - autoview simple vcards
Mutt:  | muttrc2html   - muttrc - HTML utility
http://www.davep.org/mutt/ | muttrc.sl - Jed muttrc mode



Re: New mail notification

2001-01-17 Thread Suresh Ramasubramanian

Dave Pearson proclaimed on mutt-users that: 

 Where not wanted is the list of boxes you don't want. eg:
 ,
 | grep -Ev "SPAM|outbox"
 `
 
 simple - and brilliant :)

-suresh

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin



New mail notification

2001-01-16 Thread John Indra

Dear all...

I have this entry in my .muttrc:
mailboxes ! =dsniff ="@freebsd.org" ="@mutt.org" ="pau-mikro" \
="@postfix.org" ="@redhat.com" "@securityfocus.com" "libwww" "vpopmail"

Unfortunately not all mailboxes notify me when new mail arrives. Only the
first 7!?!
Is there some limitation of the mailboxes sum? Or is there something I must
tweak?

FYI using Mutt 1.2.5i

Thanks...

/john




Re: New mail notification

2001-01-16 Thread John Indra

On Wed, Jan 17, 2001 at 01:30:34AM +, Dave Pearson wrote:

Could it be pure coincidence that it's only the first seven that are full
paths (well, shortcuts to full paths) while the rest aren't? :-)

I don't quite get your point.

All those mailboxes reside in $HOME/mail. None of them are symlinks. I use
procmail.

/john




Re: New mail notification

2001-01-16 Thread Jeffrey A Schoolcraft

you might want to do something like this then:

mailboxes `for file in ~/mail/*; do echo -n "+$(basename $file) "; done`

works for me.

Jeff



Re: New mail notification

2001-01-16 Thread Jeffrey A Schoolcraft


sorry, forgot the !

 mailboxes ! `for file in ~/mail/*; do echo -n "+$(basename $file) "; done`
 Jeffrey A Schoolcraft ([EMAIL PROTECTED]) wrote:
 you might want to do something like this then:
 
 mailboxes `for file in ~/mail/*; do echo -n "+$(basename $file) "; done`
 
 works for me.
 
 Jeff



Re: New mail notification

2001-01-16 Thread Suresh Ramasubramanian

Jeffrey A Schoolcraft proclaimed on mutt-users that: 

 sorry, forgot the !
  mailboxes ! `for file in ~/mail/*; do echo -n "+$(basename $file) "; done`

instead - try 
mailboxes `echo $HOME/Mail/*`
it works just fine :)

--suresh

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin



Re: New mail notification

2000-02-10 Thread xavim

On Wed, Feb 09, 2000 at 02:21:13PM -0600, David DeSimone wrote:
 If you use Maildir folders, Mutt will always be able to easily tell if
 there is new mail.  If this is feasible for you, you should go ahead and
 switch to Maildir format.

Thanks a lot!

I have found a perl script to convert mbox 2 maildir and I
will try to convert my old mail (if you know of any other
conversion tool, please let me know).

Regards,

Xavi



Re: New mail notification

2000-02-10 Thread Byrial Jensen

On Thu, Feb 10, 2000 at 11:57:35 +0100, [EMAIL PROTECTED] wrote:
 I have found a perl script to convert mbox 2 maildir and I
 will try to convert my old mail (if you know of any other
 conversion tool, please let me know).

I know one called Mutt. :-)

Open the mailbox to be converted, and type the command
":set mbox_type=maildir" so newly created mailboxes will be
maildirs. Then tag all messages with "T." and copy them to a
new maildir mailbox with ";C".

-- 
Byrial



Re: New mail notification

2000-02-10 Thread Petr Hlustik

On Wed, Feb 09, 2000 at 02:21:13PM -0600, David DeSimone wrote:
 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  Mutt does notify me when I run it (in the new=x, folders with new
  mail).  The problem is that when I change to that folder and leave
  without having read all the new mail, mutt will tell me that I have no
  folders with new mail.
 
 I think this is a limitation of mbox folders.  The only 'easy' way to
 determine if there is new mail, is to check the access time, and reading
 the folder causes that time to be changed.

It may not be the case on all UNIXes. As I posted before, I have used
procmail and mbox folders on SGI/IRIX and mailboxes with new mail were
being detected correctly. I moved to a different server with SunOS (same
.muttrc, same .procmailrc) and new mail detection stopped working. I can do
touch -m on mailboxes before I open mutt but that's the only time new mail
detection works :-(

Regards,
Petr



New mail notification

2000-02-09 Thread xavim

I am using procmail to automatically deliver part of my 
incoming mail in certain mailboxes.  I want mutt to 
notify me when any of these mailboxes get new mail,
so I have added

   mailbox my_mailbox

to my .muttrc.

Mutt does notify me when I run it (in the new=x, 
folders with new mail).  The problem is that when
I change to that folder and leave without having
read all the new mail, mutt will tell me that
I have no folders with new mail.  I have set

   set nomark_old
   
so that the unread mail appears as new when I
enter the mailbox.  It does not work either.

I am using mbox-type mailboxes, and I know that
the mutt detects if they have new mail comparing
the modification time with the access time, so
that the problem seems to be that the access time
always changes, even when I have not finished reading
all the mail.

Does anyone have know how could I get mutt to
do what I want?  Should I change the mailbox 
format (MMDF, MH, Maildir) to do this?

Thanks




the 



Re: New mail notification

2000-02-09 Thread Mikko Hänninen

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote on Wed, 09 Feb 2000:
 Does anyone have know how could I get mutt to
 do what I want?  Should I change the mailbox 
 format (MMDF, MH, Maildir) to do this?

I use Maildir, and saving "old new" emails works fine, and Mutt reports
new mail in these folders correctly.

On the other hand, I'm running a Mutt with a patch to turn $mark_old
into a quadoption which also does some other changes to this area of
Mutt code, so maybe it won't work with standard Mutt.


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
"The last good thing written in C was Franz Schubert's Symphony #9."



Re: New mail notification

2000-02-09 Thread David DeSimone

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Mutt does notify me when I run it (in the new=x, folders with new
 mail).  The problem is that when I change to that folder and leave
 without having read all the new mail, mutt will tell me that I have no
 folders with new mail.

I think this is a limitation of mbox folders.  The only 'easy' way to
determine if there is new mail, is to check the access time, and reading
the folder causes that time to be changed.

Mutt could try to actually read every folder you tell it, and look for
messages with the proper Status, but that would be slow, and you
probably wouldn't like it.

 Does anyone have know how could I get mutt to do what I want?  Should
 I change the mailbox format (MMDF, MH, Maildir) to do this?

If you use Maildir folders, Mutt will always be able to easily tell if
there is new mail.  If this is feasible for you, you should go ahead and
switch to Maildir format.

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
UX WTEC Engineer |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



New mail notification

1999-06-01 Thread John R Sheets

What's involved with setting up new mail notification?  Here's
what I have in my .muttrc:

 set mail_check=10
 mailboxes ! `echo $HOME/Mail/*`

It doesn't seem to notice new mail in my spoolfile.  If I'm
inside the spoolfile, the new mail shows up when I hit a key.  Is
it possible to get it to show up without hitting the keyboard? 
If it's checking every 10 seconds, can't it update the screen
automatically?

However, if I'm in some other mailbox, I have to manually go to
the spoolfile to see if I have mail.  What's the point of mail
notification if you have to check manually?  (c:  Am I missing
something?

Thanks,
John

P.S.--I'm not using POP mail or fetchmail.



Re: New mail notification

1999-06-01 Thread David DeSimone

John R Sheets [EMAIL PROTECTED] wrote:

 It doesn't seem to notice new mail in my spoolfile.  If I'm
 inside the spoolfile, the new mail shows up when I hit a key.  Is
 it possible to get it to show up without hitting the keyboard? 

There is a setting called "timeout" that tells Mutt how long to wait
for input, and if that timeout expires, Mutt will do its new-mail check.

So there is "mail_check" that tells Mutt how often it should scan all
your folders while you're hitting keys (you wouldn't want it to look
EVERY time you hit a key), and then there is "timeout" that tells Mutt
how often it should give up waiting for you to hit a key, so that it
can scan for more mail.

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
Convex Division  |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Re: new mail notification for IMAP folders..

1999-01-17 Thread Brendan Cully

On Thursday, 18 November 1999 at 16:42, John P . Looney wrote:
  I'm using 1.1.1, with an IMAP server. I've noticed that the "new mail"
 notification isn't 100%. 
 
  By "new mail", I mean the messages on the bottom line, and the fact that
 when I want to change folder, it offers a folder with new mail as a
 default. This works excellently for mbox mail. On IMAP, it works sometimes.
 I'm not really sure when it works, and when it doesn't. It just seems that
 on the folder browsing screens (which rock!), it rarely has an 'N' to
 denote a folder with new/unread mail.

Does it ever? I don't remember adding any support for 'N' in the
browser :) I don't think it's supported - I can put that into the TODO
(forgot about that feature actually). But the notification on the
command line and when you cycle through your folders with ' ' when you
press 'c' should be pretty solid.

Note mutt only polls folders you've given to the 'mailboxes' command
in the .muttrc.

-- 
Brendan Cully [EMAIL PROTECTED] | OLD SKOOL ROOLZ
"I'll level with you:  |  .-_|\ 
 Please let me on your show, I'd   | / \
 Like a day off school"| Perth -*.--._/