Re: Folder format questions

2000-09-19 Thread Bruce DeVisser

On Mon, Sep 18, 2000 at 05:40:43PM -0400, David T-G wrote:
 ...and then Anthony Liu said...
[snip]
 %  
 %  I have a few questions below:
 %  
 %  1) I have 
 %  set folder_format="%N %30s %f"
 %  but I can't see the "N" indicator in the folder index even though
 %  some of the mailboxes has new mail (it is always blank). Why?
 
 If your folder_format is correct, then you probably have the common
 problem of some other utility (biff, your shell, or anything else
 that checks for new mail) updating the access time of the mailbox,
 which is the only way that mutt checks to see that new mail has
 arrived (mod time later than acc time).  The only solution is to
 figure out what's doing it and make it stop.

I have the same problem Anthony describes. There is clearly new mail
(checked via ls -l ; ls -lc ; ls -lu), but mutt is not picking up on
it for some reason.

Version is Mutt 1.2.5i (2000-07-28)
folder_format="%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f" (the default)

-- 
- Bruce



Re: multiple domains

2000-09-19 Thread Michael Tatge

Ron Forrester muttered:
 
 So, I found the very useful 'alternates' setting which lets me see
 email as to me for all of my addresses.
 
 What I would like to do now, is tell mutt, on reply, to derive the
 "From" header from the "To" header, i.e. if the message is to
 "[EMAIL PROTECTED]", on reply it should be from "[EMAIL PROTECTED]"
 -- instead it makes it from "[EMAIL PROTECTED]", of course, because I
 have to have 'hostname=skyhackers.org' for it to work at all.

set reverse_name


HTH,

Michael
-- 
My sister opened a computer store in Hawaii.  She sells C shells down 
by the seashore.

PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65  40FA 5967 ACA1 0B57 7C13



imap and maildir ...

2000-09-19 Thread primus

Tue Sep 19 11:50:55 BST 2000

Greetings.  Is there any special that needs to be
done to be able to read a remote maildir folder
using imap?   If I choose {host}maildir or
{host}maildir/cur I get the message:
{host}choice is not a selectable mailbox.

Any help would be appreciated.

--
-primus




Re: imap and maildir ...

2000-09-19 Thread Chris Green

On Tue, Sep 19, 2000 at 11:53:47AM +0100, primus wrote:
 Tue Sep 19 11:50:55 BST 2000
 
 Greetings.  Is there any special that needs to be
 done to be able to read a remote maildir folder
 using imap?   If I choose {host}maildir or
 {host}maildir/cur I get the message:
   {host}choice is not a selectable mailbox.
 
When reading remote IMAP mailboxes you don't know what format they're
actually stored in - that's hidden by the IMAP server. You should
just ask to open "{host}name" where 'name' is the name that the IMAP
server presents as the name of the mailbox (or folder).  Whether this
name is the actual name of a file/directory on the system where the
IMAP server is running as also down to the way the IMAP server is
implemented.

-- 
Chris Green ([EMAIL PROTECTED])



Re: Folder format questions

2000-09-19 Thread Mikko Hänninen

Bruce DeVisser [EMAIL PROTECTED] wrote on Tue, 19 Sep 2000:
 I have the same problem Anthony describes. There is clearly new mail
 (checked via ls -l ; ls -lc ; ls -lu), but mutt is not picking up on
 it for some reason.

That's interesting.  Is NFS involved?  And this *is* with mbox style
folders, right?  (That's the only folder type where the timestamp is
relevant. Well, MMDF too I guess.)


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 /
We now return to your regularly scheduled flame-throwing.



mail arriving while mutt is on

2000-09-19 Thread Dave Morse

Often, while using mutt, new mail arrives in my spool file.  How do I make
mutt go get it without quitting and restarting?

Thanks,
Dave




Re: mail arriving while mutt is on

2000-09-19 Thread Suresh Ramasubramanian

Dave Morse proclaimed on mutt-users that: 

 Often, while using mutt, new mail arrives in my spool file.  How do I make
 mutt go get it without quitting and restarting?

$ - Sync Mailbox.

hth hand
+suresh

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
Question authority.



Re: mail arriving while mutt is on

2000-09-19 Thread Ron Forrester

On Tue, Sep 19, 2000 at 09:30:11AM -0700, Dave Morse wrote:
 Often, while using mutt, new mail arrives in my spool file.  How do I make
 mutt go get it without quitting and restarting?

By default, '$' is bound to this function..

rjf



Re: mail arriving while mutt is on

2000-09-19 Thread Alan

On Tue, Sep 19, 2000 at 10:31:13PM +0530, Suresh Ramasubramanian wrote:
 Dave Morse proclaimed on mutt-users that: 
 
  Often, while using mutt, new mail arrives in my spool file.  How do I make
  mutt go get it without quitting and restarting?
 
 $ - Sync Mailbox.

Or hit TAB if you have no other new mail.. that works for me to for a
spool-recheck.

--
Arcterex   -=|=-   [EMAIL PROTECTED]   -=|=-   http://arcterex.net
'... I was worried they were going to say "you don't have enough LSD in your
system to do UNIX programming."'   -- Paul Tomblin in a.s.r
"You are now on a WORKING UPS" -- tech support at the server farm



Re: mail arriving while mutt is on

2000-09-19 Thread Mikko Hänninen

Dave Morse [EMAIL PROTECTED] wrote on Tue, 19 Sep 2000:
 Often, while using mutt, new mail arrives in my spool file.  How do I make
 mutt go get it without quitting and restarting?

Others have told you about the sync-mailbox command, but if you're
actually looking for how to change back to your spool folder, the
Mutt folder shortcut for that is "!".  Ie. just use c to change-folder,
and enter ! as the folder name.


Hope this helps,
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 /
"Why don't you pick a fight with someone your own size?"  (Dragonheart)



Re: Folder format questions

2000-09-19 Thread David T-G

Anthony --

...and then Anthony Liu said...
% On Mon, Sep 18, 2000 at 05:40:43PM -0400, David T-G wrote:
% 
%  %  but I can't see the "N" indicator in the folder index even though some
%  %  of the mailboxes has new mail (it is always blank). Why?
%  
%  If your folder_format is correct, then you probably have the common
%  problem of some other utility (biff, your shell, or anything else that
...
% 
% Yes, I did a little test: I switched off my biff (which is WMMail for

Yep...


% WindowMaker).  Then I wait for new mail (tail -f /var/log/maillog).

Hmmm...  As long as you're watching the sendmail program log rather than
your actual mailbox, you should be fine.


% When new mails came, I re-open mutt and folder index show still didnt
% show the N indicator. BTW, in the pager index, it does shows up the
% message "new mail in this folder".

Yep; that makes sense.  When mutt has the folder open, it compares its
working copy with the real thing.


% 
% Now suddenly I am thinking this may have something to do with the
% mount option I use.  In this partition where the mailboxes are, I
% have the "noatime" option in fstab.  I wonder...

Aha!  Yes, that would almost certainly do it.  Try remounting and see if
things start working all of a sudden (perhaps without WMMail checking,
though).


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: Folder format questions

2000-09-19 Thread Peter Jaques
 msg.pgp


Re: Folder format questions

2000-09-19 Thread Bruce DeVisser

On Tue, Sep 19, 2000 at 02:44:05PM +0300, Mikko Hänninen wrote:
 Bruce DeVisser [EMAIL PROTECTED] wrote on Tue, 19 Sep 2000:
  I have the same problem Anthony describes. There is clearly new mail
  (checked via ls -l ; ls -lc ; ls -lu), but mutt is not picking up on
  it for some reason.
 
 That's interesting.  Is NFS involved?  And this *is* with mbox style
 folders, right?  (That's the only folder type where the timestamp is
 relevant. Well, MMDF too I guess.)

I think I see my problem. I didn't have 'mailboxes' set properly.

-- 
- Bruce



Re: Folder format questions

2000-09-19 Thread Mike McNally

I'm a new mutt user starting right in with a pretty advanced
configuration, but I've read a lot, so it's time to ask questions.

I have procmail sorting my mail into various dirs in ~/Mail.  Each
message has a name like msg.BvJC, msg.gvJC.  I had thought that setting
mbox_type=Maildir would clue mutt into the way my mail is being kept,
but it apparently doesn't.

When I start mutt it reads /var/spool/mike, which is not being used. 
What do I put in .muttrc to make mutt start up in ~/Mail/mbox (if mbox
is a reserved word, I can change that).  

Now the format problem...  So I hit c ? and it displays the contents of
~/Mail as a regular directory display (like ls -l would).  I want mutt
to display the number of msgs in ea dir and maybe how many are
read/unread in ea dir.  But instead I get a dir display.

So I arrow down and enter my default dir "mbox", and again I get the dir
format:
1   drwxr-sr-x  9  mike  mike  4096  sep 19  06:30  ../
2  -rw  1  mike  mike  27167  sep  18  18:58  msg.BvJC
..as above..  mcg.gvJC

So now I arrow down and hit return to enter the msg, kinda as if it were
a dir, and finally I get the display of the one msg.  

Summary of the main problem is: I want a mail reader not a directory
browser.  I installed mutt from a debian package.  It's 1.0.1i.  Does
the answer involve getting the new ver and using some specific compiler
options?

mike



Re: Folder format questions

2000-09-19 Thread David T-G

Peter --

...and then Peter Jaques said...
% I have the same problem with a twist: procmail sorts my mail; when i see
% the browser list of mailboxes, my "mutt" mailbox shows "N" for new mail,
% but another mbox (which also has new mail, also placed there by procmail)
% does not... very strange, no? 

Is this for new mailboxes created by procmail since you started mutt?  If
so, do you explicitly list all mailboxes in your muttrc or do you take
shortcuts like

  mailboxes $MAIL `echo $HOME/Mail/F.*`

which will miss mailboxes not yet created when mutt starts?


% 
% peter


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Recipient in hdr_format?

2000-09-19 Thread DuCharme, Robert

I don't see anything under "Format String" in the manual to put a message's
recipient in the hdr_format string. Because I like to keep both the messages
that I received and messages I sent about project foo in the foo mailbox, I
want to see both the author and recipient's name, in case I'm the author. Is
there a way to do this? 

thanks,

Bob DuCharme  www.snee.com/bob   bob@  
snee.com  "The elements be kind to thee, and make thy
spirits all of comfort!" Anthony and Cleopatra, III ii

P.S. I'm new to Mutt, and it rocks. 



Re: Folder format questions

2000-09-19 Thread David T-G

Mike --

...and then Mike McNally said...
% I'm a new mutt user starting right in with a pretty advanced
% configuration, but I've read a lot, so it's time to ask questions.

Welcome!


% 
% I have procmail sorting my mail into various dirs in ~/Mail.  Each

Yep...  Are you dropping things into your procmail folders by specifying
a trailing '/' like

  :0
  * condition
  somebox/

to let procmail know that it's a maildir?


% message has a name like msg.BvJC, msg.gvJC.  I had thought that setting
% mbox_type=Maildir would clue mutt into the way my mail is being kept,
% but it apparently doesn't.

All that does is tell mutt how new folders should be created; the default
is mbox, but you can specify any kind.  Mutt will, however, read folders
of all 4 types (mbox, mh, mmdf, maildir) without any muttrc settings.


% 
% When I start mutt it reads /var/spool/mike, which is not being used. 
% What do I put in .muttrc to make mutt start up in ~/Mail/mbox (if mbox
% is a reserved word, I can change that).  

You can either recompile and specify --with-homespool at ./configure time
or (I believe) set $spoolfile in your muttrc.


% 
% Now the format problem...  So I hit c ? and it displays the contents of
% ~/Mail as a regular directory display (like ls -l would).  I want mutt
% to display the number of msgs in ea dir and maybe how many are
% read/unread in ea dir.  But instead I get a dir display.
% 
% So I arrow down and enter my default dir "mbox", and again I get the dir
% format:
% 1   drwxr-sr-x  9  mike  mike  4096  sep 19  06:30  ../
% 2  -rw  1  mike  mike  27167  sep  18  18:58  msg.BvJC
% ..as above..  mcg.gvJC

I don't know what format this is, but it isn't maildir...  IIRC, a
maildir is a directory of some name (like MuttBox or Debian or whatever)
containing three subdirs cur, tmp, new where the mail files themselves
sit.  Mutt doesn't know what to do with these; it's just a directory
containing a bunch of files with funny names.


% 
% So now I arrow down and hit return to enter the msg, kinda as if it were
% a dir, and finally I get the display of the one msg.  

Sure; it's probably stored in mbox format.


% 
% Summary of the main problem is: I want a mail reader not a directory
% browser.  I installed mutt from a debian package.  It's 1.0.1i.  Does
% the answer involve getting the new ver and using some specific compiler
% options?

All of this doesn't have to do with mutt; it sounds like procmail isn't
creating maildirs properly.  To see how one should look, leave in your
mbox_type command, open any one of these files, and save it to a new
mailbox like =TestNewMaildir and then see how the dir structure looks.


% 
% mike


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: Folder format questions

2000-09-19 Thread Michael Tatge

Mike McNally muttered:

 I'm a new mutt user starting right in with a pretty advanced
 configuration, but I've read a lot, so it's time to ask questions.

Welcome!

 I have procmail sorting my mail into various dirs in ~/Mail.  Each
 message has a name like msg.BvJC, msg.gvJC.  I had thought that setting
 mbox_type=Maildir would clue mutt into the way my mail is being kept,
 but it apparently doesn't.

Mutt should be able to determine the format automaticly. If it doesn't
do this correctly, your dirs are probably no correct Maildirs. The
$mbox_type variable is only used when mutt itself writes out messages
to a new folder, i.e. when you save to a new folder $mbox_type controls
whether that folder will be a Maildir or mbox, ...

Most likely something is wrong with your procmail setup. Only the
newest version (3.14) does support Maildir.

:0
* ^From:.*[EMAIL PROTECTED]
foo/
   ^ Note the slash at the end. This tells procmail that the
destination is a Maildir.

 When I start mutt it reads /var/spool/mike, which is not being used. 
 What do I put in .muttrc to make mutt start up in ~/Mail/mbox (if mbox
 is a reserved word, I can change that).  

Set your shells $MAIL variable appropriately or set
spoolfile=~/Mail/mbox in your muttrc.

 Now the format problem...  So I hit c ? and it displays the contents of 
 ~/Mail as a regular directory display (like ls -l would).  I want mutt
 to display the number of msgs in ea dir and maybe how many are
 read/unread in ea dir.  But instead I get a dir display.
 
 So I arrow down and enter my default dir "mbox", and again I get the dir
 format:
 1   drwxr-sr-x  9  mike  mike  4096  sep 19  06:30  ../
 2  -rw  1  mike  mike  27167  sep  18  18:58  msg.BvJC
 ..as above..  mcg.gvJC
 
 So now I arrow down and hit return to enter the msg, kinda as if it were
 a dir, and finally I get the display of the one msg.

My guess is that this is related to your procmail problem. See above.
Maybe you left that out, but a Maildir contains three dirs cur/, new/
and tmp/. If your ~/Mail/mbox dir does not have these dirs it's
definitely _no_ Maildir.

 Summary of the main problem is: I want a mail reader not a directory
 browser.  I installed mutt from a debian package.  It's 1.0.1i.  Does
 the answer involve getting the new ver and using some specific compiler
 options?


1.0.1 is quite old. Upgrading could solve some of your probs anyway. 
I don't know about any debian specials but getting the newest stable
tarball (1.2.5) from ftp://mutt.org and a normal ./configure; make;
make install should be enough for most systems.

HTH,

Michael
-- 
Yes, we will be going to OSI, Mars, and Pluto, but not necessarily in
that order.
-- Jeffrey Honig

PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65  40FA 5967 ACA1 0B57 7C13



Re: send-hooks

2000-09-19 Thread Mikko Hänninen

Darren West [EMAIL PROTECTED] wrote on Tue, 19 Sep 2000:
 If I invoke mail(compose) from within mutt via keybind 'm' in a folder
 though, it always pops into the default profile..since the send-hook is
 dependant on the "To" info.
 It would be great if it first prompted for "To" info, then created the
 header appropriately.  Perhaps this feature can be included in a future
 version.

That's how it works for me, even for new messages.

Maybe you have $autoedit set?  Refer to the manual for more info.


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 /
Bumper sticker: No radio - Already stolen.



Re: Recipient in hdr_format?

2000-09-19 Thread Mikko Hänninen

DuCharme, Robert [EMAIL PROTECTED] wrote on Tue, 19 Sep 2000:
 I don't see anything under "Format String" in the manual to put a message's
 recipient in the hdr_format string. Because I like to keep both the messages
 that I received and messages I sent about project foo in the foo mailbox, I
 want to see both the author and recipient's name, in case I'm the author. Is
 there a way to do this? 

Sure, %t is "To:" header's contents.  However if you set up your
$alternates correctly, you should only need to use the %F or the default
%L format token, since Mutt should automatically notice when a message
is from you and display the recipient instead.  So if you use either %F
or %L and have $alternates correct, you don't need to have a specific
setting for your sent-mail folder.

BTW, the preferred name $index_format, not $hdr_format anymore.  The
latter works for now but may not work in the future.  Although since
you don't mention your Mutt version, maybe you're using an old version
that hasn't got $index_format yet.


I hope this helps,
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 trouble with political jokes is that they get elected."



Odd appearance of text attachment

2000-09-19 Thread Paul Makepeace

Hi,

I'm curious why Mutt would set the Content-Disposition: attachment for a
text/plain message, replying to a text/plain message. Here's the relevant
headers from the outgoing message as saved by Mutt in my Sent folder:

Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment
User-Agent: Mutt/1.2.5i

in reply to someone else's,

Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

(No content-disposition specified)

Oddly, when I replied again to this message but edited the To: and Cc:
To: myself it came back to me as inline.

Paul