Re: Speed of opening Maildirs (was: Re: move messages at will?)

2001-08-22 Thread Thomas Roessler

On 2001-08-21 23:02:13 +0200, Alexander Skwar wrote:

While on the topic of Maildir.  I also just recently checked out 
Maildir support in mutt 1.3.19i again.  And, well, I'm not at all 
impressed :( To test, I've converted a 50 MB mbox with ~5000 
messages to Maildir. Opening the mbox in mutt took about 9 
seconds.  Opening the Maildir took close to 31 (!) seconds!

Why is it taking mutt so *EXTREMELY* long to open large Maildirs?  I
also checked out Evolution, and Evo only took something close to 10
seconds to open the Maildir - but in Evolution it takes ages to sync
mbox'es...  But that's OT here.

Did you do the mutt test several times, so kernel caches could kick 
in?

-- 
Thomas Roesslerhttp://log.does-not-exist.org/





Hide folder internal data message?

2001-08-22 Thread Daniel Åborg

Hi!

I've been using mutt for a long time now, and I think it's a great
client.

Today I tried to find a way to hide that annoying FOLDER INTERNAL DATA
message which sits in my mailbox when I use pop on it. However, having
looked around for a while, I still had no idea.

So I figured I should ask on the mailinglist: How would I go about to
hide the FOLDER INTERNAL DATA message in mutt?

Thanks!

/Daniel

-- 
Daniel Åborg  [EMAIL PROTECTED]



Re: Hide folder internal data message?

2001-08-22 Thread Will Yardley

Daniel ?borg wrote:
 So I figured I should ask on the mailinglist: How would I go about to
 hide the FOLDER INTERNAL DATA message in mutt?

mutt doesn't create this.  uw imapd and pine both do, so my guess is
that you're using one of these.  if you're using pine (which doesn't
really make sense sinec you said you use mutt) the answer is simple -
choose the 'quell-folder-internal-message' option.  however i'm not sure
if there's a way to get rid of it with uw imapd.

if you're not using either, i'm at a loss as to how the message is
getting created. i highly doubt it's coming from mutt though.

w
 
-- 
Sintax error in config file! (line 378)
aborted!

PGP Public Key:
http://infinitejazz.net/will/pgp/



Re: Speed of opening Maildirs (was: Re: move messages at will?)

2001-08-22 Thread Alexander Skwar

So sprach »Thomas Roessler« am 2001-08-22 um 10:23:05 +0200 :
 Did you do the mutt test several times, so kernel caches could kick 
 in?

No, I did not.  But in Evolution it's also very fast the very first time
a Maildir is opened.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 6 hours 36 minutes



Re: Speed of opening Maildirs (was: Re: move messages at will?)

2001-08-22 Thread Thomas Roessler

On 2001-08-22 13:50:42 +0200, Alexander Skwar wrote:

No, I did not.  But in Evolution it's also very fast the very 
first time a Maildir is opened.

Right after you read it with mutt?  I'm not talking about mutt 
caches, but about operating system caches.

Please perform the timing experiment with both mutt and Evolution 
several times, without doing much in between.

-- 
Thomas Roesslerhttp://log.does-not-exist.org/



Re: Hide folder internal data message?

2001-08-22 Thread Daniel Åborg

* On 22 Aug 2001 13:22 CEST, Will Yardley [EMAIL PROTECTED] wrote:
 Daniel ?borg wrote:
  So I figured I should ask on the mailinglist: How would I go about to
  hide the FOLDER INTERNAL DATA message in mutt?
 
 mutt doesn't create this.  uw imapd and pine both do, so my guess is
 that you're using one of these.  if you're using pine (which doesn't
 really make sense sinec you said you use mutt) the answer is simple -
 choose the 'quell-folder-internal-message' option.  however i'm not sure
 if there's a way to get rid of it with uw imapd.
 
 if you're not using either, i'm at a loss as to how the message is
 getting created. i highly doubt it's coming from mutt though.

Thanks for the reply.

It's not mutt which creates the message, it's fetchmail. I want the
message to be there and mutt /not to show/ the file when it reads the
mailbox.  :-)

/Daniel

-- 
Daniel Åborg  [EMAIL PROTECTED]



Re: Hide folder internal data message?

2001-08-22 Thread Suresh Ramasubramanian

Daniel Åborg mutt [22/08/01 14:18 +0200]:
 Thanks for the reply.
 It's not mutt which creates the message, it's fetchmail. I want the

Fetchmail won't create the file by itself.  Likely, wherever you are popping
your mail from uses ipop3d / uw-imapd.

 message to be there and mutt /not to show/ the file when it reads the
 mailbox.  :-)

folder-hook . push \l!(~s 'FOLDER INTERNAL DATA')\n*\

-suresh



Re: Speed of opening Maildirs (was: Re: move messages at will?)

2001-08-22 Thread Alexander Skwar

So sprach »Thomas Roessler« am 2001-08-22 um 14:04:14 +0200 :
 Please perform the timing experiment with both mutt and Evolution 
 several times, without doing much in between.

Timing sheet:

Mailer| Action  | Time
--+-+--
mutt  | Open mbox - 1st run | 55 seconds
mutt  | Open mbox - 2nd run | 22 seconds
mutt  | Open MDir - 1st run | n/a
mutt  | Open MDir - 2nd run | 3 minutes 40 seconds
--+-+--
Evolution | Open mbox - 1st run | 40 seconds
Evolution | Open mbox - 2nd run | 10 seconds
Evolution | Open MDir - 1st run | about 5 minutes
Evolution | Open MDir - 2nd run | 15 seconds

Explanations:

Okay, I now converted an even larger mail spool to Maildir.  This one is
about 154M and has 33271 messages in it.

Opening the Maildir takes about 3 minutes 40 seconds.  This is, after I
had opened it already several times.  Also, when I close mutt, it takes
another 20 seconds for mutt to exit.  On the bottom of the screen, mutt
writes: Mailbox unverändert. (Mailbox unchanged (?)).

Opening the mbox file (which I had converted to the above Maildir with
mutt), takes close to 55 seconds the first time I open the mbox (ie.,
when the mbox is not cached by the system) and only 22 seconds
afterwards.  Also quiting mutt is WAY faster.  Only a delay of 1 or 2
seconds.

Also the load when opening the Maildir is WAY higher compared to the
mbox file.  Load when opening the mbox is about 2, Maildir is about 6.
Okay, I've got setiathome running, so one may substract 1 (? right?).

On to the Evolution results.

Opening the Maildir took close to 5 minutes (the first time), but at
least the load only went up to 5 and the system also felt more
responsible.  The 2nd time it took 15 seconds (!!).  I don't know, but
judging this tremendous speedup, I suppose Evolution is keeping a
cache of somesorts which causes it not to read the whole directory.
That's just too much of a speedup, I'd say.

Now, Evolution is really bad with mbox'es.  Not so much when it comes to
comparing opening speeds, but much more so when a message is deleted
from a mbox.  This just takes ages.  So I wouldn't recommend mbox to
anyone using Evolution.  Anyhow, opening the mbox took 40 seconds.
Having a look at the mutt mbox times, I'd assume that the mbox was still
cached by the system.

Opening the mbox in a 2nd run, it took Evolution only about 10 seconds
to open it.  This really makes me believe that it somehow caches it.

Also sorting is WAY faster in Evolution than it is in mutt.  The above
times already contain the time used to sorting the spool.  Resorting it
(eg. changing from Subject to Sender) takes no time (1 second).
Enabling threaded mode also takes no time.

In mutt, changing from the default date/date sort to subject/date takes,
uhm, 1 second.  But enabling threads (thread/date) takes MUCH longer, to
be exact, it took about 2 minutes 30 seconds.

The Evolution times stay somewhat constant even after I did some
things.  I *really* get the impression that it caches it somehow.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 9 hours 10 minutes



Re: Hide folder internal data message?

2001-08-22 Thread Daniel Åborg

* On 22 Aug 2001 15:52 CEST, Suresh Ramasubramanian [EMAIL PROTECTED] wrote:
 Daniel Åborg mutt [22/08/01 14:18 +0200]:
  Thanks for the reply.
  It's not mutt which creates the message, it's fetchmail. I want the
 
 Fetchmail won't create the file by itself.  Likely, wherever you are popping
 your mail from uses ipop3d / uw-imapd.
 
  message to be there and mutt /not to show/ the file when it reads the
  mailbox.  :-)

Ah yes, thinking about it that does sound a lot more likely.  :-)

 
 folder-hook . push \l!(~s 'FOLDER INTERNAL DATA')\n*\

Very very clever. I've never used those commands before, especially
not in combination. Never occured to me, I just assumed there would be
some configuration command which did the same thing as 'l' does. I bet
you can do all sorts of clever stuff with push in combination with
folder-hooks. I replaced the . with !, since it only appears in the
spool. Like the * at the end, didn't know about that either. Nice
finishing touch.

Thanks lots!

/Daniel

-- 
Daniel Åborg  [EMAIL PROTECTED]



auto_delete

2001-08-22 Thread Azzazel

Hi,

How can I set mutt to automaticly delete everything after -- 
[dash dash space]. It's very usefull when replying a message to
yahoogroups (their adds are automaticly removed).

-- 
We don't need no education, 
We don't need no thought control;
Hey, teacher, leave the kids alone, 
All in ill, you're just ANOTHER BRICK IN THE WALL



GPG / PGP verification problem

2001-08-22 Thread Ailbhe Leamy

So.

When I receive a gpg-signed and -encrypted mail, and gpg gives me the 
result . . .

[-- PGP output follows (current time: Wed 22 Aug 2001 18:53:27 BST) --] 
gpg: encrypted with 1536-bit ELG-E key, ID D289D3A4, created 1999-11-25 
  Person One [EMAIL PROTECTED] 
gpg: encrypted with 1024-bit ELG-E key, ID 01BD4B5E, created 2001-08-22 
  Ailbhe Leamy [EMAIL PROTECTED] 
gpg: Signature made Wed 22 Aug 2001 18:35:52 BST using DSA key ID 5863F769 
gpg: Good signature from Person One [EMAIL PROTECTED]
gpg: aka Person One [EMAIL PROTECTED]
[-- End of PGP output --]

. . . mutt tells me, just below the status bar, that
PGP signature could NOT be verified.

Although it has, in fact, been verified.

Is this a wetware error, or a Real Bug?

Ailbhe

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



Re: auto_delete

2001-08-22 Thread Jean-Sebastien Morisset

On Wed, Aug 22, 2001 at 07:56:34PM +0200, Azzazel wrote:
 Hi,
 
 How can I set mutt to automaticly delete everything after -- 
 [dash dash space]. It's very usefull when replying a message to
 yahoogroups (their adds are automaticly removed).

I wrote a little script (attached) called mutt-vim which does this for me,
along with setting various other vim options (you'll want to change
those). You'll have to set editor=mutt-vim in order to call the script,
of course. :-)

LateR!
js.
-- 
Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED]
Personal Homepage http://jsmoriss.mvlan.net/; UNIX, Internet, 
Homebrewing, Cigars, PCS, PalmOS, CP2020 and other Fun Stuff...
This is Linux Country. On a quiet night you can hear Windows NT reboot!


#!/bin/sh

clear
umask 077

Vim () {
vim +set nonu +set wm=6 +set ai +set ts=8 $*
}

# strip signatures
if [ -x `which gawk 2/dev/null` -a -s $1 ]
then
gawk '{ 
if ($0 ~ /^ --( ?|--*)$/) { 
while ($0 !~ /^( |)$/) { getline }
}
print $0  OUTFILE
}' OUTFILE=$1.out $1
mv $1.out $1
fi

case $LOGNAME in
root|jsmoriss)
case $SSH_CLIENT in
10.1.1.120 *) stty cols 80; Vim $*; stty cols 132 ;;
38.144.*) stty cols 80; Vim $*; stty cols 132 ;;
64.*) stty cols 80; Vim $*; stty cols 132 ;;
*)  Vim $* ;;
esac
;;
*)  Vim $* ;;
esac


 PGP signature


Address Book

2001-08-22 Thread steve

Hello,

I'm a recent convert from pine. One thing I can't find any documentation
on so far,[I've read the man page for mutt and the web FAQ so far] is
how to use an address book with mutt. Otherwise everything is fine in
respect to this great mua.

Could someone please point me in the right direction for information.

Thank-you. In the meantime I'll keep looking.

-- 
Steve - Toronto ICQ 35454764
  
  /~\
'If you're not a rebel when you're 20 you've got no heart; if \ /
 you're not establishment when you're 30 you've got no brain.  X
 Join the ASCII ribbon campaign against HTML email/ \




Re: Address Book

2001-08-22 Thread Suresh Ramasubramanian

steve mutt [22/08/01 15:25 -0400]:
 I'm a recent convert from pine. One thing I can't find any documentation
 on so far,[I've read the man page for mutt and the web FAQ so far] is
 how to use an address book with mutt. Otherwise everything is fine in
 respect to this great mua.
 
 http://abook.sourceforge.net

-suresh



Re: Address Book

2001-08-22 Thread Michael Sanders

On Thu, Aug 23, 2001 at 01:05:15AM +0530, Suresh Ramasubramanian wrote:
 steve mutt [22/08/01 15:25 -0400]:
  I'm a recent convert from pine. One thing I can't find any documentation
  on so far,[I've read the man page for mutt and the web FAQ so far] is
  how to use an address book with mutt.
  
  http://abook.sourceforge.net
 
If you just want to convert a pine addressbook to a mutt alias file,
look in ftp://ftp.mutt.org/pub/mutt/contrib/ for addressbook-to-alias.pl.gz

-- 
(T.) Michael Sanders internet: [EMAIL PROTECTED]
Physics Department   URL: http://www-personal.umich.edu/~sanders
University of Michigan   phone: 734/936-0799
Ann Arbor, MI 48109-1120 FAX: 734/764-6843



Re: Address Book

2001-08-22 Thread steve

On Thu, Aug 23, 2001 at 01:05:15AM +0530, Suresh Ramasubramanian wrote:
 steve mutt [22/08/01 15:25 -0400]:
  I'm a recent convert from pine. One thing I can't find any documentation
  on so far,[I've read the man page for mutt and the web FAQ so far] is
  how to use an address book with mutt. Otherwise everything is fine in
  respect to this great mua.
  
  http://abook.sourceforge.net
 
   -suresh

Thanks to all 3 of you for the concise and rapid responses.

I'm looking @ abook.

-- 
Steve - Toronto ICQ 35454764
  
  /~\
'If you're not a rebel when you're 20 you've got no heart; if \ /
 you're not establishment when you're 30 you've got no brain.  X
 Join the ASCII ribbon campaign against HTML email/ \




selective message deletion

2001-08-22 Thread Brian McNeill

Dear Friends,
Being a new user of mutt to pick up mail from my isp's POP server, I'm
wondering if mutt can be configured to leave read messages on the POP
machine while deleting those mostly spam pieces one deletes without even
opening.  This was feature of elm I liked, but because of a
configuration change on the jtan system, it's easiest for me to use mutt
and the POP server.
Best,
Brian
--
Brian McNeill  Advertising  Corporate Photography
phone 215.368.3326
1511 Cowpath Road, Hatfield, PA  19440





Re: selective message deletion

2001-08-22 Thread Suresh Ramasubramanian

Brian McNeill mutt [22/08/01 17:07 -0400]:
 Being a new user of mutt to pick up mail from my isp's POP server, I'm
 wondering if mutt can be configured to leave read messages on the POP
 machine while deleting those mostly spam pieces one deletes without even

Use fetchmail for this.  http://www.tuxedo.org/~esr/fetchmail

-suresh



Re: selective message deletion

2001-08-22 Thread Sam Roberts

Sure, just browse the pop server, do:
  c change mailbox
pop://pop.example.com

Use the normal commands to delete, save to a different mailbox, etc.

Sam

Quoting Brian McNeill [EMAIL PROTECTED], who wrote:
 Dear Friends,
 Being a new user of mutt to pick up mail from my isp's POP server, I'm
 wondering if mutt can be configured to leave read messages on the POP
 machine while deleting those mostly spam pieces one deletes without even
 opening.  This was feature of elm I liked, but because of a
 configuration change on the jtan system, it's easiest for me to use mutt
 and the POP server.
 Best,
 Brian
 --
 Brian McNeill  Advertising  Corporate Photography
 phone 215.368.3326
 1511 Cowpath Road, Hatfield, PA  19440
 
 

-- 
Sam Roberts [EMAIL PROTECTED]



Re: selective message deletion

2001-08-22 Thread Charles Cazabon

Suresh Ramasubramanian [EMAIL PROTECTED] wrote:
 Brian McNeill mutt [22/08/01 17:07 -0400]:
  Being a new user of mutt to pick up mail from my isp's POP server, I'm
  wondering if mutt can be configured to leave read messages on the POP
  machine while deleting those mostly spam pieces one deletes without even
 
 Use fetchmail for this.  http://www.tuxedo.org/~esr/fetchmail

Or getmail at the link in my .sig.

Charles
-- 
---
Charles Cazabon [EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: GPG / PGP verification problem

2001-08-22 Thread Justin R. Miller

Thus spake Ailbhe Leamy ([EMAIL PROTECTED]):

 . . . mutt tells me, just below the status bar, that
 PGP signature could NOT be verified.
 
 Although it has, in fact, been verified.
 
 Is this a wetware error, or a Real Bug?

If you're using 1.3.18 as your mail headers say, then I'd recommend you
try 1.3.20 or 1.3.21, it seems to have fixed misc. things like this.  

-Justin
-- 
[ ] -- Justin R. Miller - [EMAIL PROTECTED] -- [ ]
[ ] -- see full headers for PGP key information -- [ ]
[ ] -- http://solidlinux.com/~justin/pubkey.asc -- [ ]

 PGP signature


Re: Address Book

2001-08-22 Thread dannyman

On Wed, Aug 22, 2001 at 05:43:14PM -0400, steve wrote:
 On Thu, Aug 23, 2001 at 01:05:15AM +0530, Suresh Ramasubramanian wrote:
   
   http://abook.sourceforge.net
  
  -suresh
 
 Thanks to all 3 of you for the concise and rapid responses.
 
 I'm looking @ abook.

So, what is the point of abook?  To query non-mutt address books from
mutt?  It looks like if I was silly enough to want to manage my .aliases
file with it, I would have to convert .aliases to abook format, then run
abook, then convert back to mutt .aliases.

Or am I missing something?

-d

-- 
http://dannyman.toldme.com/



abook

2001-08-22 Thread Will Yardley

is there a way to add email addresses / names to abook instead of using
the 'alias' command in mutt?  i have mutt setup to query abook which
works pretty well but it would be nice to be able to add addresses to
abook as well.  a quick web search didn't turn up anything...

w

-- 
Sintax error in config file! (line 378)
aborted!

PGP Public Key:
http://infinitejazz.net/will/pgp/