Maildir 'c'

2001-05-03 Thread Mike E

Hi, I'm playing with mutt+Maildir and I can't find an answer to this:

When changing folders in maildir, how do you select the *directory* (eg.
cur/) rather than opening it while in the 'c' folder-selection mode?
Even using c =cur/ (w/ or w/o the '/') reports that /path/to/cur/ isnt'
a mailbox. All the respective variables (mbox_type, folder, spoolfile)
are set correctly afaict.

Mike




Re: Maildir 'c'

2001-05-03 Thread Mike E

* Frank Derichsweiler ([EMAIL PROTECTED]) wrote:
 On Thu, May 03, 2001 at 02:59:07AM -0700, Mike E wrote:
  
  When changing folders in maildir, how do you select the *directory* (eg.
  cur/) rather than opening it while in the 'c' folder-selection mode?
 
 IMHO a Maildir-formatted mailbox is a directory d which contains cur, new
 and tmp subdirectories. You just change to d (using the c key press)
 and mutt detects that it is a maildir mailbox.

OK, so a multiple-boxed maildir setup would look like

~/mail/maildir/new/
   cur/
   tmp/
 list1/new/
   cur/
   tmp/
 list2/new/
   cur/
   tmp/

and so on?

and then you would 'c' and choose between 'maildir', 'list1' and 'list2'
as mailboxes.

Once I figure this all out I'm going to write up a page -- this topic
(using Maildir w/ mutt) is in need of more documentation.

Thanks for the reply,
Mike



Re: What would be really *really* nice......

2001-01-30 Thread Mike E

* John M Dow ([EMAIL PROTECTED]) wrote:
 On Tue, Jan 30, 2001 at 12:12:36PM -0500, Rich Lafferty a ecrit: 
  On Tue, Jan 30, 2001 at 12:03:34PM -0500, Renata ([EMAIL PROTECTED]) wrote:
   
   The option to see date  time is really useful, but I notice that it
   only refreshes the time when you perform an action within the
   message. Is there any way to get around that?
  
  You could wear a watch. :-)
 
 Bah! I'd need to grow a third eye - one eye on tin, one on mutt, and one to 
 see whether it's knocking off time :)

What are you doing using tin? slrn!

mutt and slrn were a match made in heaven.

Mike

-- 
"The more noise a man or a motor makes the less power there is
available." - W. R. McGeary   http://www.quidquam.com/



Re: Name Problem.

2001-01-17 Thread Mike E

* Nelson Guerrero ([EMAIL PROTECTED]) wrote:
 * On Wed Jan 17 2001, Scott A. McIntyre screamed:
 - 
 -  Hi, I've been wanting to ask, why would "Nelson D. Guerrero" turn to
 -  "Nelson D . Guerrero" on my mutt? I set it up in the .muttrc file to be
 -  "Nelson D. Guerrero" and every time I try to email someone it would just
 -  go back to "D ."
 - 
 - This one bothered the heck out of me for a while.  Try:
 - 
 - set realname="Nelson D. Guerrero"
 - 
 
 Scott, 
 
 I checked my config file and it appears to have that line on it.
 But when I go about and test it, it just puts the email right the way I
 don't want it.

I wasn't able to recreate this bug, so I'm not sure this will help
you. Have you tried using ' (single quotes) instead of " (double
quotes)?

Mike

-- 
"The more noise a man or a motor makes the less power there is
available." - W. R. McGeary   http://www.quidquam.com/



Re: Day-By-Day work with GnuPG

2001-01-16 Thread Mike E

* Henrique de Moraes Holschuh ([EMAIL PROTECTED]) wrote:
 On Tue, 16 Jan 2001, Kai Weber wrote:
  This is just an example. My question therefor is whether a solution for
  keeping the keyring up-to-date already exist?
 
 You need to roll your own. Attached, you'll find my script. Fell free to use
 and modify it, but be aware of possible pitfalls. It Works For Me, but there
 are no warranties it will work for you.

On a related note. How do you guys get new keys anyhow? I have
encryption/decryption working, but is there a way to have gpg/mutt
automatically fetch public keys from keyservers for you?

Mike

-- 
"The more noise a man or a motor makes the less power there is
available." - W. R. McGeary   http://www.quidquam.com/



limit-to and reverse_alias

2001-01-12 Thread Mike E

This is debatable, but I think I found a bug.

I have reverse_alias set, so email/names are mapped on incoming mail. If I do a 
'l'imit messages to, I'd like to be able to use the displayed name, but I still have 
to limit to the email addy. understand?

alias 
:r

alias foo Manchu [EMAIL PROTECTED]

in my index, I would normally see [EMAIL PROTECTED], but because of reverse_alias, I see 
"Manchu". To limit the display to this person, I have to do:

lbob

and I'd like to be able to do:

lManchu

...

sorry for the rambling post.. it's (very) late.

Mike

-- 
"The more noise a man or a motor makes the less power there is
available." - W. R. McGeary   http://www.quidquam.com/



Re: automatically move old mail?

2001-01-06 Thread Mike E

* sVennieboy ([EMAIL PROTECTED]) wrote:
 
 I was wondering if it is possible to automatically move "old" mail
 (say, older than a month) from my inbox to a different folder
 (inbox.old for example).  Pine does this, and I think it's usefull to
 prevent my HD filling up with old mail (and not having to delete every
 mail myself).

I don't know of any way to do this w/ just mutt, but you could easly
write a script to do it. Check out some of the many CPAN modules (for
perl) that allow you to do complex operations on mailspools:
http://cpan.valueclick.com/modules/by-category/19_Mail_and_Usenet_News/Mail/

Mike

-- 
Mike Erickson mee(at)quidquam.com http://www.quidquam.com/
"The more noise a man or a motor makes the less power there is
available." - W. R. McGeary



scroll padding

2000-12-22 Thread Mike E

Is there a way to have the cursor automatically stop n-lines before the
top or bottom of the screen unless you are at the beginning/end of the
index? I find myself having to constantly recenter the cursor while I'm
going through emails...

Is this already possible, or is this not possible in mutt as it stands?

Mike 3's mutt

-- 
Mike Erickson mee(at)quidquam.com http://www.quidquam.com/
"The more noise a man or a motor makes the less power there is
available." - W. R. McGeary



Re: Line length and word wrapping

2000-12-18 Thread Mike E

* Jeffrey A Schoolcraft ([EMAIL PROTECTED]) wrote:
 I have a problem with my line length and word wrapping.  I'm not sure where the 
configurations are in the muttrc but if someone could help me I would appreciate it 
(and I'm sure everyone else I write to would also).

I just changed my editor entry to:

# editor
set editor='vim "+set tw=73"'

This automatically sets a 73 column textwrap in vim, so that I no
longer have to pipe all my email paragraphs through fmt. However, I 
just noticed that if I go back and type on a line, it doesn't
automatically re-wrap the line, so it looks like I still do have to
format it through fmt. :/

anyhow...
Mike

-- 
Mike Erickson mee(at)quidquam.com http://www.quidquam.com/
"The more noise a man or a motor makes the less power there is
available." - W. R. McGeary



saved attachment's permissions

2000-12-04 Thread Mike E

Hello list,

Is there a way I can change the default permissions for saved
attachments? If so, how?

tia,
Mike



Re: N in folder list

2000-11-09 Thread Mike E

* Bruce DeVisser ([EMAIL PROTECTED]) wrote:
 On Thu, Nov 09, 2000 at 11:42:35PM +0200, Mikko Hänninen wrote:
  Mike E [EMAIL PROTECTED] wrote on Tue, 31 Oct 2000:
   I've been trying to get the new flag to work in my folder list, to
   show me which folders have new messages. For some reason, no folder
   ever gets a 'N' flag, regardless of whether or not it contains new
   messages. Shouldn't this work right out of the box? I'm using
   sendmail as my MTA, btw.
  
  Yes, this should work "out of the box".
 
 Provided 'mailboxes' is set correctly.

ah-ha! This was my problem, I got it working.

Now, is there a way to set all the files in my maildir as folders
so I don't have to update this everytime I add a new mailing list,
etc?

Keeping my .muttrc up to date is starting to be a hassle. I guess
that's what I get for being on dozens of mailing lists. :)

Thanks for the replies,
Mike

-- 
Mike Erickson mee (at) quidquam.com http://www.quidquam.com/
Be happy. It is a way of being wise.



N in folder list

2000-10-31 Thread Mike E

avete,

I've been trying to get the new flag to work in my folder list, to
show me which folders have new messages. For some reason, no folder
ever gets a 'N' flag, regardless of whether or not it contains new
messages. Shouldn't this work right out of the box? I'm using
sendmail as my MTA, btw.

Mike

-- 
Mike Erickson mee (at) quidquam.com http://www.quidquam.com/
No race can prosper till it learns there is as much dignity in
tilling a field as in writing a poem. - Booker T. Washington



more color

2000-10-26 Thread Mike E

Okay, previously I had a problem with color, and it was resolved
that I was using a version of ncurses that was too old.

On another server (OpenBSD 2.7) I've compiled mutt to test it out.
Here is my mutt -v output:

~ $ mutt -v
Mutt 1.2.4i (2000-07-07)
Copyright (C) 1996-2000 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: OpenBSD 2.7 [using ncurses 5.0]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  -USE_SETGID  -USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
-USE_IMAP  -USE_GSS  -USE_SSL  -USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  +ENABLE_NLS
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
SHAREDIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
-ISPELL
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the muttbug utility.

I have +HAVE_COLROR and ncurses 5.0. However color still isn't
working. I get no .muttrc errors on my color commands when  running
mutt, and color works in other programs (like BitchX), so I'm pretty
stumped. Anyone have any ideas?

Mike

-- 
Mike Erickson mee@quidquam http://www.quidquam.com/
"Hatred is the coward's revenge for being intimidated" - George Bernard Shaw



color

2000-10-20 Thread Mike E

I'm trying to set up color with mutt (1.2.5i) but I am getting 
"color: unknown command" errors from my muttrc. Is there some trick
that I'm missing?

Mike

-- 
Mike Ericksonmee@quidquam http://www.quidquam.com/
"Hatred is the coward's revenge for being intimidated" - George Bernard Shaw



Re: color

2000-10-20 Thread Mike E

On Fri, Oct 20, 2000 at 10:50:03PM +0800, Anthony Liu wrote:
 On Fri, Oct 20, 2000 at 02:56:30AM -0700, Mike E wrote:
  I'm trying to set up color with mutt (1.2.5i) but I am getting 
  "color: unknown command" errors from my muttrc. Is there some trick
  that I'm missing?
  
 Perhaps you should try colour instead :)
 
 Seriously, can you post a few lines before and after the color
 statement?

Here ya go: (`r!cat ~/.muttrc | grep -5 color` -- gotta love vi)

# set index format string
set index_format="%4C %Z %{%b %d} %-15.15F (%4l) %s"

# COLOR
color quoted brightblue default
color signature red green
color indicator green black
color error brightred default
color status yellow blue
color tree magenta default 
color tilde magenta default
color message brightcyan default
color markers brightcyan brightblue # Should be default  for val 2
color attachment brightmagenta default
color search default green
color header brightred default ^(From|Subject):
color body magenta default "(ftp|http)://[^ ]+" # point out URLs
color body magenta default [-a-z_0-9.]+@[-a-z_0-9.]+# e-mail addresses
color underline brightgreen default

# KEY BINDINGS
bind index j next-entry
bind index k previous-entry
bind pager j next-entry

Mike

-- 
Mike Ericksonmee@quidquam http://www.quidquam.com/
"Hatred is the coward's revenge for being intimidated" - George Bernard Shaw



Re: color

2000-10-20 Thread Mike E

On Fri, Oct 20, 2000 at 10:29:17AM -0600, Harold Oga wrote:
 On 20 Oct 2000, at 22:50, Anthony Liu wrote:
  On Fri, Oct 20, 2000 at 02:56:30AM -0700, Mike E wrote:
   I'm trying to set up color with mutt (1.2.5i) but I am getting 
   "color: unknown command" errors from my muttrc. Is there some trick
   that I'm missing?
   
  Perhaps you should try colour instead :)
  
  Seriously, can you post a few lines before and after the color
  statement?
 Hi,
Actually, it sounds like color support has been turned off.  What does 
 the output from "mutt -v" show.  Specifically, what curses lib is your mutt 
 built against and does "mutt -v" show +HAVE_COLOR or -HAVE_COLOR?

Sure enough -HAVE_COLOR is in the compile options. However, when I went
back to the source and did a ./configure --help, I didn't see any option
to include color support. How do I recompile with color support?

Thanks
Mike

-- 
Mike Ericksonmee@quidquam http://www.quidquam.com/
"Hatred is the coward's revenge for being intimidated" - George Bernard Shaw



Re: color

2000-10-20 Thread Mike E

On Fri, Oct 20, 2000 at 12:01:13PM -0500, Larry Rosenman wrote:
 Sounds like your curses lib doesn't support color.  You might try
 ncurses

here is the full output of mutt -v


Mutt 1.2.5i (2000-07-28)
Copyright (C) 1996-2000 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: FreeBSD 3.4-STABLE [using ncurses 1.8.6/ache]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
-USE_IMAP  -USE_GSS  -USE_SSL  -USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  
-HAVE_COLOR  +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  +ENABLE_NLS
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
SHAREDIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
-ISPELL
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the muttbug utility.

Mike

-- 
Mike Ericksonmee@quidquam http://www.quidquam.com/
"Hatred is the coward's revenge for being intimidated" - George Bernard Shaw



[ot] .exrc control-key mapping

2000-10-18 Thread Mike E

Hello fellow mutt-users,

I've been trying to bind ^j to `!}fmt` in vi(m) for a while now with
no sucess; anyone know how?

btw: sorry for the OT, but I figured someone on this list would know 
and I've just about exhausted my resources.

Mike

-- 
Mike Erickson mee@quidquam http://www.quidquam.com/
I don't necessarily agree with everything I say. - Marshall McLuhan