Re: Les sauvegardes.

2002-10-01 Thread Sbastien MICHEL

Le Tuesday 01 October 2002 à 09:09, Olivier Tharan a écrit:
 * Emmanuel Seyman [EMAIL PROTECTED] (20021001 02:02):
  Si c'est pour faire une regexps qui correspond a n'importe quelle
  chaîne, ca doit pas être trop compliqué. :-
  
  save-hook .+ +Archives
 
 Pourquoi . tout seul ne suffit pas ?

Ca marche aussi avec . tout seul car:
.  ~ un char quelconque.
.+ ~ un ou plusieur char quelconques.
.* ~ 0,un ou plusieur char quelconques.

pour un match tout marche pour tout prendre...

-- 
@+, MichouX 
Le futur c'est le Wi-Fi (Wireless Fixed Internet) ! :)
http://www.wireless-fr.org



Mutt et la localisation

2002-10-01 Thread Nicolas

Bonjour la liste,

mon système est en français et donc tout tourne en français, mutt
également mais le seul problème est que lorsque je fais un reply la
date est mise en anglais, par exemple :

Le Sun, Sep 29, 2002 at 06:00:28PM -, [EMAIL PROTECTED] écrivait
:

j'aimerai donc que cette date soit en français. Est-ce possible et si
oui comment ?

Merci d'avance pour votre aide.
-- 
Mail : [EMAIL PROTECTED]

Netiquette : http://www.sri.ucl.ac.be/SRI/rfc1855.fr.html



mutt -Z question

2002-10-01 Thread Robin Johnson

Greetings,
I have a question for the list, that I haven't been able to locate an
answer for on Google.

I have a lot of Maildir folders that procmail sorts my incoming email
into. However, not all of them get mail on a daily basis. Presently to
check all of my email, I run mutt -Z repeatedly to go thru all of the
folders to find my new mail. However, with the growing size of some of
the mailing list folders, it is taking a long time to do this. So I was
wondering, is there any way I can trigger the same action as the -Z from
within mutt instead of having to quit out again?

Please reply to my email address directly as I am not a list subscriber.
Thanks in advance.

-- 
Robin Hugh Johnson
E-Mail : [EMAIL PROTECTED]
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#   : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85



msg31390/pgp0.pgp
Description: PGP signature


Bad Encoding?

2002-10-01 Thread PeterKorman

My mutt viewer shows:

N^X¬µìm\212Ç^Z­¹^u¼¦ºÛÿ²ø\236ÁêÿZ^\ÿÿÿ_^Aô^M;^D@u^LPúì^N¶^WÝE

for the attached distribution. I think there was a 
thread for a problem like this not so long ago.

The distribution was encoded by a Mozilla 4.76 mailer. 
There are 2 attachments. The second 1 was an html copy.
Ximian Evolution reads it ok if the second attachment 
is present, but he garbles the text as well if I remove
the html attachment. I guess Evolution just goes straight 
for the html rendering.

Maybe the iso-8859-1 is just encoded improperly. Or maybe
I have my linux character set stuff set up wrong.

Thanks.

JPK


-- 

[]+ Wisdom is vindicated by all her children.  +[]
[]  []
[]+ GnuPG ECBA EA08 C3C1 251E 5FB5  D196 F8C8 F8B7 AB60 234D +[]



Received: (qmail 16630 invoked by uid 2508); 27 Sep 2002 13:26:14 -
Received: from [EMAIL PROTECTED] by fourier by uid 2505 with qmail-scanner-1.12 
(uvscan: v4.1.60/v4210. hbedv: 6.12.0.0. inocucmd: 37.00/02.66. . Clear:. Processed in 
0.100137 secs); 27 Sep 2002 13:26:14 -
X-Qmail-Scanner-Mail-From: [EMAIL PROTECTED] via fourier
X-Qmail-Scanner: 1.12 (Clear:. Processed in 0.100137 secs)
Received: from tesla.eigenvision.com (HELO eigenvision.com) (192.168.0.3)
  by 0 with SMTP; 27 Sep 2002 13:26:14 -
Received: (qmail 6543 invoked by uid 1500); 27 Sep 2002 13:26:13 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 6539 invoked from network); 27 Sep 2002 13:26:13 -
Message-ID: [EMAIL PROTECTED]
Date: Fri, 27 Sep 2002 09:26:06 -0400
From: [EMAIL PROTECTED]
MIME-Version: 1.0
Subject: Why can't I read this?
Content-Type: multipart/alternative;
 boundary=18B9A07BEB1DFD67A62F91F3


--18B9A07BEB1DFD67A62F91F3
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: base64

This this text is garbled in my mutt viewer. Why?

http://www.nationalreview.com/kurtz/kurtz092602.asp




--18B9A07BEB1DFD67A62F91F3
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

!doctype html public -//w3c//dtd html 4.0 transitional//en
html
nbsp;
brfont face=Times New Roman, Times, seriffont size=+0This this text is garbled 
in my mutt 
viewer. Why?/font/font
pa href=http://www.nationalreview.com/kurtz/kurtz092602.asp; 
class=moz-txt-link-freetexthttp://www.nationalreview.com/kurtz/kurtz092602.asp/a
brnbsp;
brnbsp;
brnbsp;/html

--18B9A07BEB1DFD67A62F91F3--



msg31391/pgp0.pgp
Description: PGP signature


Re: mutt and exchange

2002-10-01 Thread Cristiano Reis Monteiro

... então, em 26 de setembro de 2002, Gregory Seidman disse ...

 it's LDAP? Perhaps it has something to do with the query functions? Do I
 need an external program to help? Is there a HOWTO somewhere (Google did

Hello,

You can use the mutt external query function together with the Little
Brother Database to query an LDAP server.

I have the following entry within my .muttrc:

set query_command=lbdbq %s

You can download lbdb at:

http://www.spinnaker.de/lbdb/

HTH,

- Cristiano

-- 
+-+
  /^\__/\   | Pensamento do dia:
 /' , :  Conhecimento não é crime!| Se não estiver quebrado conserte
~~   / o   o | até que esteja!  
/   ,  \ [EMAIL PROTECTED]   | 
 (  `- ..__ Ciência da Computação-UFBA | 
'  /'http://cristiano.dhs.org   | 
+-+




Re: What Country is Mutt developed

2002-10-01 Thread Will Yardley

Tim Johnson wrote:
 
 And where is the author of Mutt from? Trivia, I know,
 but wanted to include it in the article. 
 Thanks

Michael Elkins is the author of Mutt, and he lives in LA (USA).

Mutt is currently maintained mostly by other developers, who live in
various places.

-- 
Will Yardley
input: william   hq . newdream . net . 




Re: Mail-Followup-To/Reply-To alternatives

2002-10-01 Thread Will Yardley

Hanspeter Roth wrote:
 
 Are there headers used by other MUAs that have similar function like
 Mail-Followup-To and Reply-To?

Well Reply-To: is an internet standard, and is followed by most mailers.
Mail-Followup-To: was an internet draft that never got adopted as a
standard; mutt is still clinging to this even though no commonly used
MUAs follow it.
 
 (Probably some users configure their mailers to ignore such
 headers.)

Well Mail-Followup-To isn't ignored so much as not followed at all. Most
mailers do follow Reply-To if it exists.

-- 
Will Yardley
input: william   hq . newdream . net . 




Re: The browser

2002-10-01 Thread Johan Svedberg

On Thu, Sep 26, 2002 at 11:58:13AM -0700, John Iverson wrote:
 * On Thu, 26 Sep 2002, Johan Svedberg wrote:
 
  Anyone experinced mutt going to the wrong mailbox when you're
  in the browsers mailbox view and place the indicator on some
  mailbox and press enter?
 
 This happens when you get new mail in the last mailbox you
 visited after going to the browser.  Mutt thinks you should see
 the new mail in your 'current' mailbox instead of what you told
 it to do.
 
 Another problem is that the new mail indicator for that mailbox
 doesn't work in the browser.  It's been discussed a couple of
 times, but I guess it's a side effect of Mutt's design.
 
 What I've done is create a macro to go to the browser, which
 first visits a mailbox that doesn't receive mail.  This seems to
 be at least a work around for this behavior:
 
 macro index space change-folder=postponedenterchange-folder? Browse 
folders

Ah, thanks alot! This explains that other thing that has been bugging me
with sometimes not getting the N flag although there actually are new
mails in that box. I'm going to try that macro out, although some kind
of fix would be nice since this behavour is not very logical. Once again
thanks, I've been so frustrated over this thing... :-)

Regards, Johan Svedberg

-- 
Johan Svedberg, [EMAIL PROTECTED], http://www.acc.umu.se/~winkle



Re: The browser

2002-10-01 Thread Johan Svedberg

On Fri, Sep 27, 2002 at 01:16:41AM +0200, Sven Guckes wrote:
 * Johan Svedberg [EMAIL PROTECTED] [2002-09-26 16:44]:
  Anyone experinced mutt going to the wrong mailbox
  when you're in the browsers mailbox view and place
  the indicator on some mailbox and press enter?
 
 no.  tell us about it!  fat finger syndrome, maybe?  ;-)

I don't think so, but could very much likely have been so though. :-)
Try to reproduce it with the info in John Iverssons post above and
share your opinions. :-)

/Johan - maybe not so fat-fingered after all? :)



Re: Colour problem on Solaris

2002-10-01 Thread Thomas E. Dickey

On Mon, 30 Sep 2002, Hanspeter Roth wrote:

   On Sep 27 at 11:28, Chris Green spoke:

  Error in /home/chris/.mutt/muttrc, line 28: default: no such color

 Mutt (ncurses?) on NetBsd doesn't like this either.

 If you have a light background you might choose `brightwhite'
 instead. Then you might get bright gray.

NetBSD has a strong not-invented-here faction, which is busily porting
chunks of ncurses into their native BSD curses.  It's not complete, but
the latest version reportedly has use_default_colors().  If the entrypoint
exists, but does not work as expected that's a NetBSD bug rather than
mutt's.

-- 
T.E.Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net




Re: replying to unwrapped messages with vi

2002-10-01 Thread Thomas E. Dickey

On Mon, 30 Sep 2002, Ken Weingold wrote:

 On Thu, Sep 26, 2002, Mike Jackson wrote:
   If I receive a message from an outlook luser, or similar, and the
  message is completely unwrapped, how do I fix that part which I quote?
  I would like to be able to do this automatically.

 Not sure about vi, but vim has a wonderful method of wrapping text.  A
 simple Q} will wrap the whole paragraph.  Or Qdown arrow will do for
 Outhouse since it seems to make each paragraph all one long line.

for vi, look at 'par'

-- 
T.E.Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net




cc to myself in some cases only?

2002-10-01 Thread Erik Simon

Dear and happy mutt users,

I would like to CC a message to my email address, but not for all
patterns. I tried a send-hook:

send-hook .   my_hdr Cc: address
send-hook foo.bar my_hdr Cc:

It works, except than the changes take effect only for the subsequent
message. Any hint how I could do this?

Erik



Re: The browser

2002-10-01 Thread Johan Svedberg

On Sat, Sep 28, 2002 at 09:51:11PM +0100, Dean Richard Benson wrote:
 On Thu, Sep 26, 2002 at 06:26:25PM +0200, Johan Svedberg wrote:
  Anyone experinced mutt going to the wrong mailbox when you're in the
  browsers mailbox view and place the indicator on some mailbox and press
  enter?
 
 Yes I have.  There was a thread regarding this a while ago.  It seems to
 be when you enter a folder, return to the mailbox view, and then new
 mail comes into the original folder, no matter which folder you then
 select, it will go into the original folder.
 
 This has been frustrating me for some time, but I haven't managed to
 find a fix --- yet.

Yep, this is exactly what happens, and I agree with you it's very
frustrating. :) Another frustrating thing that happens is that the
new-mail indicator doesn't work on that box even if it actually contains
new massages. :-(

Johan



Re: replying to unwrapped messages with vi

2002-10-01 Thread kevin lyda

On Tue, Oct 01, 2002 at 06:09:47AM -0400, Thomas E. Dickey wrote:
 On Mon, 30 Sep 2002, Ken Weingold wrote:
  Not sure about vi, but vim has a wonderful method of wrapping text.  A
  simple Q} will wrap the whole paragraph.  Or Qdown arrow will do for
  Outhouse since it seems to make each paragraph all one long line.

huh.  neat.  i started on vi so i always have had vf and vq for formatting
plain and quoted paragraphs:

map vf !}fmt
map vq !}fmt -p ''

 for vi, look at 'par'

i find fmt to be more standard across unicies.

kevin

-- 
[EMAIL PROTECTED]  How do we know Saddam has weapons of mass
fork()'ed on 37058400  destruction?  We looked at the receipt.
meatspace place: home--Bill Hicks
http://ie.suberic.net/~kevin



msg31401/pgp0.pgp
Description: PGP signature


Re: replying to unwrapped messages with vi

2002-10-01 Thread Thomas E. Dickey

On Tue, 1 Oct 2002, kevin lyda wrote:

 On Tue, Oct 01, 2002 at 06:09:47AM -0400, Thomas E. Dickey wrote:
  On Mon, 30 Sep 2002, Ken Weingold wrote:
   Not sure about vi, but vim has a wonderful method of wrapping text.  A
   simple Q} will wrap the whole paragraph.  Or Qdown arrow will do for
   Outhouse since it seems to make each paragraph all one long line.

 huh.  neat.  i started on vi so i always have had vf and vq for formatting
 plain and quoted paragraphs:

 map vf !}fmt
 map vq !}fmt -p ''

  for vi, look at 'par'

 i find fmt to be more standard across unicies.

that's arguable (fmt is likely to be installed, but like most Unix
utilities would have version dependencies - par is a relative latecomer
and is not installed).

There's a difference between installed and standard of course - X/Open
documents the latter.

-- 
T.E.Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net




Re: replying to unwrapped messages with vi

2002-10-01 Thread Elimar Riesebieter

On Tue, 01 Oct 2002 the mental interface of 
Thomas E. Dickey told:

 On Tue, 1 Oct 2002, kevin lyda wrote:
 
  On Tue, Oct 01, 2002 at 06:09:47AM -0400, Thomas E. Dickey
  wrote:
   On Mon, 30 Sep 2002, Ken Weingold wrote:
Not sure about vi, but vim has a wonderful method of
wrapping text.  A simple Q} will wrap the whole paragraph.
Or Qdown arrow will do for Outhouse since it seems to make
each paragraph all one long line.
 
  huh.  neat.  i started on vi so i always have had vf and vq for
  formatting plain and quoted paragraphs:
 
  map vf !}fmt map vq !}fmt -p ''
 

[...]
I use gqap in vim. Thats for leaving the qotes at start of line.

Or you can have vim do this reformatting automatically by applying
patches 6.1.142 and 6.1.143 and adding this to your autocmd:

set formatoptions+=a
(posted at vim.vim.org!)

Ciao

Elimar


-- 
  Alles was viel bedacht wird ist bedenklich!;-)
 Friedrich Nietzsche



Re: replying to unwrapped messages with vi

2002-10-01 Thread Thomas E. Dickey

On Tue, 1 Oct 2002, Elimar Riesebieter wrote:

 On Tue, 01 Oct 2002 the mental interface of

 Or you can have vim do this reformatting automatically by applying
 patches 6.1.142 and 6.1.143 and adding this to your autocmd:

 set formatoptions+=a
 (posted at vim.vim.org!)

I don't use either, as a matter of fact (vile's done similar formatting
for quoted stuff for some time as well).

-- 
T.E.Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net




Re: .procmailrc: thanks

2002-10-01 Thread savanna

* Patrick [EMAIL PROTECTED] wrote:
 * Oliver Fuchs [EMAIL PROTECTED] [09-30-02 18:56]:
  On Mon, 30 Sep 2002, savanna wrote:
  
   A slightly offtopic question - I'm using procmail for my mail filtering,
 ..
 You might find this easier/simpler:
 
 :0:
 * ^Sender:.*owner\-mutt\-
 mutt

Thanks everyone for your help - I'll have a play with TO_ and using the
^Sender pattern.

--
Savanna |  Free as in 'free speech',
GnuPG Pub Key E40FAE08  |  not 'free beer'.



msg31405/pgp0.pgp
Description: PGP signature


Re: download pgpwrap from where?: thanks

2002-10-01 Thread savanna

* Elimar Riesebieter [EMAIL PROTECTED] wrote:
 savanna told:
 
  Where do I download pgpewrap from? It's referred to in the sample

 On debian you can find it at /usr/lib/mutt/pgpewrap. Try
 /usr/local/lib/mutt as well. /usr/lib/mutt isn't a part of $PATH so

Hi everyone, thanks a lot for your help. I had a keyboard-chair
interface error, and forgot to check my path ;-)

pgpewrap was installed all along (from the mutt debian package)

--
Savanna |  Free as in 'free speech',
GnuPG Pub Key E40FAE08  |  not 'free beer'.



msg31406/pgp0.pgp
Description: PGP signature


Re: replying to unwrapped messages with vi

2002-10-01 Thread Ken Weingold

On Tue, Oct  1, 2002, Elimar Riesebieter wrote:

 I use gqap in vim. Thats for leaving the qotes at start of line.

Oh, yeah.  Q} will preserve quotes too, but I forgot that I have Q
remapped to gq, since I had gotten used to the Q in vim 4 I think.  Or
something like that. :)


-Ken



Mutt Question

2002-10-01 Thread Schoppitsch Dieter

Hi all - I'm desperated - sorry for bothering you.

I can't get mutt (or my MTA ?) to run. Since 2 weeks I try to find help in
documents (ie Sven Guckes Setup Hints) and asked in two mailing lists.

I tried to run mutt with ssmtp or smail. Mutt tells me Mail sent. but
then I get (with both MTAs) similar error messages (inside mutt):
* /usr/sbin/ssmtp: no recipients supplied: no mail will be sent.
* Usage: smail [flags] address ...

It seems that mutt doesn't deliver the recipients address.

* How can I tell mutt to do this?
* How can I try to test my MTA directly and send a mail direct from
the MTA (smail or ssmtp) without MUA (working example)?
* What can I try else? - Who causes this error (mutt, MTA, myISP)?

I'm using mutt 0.91.2, ssmtp 2.27 resp. smail 3.2.0. (I couldn't /
don't want to upgrade my system - Debian 2.0).

My .muttrc:
set pop_user=...
set pop_pass=...
set pop_host=mail.uta4you.at
set pop_delete
#set sendmail=/usr/sbin/ssmtp
#set sendmail=/usr/sbin/smail
set editor=/usr/bin/e3pi

My ssmtp.conf:
root=postmaster
mailhub=mail.uta4you.at
hostname=sabine
FromLineOverride=YES

Thanks for ANY help and sorry for bothering you
Dieter

PS: Fetching mails with mutt (G) works fine.
PPS: I want to be A Man and his Mutt too - sending mails is the
last thing that doesn't work on my Linuxbox




Re: a folder-hook question

2002-10-01 Thread Patrick

* Isaac Claymore [EMAIL PROTECTED] [09-30-02 23:31]:
 
 It seems that folder-hook is executed whenever a folder is entered,
 but is there a 'leave-folder-hook'? I need to reset something back to
 normal upon leaving a folder, after setting it to folder-specific
 value in a folder-hook.
 
 I cant seem to find such a hook, did I missed anything? or is there
 some other trick to do that?

From TFM:

To specify a default command, use the
  pattern `.'':

   folder-hook . set sort=date-sent


Default will match any folder for which you do not have a folder-hook
defined.  Effectively a
'leave-folder-hook-reset-to-normal-folder-hook'.'
-- 
Patrick Shanahan
Registered Linux User #207535 
  @ http://counter.li.org



Re: a folder-hook question

2002-10-01 Thread Gregor Zattler


Hi Isaac,
* Isaac Claymore [EMAIL PROTECTED] [27. Sep. 2002]:
 It seems that folder-hook is executed whenever a folder is entered,
 but is there a 'leave-folder-hook'? 

Notwendig, but there is hope:

 I need to reset something back to normal upon leaving a folder,
 after setting it to folder-specific value in a folder-hook.

folder-hooks are evaluated in the order they appear in the muttrc.
You can use more than only one folder-hook when changing folders.
So you *first* declare a default hook which matches every folder
and produces your normal behavior:

   #by default sort messages according their date of arrival:
   folder-hook . set sort=date-received

and then you declare the specific behavior you want in case you
enter this specific folder:

   # in folder with copys of the emails i wrote sort according date
   folder-hook . set pgp_verify_sig=yes
   # in folders which are in my mailing list directory sort as threads:
   folder-hook +~ml/ set sort=threads

So every time you enter a new folder first of all the default
behavior is established and the specific behaviro only in the
specified case(s).

Ciao, Gregor
-- 
The future is here. It's just not widely distributed yet.
-- William Gibson



Re: Mutt Question

2002-10-01 Thread René Clerc

* Schoppitsch Dieter [EMAIL PROTECTED] [01-10-2002 15:36]:

 To: '[EMAIL PROTECTED]' [EMAIL PROTECTED],
 '[EMAIL PROTECTED]' [EMAIL PROTECTED]
 Cc: '[EMAIL PROTECTED]' [EMAIL PROTECTED],
 '[EMAIL PROTECTED]' [EMAIL PROTECTED],
 '[EMAIL PROTECTED]' [EMAIL PROTECTED]

Are you serious?

 I'm using mutt 0.91.2, ssmtp 2.27 resp. smail 3.2.0. (I couldn't /
 don't want to upgrade my system - Debian 2.0).

Sic.

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

We are not retreating - we are advancing in another direction.
-General Douglas MacArthur 



msg31411/pgp0.pgp
Description: PGP signature


feature request - save_domain

2002-10-01 Thread Eric Smith

.. like save_name but mutt resolves `bar' from foo.bar.com

Some suggested hacks for this but IMHO, this is sufficicently
useful (especially for those who deal with many companies /
organisations) to be native functionality.

-- 
Eric Smith [hoping]



Re: feature request - save_domain

2002-10-01 Thread darren chamberlain

* Eric Smith [EMAIL PROTECTED] [2002-10-01 10:18]:
 Some suggested hacks for this but IMHO, this is sufficicently
 useful (especially for those who deal with many companies /
 organisations) to be native functionality.

This seems like a good learning excersize, so I was looking into this,
trying to implement save_domain and force_domain that behave identically
to save_name and force_name. However, I cannot figure out how to access
the RHS of the address from within mutt_save_fcc (in hook.c):

/* Within mutt_save_fcc, lines 401 - 427 */

void mutt_select_fcc (char *path, size_t pathlen, HEADER *hdr)
{
  ADDRESS *adr;
  char buf[_POSIX_PATH_MAX];
  ENVELOPE *env = hdr-env;

  if (mutt_addr_hook (path, pathlen, M_FCCHOOK, NULL, hdr) != 0)
  {
if ((option (OPTSAVENAME) || option (OPTFORCENAME)) 
(env-to || env-cc || env-bcc))
{
  adr = env-to ? env-to : (env-cc ? env-cc : env-bcc);
  mutt_safe_path (buf, sizeof (buf), adr);
  snprintf (path, pathlen, %s/%s, NONULL (Maildir), buf);
  if (!option (OPTFORCENAME)  mx_access (path, W_OK) != 0)
strfcpy (path, NONULL (Outbox), pathlen);
}
else if ((option (OPTSAVEDOMAIN) || option (OPTFORCEDOMAIN)) 
(env-to || env-cc || env-bcc))
{
  /* XXX how to access domain portion of address? */
}
else
  strfcpy (path, NONULL (Outbox), pathlen);
  }
  mutt_pretty_mailbox (path);
}


I've already defined OPTSAVEDOMAIN and OPTFORCEDOMAIN in init.h and
mutt.h; if I duplicate the code for OPTSAVENAME and OPTFORCENAME in the
XXX'ed area, I get the correct results.  I'm a little stumped, and I'm
sure I'm missing something simple.  Any pointers?

(darren)

-- 
Morality works best when chosen, not when mandated.
-- Larry Wall



Howto mark all messages as read?

2002-10-01 Thread Jose Romildo Malaquias

Hello.

Please, would someone tell me how can I mark all messages
in the mailbox as read, with a single key command?

Romildo
-- 
Prof. José Romildo Malaquias
Departamento de Computação - Universidade Federal de Ouro Preto
http://www.decom.ufop.br/prof/romildo/  [EMAIL PROTECTED]
http://uber.com.br/romildo/ [EMAIL PROTECTED]



Re: Howto mark all messages as read?

2002-10-01 Thread Sascha Huedepohl

Hi,

* Jose Romildo Malaquias ([EMAIL PROTECTED]) wrote:
 Hello.
 
 Please, would someone tell me how can I mark all messages
 in the mailbox as read, with a single key command?

i use two keys, but...
## ==
## Bindings for index
## ==
macro index  ,r T~N | ~O\nN^T~A\n  mark all read

HTH  HAND
sascha

-- 
I am Homer of Borg.  Prepare to be --- Oooh! Donuts!



msg31416/pgp0.pgp
Description: PGP signature


Re: Howto mark all messages as read?

2002-10-01 Thread Gregory Seidman

Jose Romildo Malaquias sez:
} Hello.
} 
} Please, would someone tell me how can I mark all messages
} in the mailbox as read, with a single key command?

In your .muttrc:

macro index \cr 'T~O\n;NT~N\n;N;t'

Now ctrl-R will mark all messages as read unless, of course, you've
rebound T, N, ;, or t in the index. To avoid rebinding problems, change
those characters into their apprpriate, angele-bracket-enclosed
functions. This task is left as an exercise for the reader.

} Romildo
--Greg




Re: Howto mark all messages as read?

2002-10-01 Thread Lukas Ruf


On Tue, 01 Oct 2002, Jose Romildo Malaquias wrote:

 Please, would someone tell me how can I mark all messages
 in the mailbox as read, with a single key command?

macro index .r  \
tag-pattern.\ntag-prefixclear-flagNuntag-pattern.\n \
mark all messages as read

and press .r in the index mode

--lpr
-- 
Lukas Ruf
http://www.lpr.chhttp://www.maremma.ch
   http://www.{{topsy,nodeos}.net,{promethos,netbeast,rawip}.org}



Re: From: header wrong w/ multiple IMAP accounts

2002-10-01 Thread Michael Tatge

Kurt Lieber ([EMAIL PROTECTED]) muttered:
 I have two accounts on the same IMAP server.  I can successfully navigate
 between accounts using account-hooks. However, in both accounts, the
 From: header defaults to my username followed by the @ sign.  (i.e.
 kurtl@)
 I've set both the $envelope_from and $from variables, but that doesn't
 help. If I set up mutt with just one IMAP account (and no account-hooks),
 it works fine.

To switch between accounts please use my_hdr From:

HTH,

Michael
-- 
I did this 'cause Linux gives me a woody.  It doesn't generate revenue.
(Dave '-ddt-` Taylor, announcing DOOM for Linux)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: Bad Encoding?

2002-10-01 Thread Aaron Schrab

At 17:54 -0400 30 Sep 2002, PeterKorman [EMAIL PROTECTED] wrote:
 My mutt viewer shows:
 
 N^X¬µìm\212Ç^Z­¹^u¼¦ºÛÿ²ø\236ÁêÿZ^\ÿÿÿ_^Aô^M;^D@u^LPúì^N¶^WÝE

The text/plain version of the message is specified as being sent base64
encoded, even though it actually isn't.  So mutt and evolution will do
base64 decoding on the actual text, resulting in garbage.

 The distribution was encoded by a Mozilla 4.76 mailer.
 There are 2 attachments. The second 1 was an html copy.
 Ximian Evolution reads it ok if the second attachment
 is present, but he garbles the text as well if I remove
 the html attachment. I guess Evolution just goes straight
 for the html rendering.

Yes, the proper thing to do is to display the bottom-most alternative
that can be displayed, so evolution just displays the html version which
isn't broken.

 Maybe the iso-8859-1 is just encoded improperly. Or maybe
 I have my linux character set stuff set up wrong.

This doesn't have anything to do with character sets or any setup issue.
Any mailer that generates a message like this (even if the operator
tries to do it) is severely broken.  It's also possible that the message
was generated correctly, but mangled in transit (the most likely place
for this to occur would be the virus scanner shown in the Received:
headers).

 --18B9A07BEB1DFD67A62F91F3
 Content-Type: text/plain; charset=iso-8859-1
 Content-Transfer-Encoding: base64
 
 This this text is garbled in my mutt viewer. Why?

-- 
Aaron Schrab [EMAIL PROTECTED]  http://www.schrab.com/aaron/
 When you're dealing with like crazy aggressors like Libya or Iran or
 Microsoft, you are talking about people who could do anything.
   -- Bill Maher



Re: Creating Aliases from sent messages?

2002-10-01 Thread Michael Tatge

John P Verel ([EMAIL PROTECTED]) muttered:
 I've searched the manual high and low on this and come up blank.  I want
 to create a file of aliases based upon messages I've sent, rather than
 receive.  They are all in one folder for ease of access.  While creating
 an alias from a received message is a snap, it appears that, short of
 typing in long hand, there's no quick way to do this.

Why don't you run a little shell or perl script against that folder?

HTH,

Michael
-- 
Even more amazing was the realization that God has Internet access.  I
wonder if He has a full newsfeed?
(By Matt Welsh)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: Creating Aliases from sent messages?

2002-10-01 Thread darren chamberlain

* Michael Tatge [EMAIL PROTECTED] [2002-10-01 14:17]:
 Why don't you run a little shell or perl script against that folder?

Hmm...

  #!/usr/bin/perl

  use strict;

  use File::Slurp;
  use Email::Find;

  my (%addrs, $data, $mbox, $finder);

  $data = read_file(mutt-users);  # read_file comes from File::Slurp
  $mbox = $ENV{HOME}/Mail/lists/mutt-users;

  $finder = Email::Find-new(sub { $addrs{ $_[0]-format }++ });
  $finder-find(\$data);

  print join \n, sort keys %addrs;

This works, assuming you have File::Slurp and Email::Find installed.
The problem with this, though, is that it picks up Message-ID's.

A more robust solution (involving Perl) would be to create a Mail::Box
instance, that knows about the messages it contains, and then grab email
addresses from the appropriate header fields.  This would also work for
things other than mbox format:

  use Email::Find;
  use Mail::Box::Manager;
  my %addrs;
  my $mgr = Mail::Box::Manager-new;
  my $mbox = $mgr-open(folder = Mail/INBOX/);
  my $finder = Email::Find-new(sub { $addrs{ $_[0]-format }++ });

  for my $message ($mbox-messages) {
  my $cc = $message-cc;
  my $from = $message-from;
  $finder-find(\$cc);
  $finder-find(\$from);
  }

  print join \n, sort keys %addrs;

(Note that I've tested the first, but not the second.)

(darren)

-- 
It is impossible to travel faster than the speed of light, and
certainly not desirable, as one's hat keeps blowing off.
-- Woody Allen



Re: mutt and exchange

2002-10-01 Thread Elimar Riesebieter

On Thu, 26 Sep 2002 the mental interface of 
David Rock told:

 * Michael Leone [EMAIL PROTECTED] [2002-09-26 13:17]:
  Gregory Seidman said:
[...] 
 
  Good question. Dunno how mutt integrates with LDAP, but I know I
  have used Outlook Express to query a GAL via LDAP. If you need
  to configure a firewall or anything, LDAP access is port 389, I
  believe.
 
 Look for muttldapquery.pl in the contribs. It does a good job
 connecting to the LDAP on the Exchange server.
I didn't find that stuff whether in mutt contrib no at
google-search?

Elimar

-- 
  The way to source is always uphill!
-unknown-



msg31423/pgp0.pgp
Description: PGP signature


Re: mutt and exchange

2002-10-01 Thread David Rock

* Elimar Riesebieter [EMAIL PROTECTED] [2002-10-01 20:54]:
 On Thu, 26 Sep 2002 the mental interface of 
 David Rock told:
 
  * Michael Leone [EMAIL PROTECTED] [2002-09-26 13:17]:
   Gregory Seidman said:
 [...] 
  
   Good question. Dunno how mutt integrates with LDAP, but I know I
   have used Outlook Express to query a GAL via LDAP. If you need
   to configure a firewall or anything, LDAP access is port 389, I
   believe.
  
  Look for muttldapquery.pl in the contribs. It does a good job
  connecting to the LDAP on the Exchange server.
 I didn't find that stuff whether in mutt contrib no at
 google-search?

ftp://ftp.mutt.org/mutt/contrib/

contains mutt_ldap_query.pl and the associated readme file. It was my
fault for not correctly describing the name of the pl file.

-- 
David Rock
[EMAIL PROTECTED]



msg31424/pgp0.pgp
Description: PGP signature


Re: Colour problem on NetBSD

2002-10-01 Thread Thomas Dickey

On Tue, Oct 01, 2002 at 09:52:34PM +0200, Hanspeter Roth wrote:
   On Oct 01 at 06:06, Thomas E. Dickey spoke:
 
  NetBSD has a strong not-invented-here faction, which is busily porting
  chunks of ncurses into their native BSD curses.  It's not complete, but
  the latest version reportedly has use_default_colors().  If the entrypoint
  exists, but does not work as expected that's a NetBSD bug rather than
  mutt's.
 
 If I could manage to build a mutt linked against an standard
 ncurses5.x then shoud there be a working use_default_colors()
 available?

yes - I added the feature with ncurses 4.2

Bear in mind that when I'm building applications with ncurses, it is usually
not using the *BSD ports - I frequently see problems reported that are due
to that.

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net



Re: reply-to alternatives

2002-10-01 Thread Hanspeter Roth

  On Oct 01 at 01:13, Sven Guckes spoke:

 * Hanspeter Roth [EMAIL PROTECTED] [2002-09-30 20:12]:
  are there alternative headers to Reply-To:
  and Mail-Followup-To: used by other MUAs?
 
 we could tell you - but then we'd have to kill you.

Why? It isn't a fight against Reply-To and Mail-Followup-To, is it?

 of course there are more headers - and all of them
 are probably only supported by this one mailer.
 use whatever you like - but please do
 not expect mutt to support any of these.

I don't expect mutt to support them.
I'm thinking to put them into a send-hook.
I can't expect other people to use mutt, if they decide to answer
me.

I'm just wondering why some people don't honor Reply-To or
Mail-Followup-To. Maybe they choose to ignore it.
Or maybe their mailer is expecting another header therefore.

-Hanspeter



Re: Colour problem on NetBSD

2002-10-01 Thread Hanspeter Roth

  On Oct 01 at 06:06, Thomas E. Dickey spoke:

 NetBSD has a strong not-invented-here faction, which is busily porting
 chunks of ncurses into their native BSD curses.  It's not complete, but
 the latest version reportedly has use_default_colors().  If the entrypoint
 exists, but does not work as expected that's a NetBSD bug rather than
 mutt's.

If I could manage to build a mutt linked against an standard
ncurses5.x then shoud there be a working use_default_colors()
available?

-Hanspeter



Re: Bouncing emails from the command line!

2002-10-01 Thread David T-G

Frank --

...and then Bright, Frank said...
% 
% Hi all,

Hello!


% 
% I would like to bounce emails with a command line entry.  Is there a way to
% do this with mutt?  I read through the manual of how it does thru the
% interface but not how it can be done from the command line.

You mean like one can

  mutt -s subject addr
  mutt -s subj -a attachment addr  /text/body/file

and so on?  That would be tricky because you don't have the mail at the
command line.

If you're really talking about bouncing (and some people think they are
but they aren't!), which is really just injecting the message again with
a new recipient given to the MTA, then you could just take the message
and do that; forget about mutt.  If the message is somewhere in a mailbox
and you can programmatically find it (you *know* it's message number one
when unsorted, or that it's the last message in the box, or whatever)
then you could build a push command to go and find it and then bounce it
wherever your input specifies; realistically, though, you're looking at
some sort of wrapper script to take your destination and then construct a
fake muttrc file with that info included in the push and then call mutt
against that file and the proper folder.

In short, it would probably be really challenging to do this from the
command line and hardly worth it to not just fire up mutt and do it
within mutt and then do a quick exit.  Or have I completely misunderstood
what you desire to do?


% 
% Any help would be appreciated.

HTH  HAND


% 
% Thanks in advance

You're welcome :-)


% 
% Frank
% mailto:[EMAIL PROTECTED]


:-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!




msg31428/pgp0.pgp
Description: PGP signature


How do I browse folders using IMAP?

2002-10-01 Thread Tom

I usually work with mail on the local machine, but
sometimes have to log onto an IMAP server. I have no
problem logging on with c{user@server}inbox.folder
but I would like to browse the IMAP folders, but
every c? or cTab only lists the local folders
(I usually want the local folders, but not when
connected to the IMAP server).

And one folder I can not get to at all (it has a
!@#$%^* space in the name - I did not name it), and
when I try to type c{user@server}inbox.folder name
the space resets the input, and I get the same
result as if I typed cname.

Can anyone help? Thank you in advance.

Tom

__
Do you Yahoo!?
New DSL Internet Access from SBC  Yahoo!
http://sbc.yahoo.com



Re: How do I browse folders using IMAP?

2002-10-01 Thread Michael Tatge

Tom ([EMAIL PROTECTED]) muttered:
 I usually work with mail on the local machine, but
 sometimes have to log onto an IMAP server. I have no
 problem logging on with c{user@server}inbox.folder
 but I would like to browse the IMAP folders, but
 every c? or cTab only lists the local folders
 (I usually want the local folders, but not when
 connected to the IMAP server).

set folder=imap://user@server

HTH,

Michael
-- 
The nice thing about Windows is - It does not just crash, it displays a
dialog box and lets you press 'OK' first.
(Arno Schaefer's .sig)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: How do I browse folders using IMAP?

2002-10-01 Thread Tom

--- Michael Tatge [EMAIL PROTECTED] wrote:
 Tom ([EMAIL PROTECTED]) muttered:
  I usually work with mail on the local machine, but
  sometimes have to log onto an IMAP server. I have no
  problem logging on with c{user@server}inbox.folder
  but I would like to browse the IMAP folders, but
  every c? or cTab only lists the local folders
  (I usually want the local folders, but not when
  connected to the IMAP server).
 
 set folder=imap://user@server

I tried that, both:

set folder=imaps://user@server and
set folder=imaps://user@server/inbox

and I just get the error message (on c?, and both
before and after I log onto the IMAP server):

imaps://user@server: No such file or directory (errno = 2)

Tom

__
Do you Yahoo!?
New DSL Internet Access from SBC  Yahoo!
http://sbc.yahoo.com



Re: replying to unwrapped messages with vi

2002-10-01 Thread Thomas Dickey

On Tue, Oct 01, 2002 at 07:38:35AM -0400, Thomas E. Dickey wrote:
 On Tue, 1 Oct 2002, kevin lyda wrote:
  i find fmt to be more standard across unicies.
 
 that's arguable (fmt is likely to be installed, but like most Unix
 utilities would have version dependencies - par is a relative latecomer
 and is not installed).
 
 There's a difference between installed and standard of course - X/Open
 documents the latter.

now that I'm home  can look it up, I see that by its omission from X/Open's
list, fmt can be regarded as nonstandard.

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net



Re: reply-to alternatives

2002-10-01 Thread Will Yardley

Hanspeter Roth wrote:
 
 I'm just wondering why some people don't honor Reply-To or
 Mail-Followup-To. Maybe they choose to ignore it.
 Or maybe their mailer is expecting another header therefore.

Most people probably don't *see* it, because most people don't read all
the headers of their email messages and there are precious few mail
clients that support M-f-t (again, because it's not an internet
standard).

-- 
Will Yardley
input: william   hq . newdream . net . 




Update IMAP Immediately

2002-10-01 Thread Jack Bates

How can I force mutt to update my IMAP server - changing, for instance, 
the new flag - immediately, instead of waiting until I quit? Thanks,

Jack




Re: The browser

2002-10-01 Thread David Britton

On Tue, Oct 01, 2002 at 12:13:48PM +0200, Johan Svedberg wrote:
 
 Another frustrating thing that happens is that the new-mail indicator
 doesn't work on that box even if it actually contains new massages.
 :-(

When I come out of a folder (to the browser screen), the folder I am
*in* is not marked with an N.  I belive that this is becuase this
folder is still open by the running mutt.  Is this what you are
referring to?

/db



Re: [OT] LDAP lookups (Was: Re: mutt and exchange)

2002-10-01 Thread David Britton

On Mon, Sep 30, 2002 at 10:03:26PM -0400, Mike Leone wrote:
 
 Exchange, by default, makes it's Global Address Books available via
 LDAP, so anything that reads LDAP can read it off of Exchange that
 way. Not so for personal address books.

Thanks for the tip...  Good info.

/db






Re: Update IMAP Immediately

2002-10-01 Thread Kurt Lieber

On Tue, Oct 01, 2002 at 05:49:28PM -0700 or thereabouts, Jack Bates wrote:
 How can I force mutt to update my IMAP server - changing, for instance, 
 the new flag - immediately, instead of waiting until I quit? Thanks,

$, by default, resyncs your IMAP mailbox.

--kurt



Re: Update IMAP Immediately

2002-10-01 Thread Burton Samograd

On Tue, Oct 01, 2002 at 05:49:28PM -0700, Jack Bates wrote:
 How can I force mutt to update my IMAP server - changing, for instance, 
 the new flag - immediately, instead of waiting until I quit? Thanks,

Try doing a mailbox sync with the '$' key.

burton



msg31438/pgp0.pgp
Description: PGP signature


Re: [OT] LDAP lookups (Was: Re: mutt and exchange)

2002-10-01 Thread Gerhard Häring

* Mike Leone [EMAIL PROTECTED] [2002-09-30 22:03 -0400]:
 Exchange, by default, makes it's Global Address Books available via LDAP, so
 anything that reads LDAP can read it off of Exchange that way. Not so for
 personal address books.

The Active Directory flavour, right? As far as I understand, A. D. has
an incompatible auth method, and thus cannot be accessed by normal
LDAP tools

That's why I hacked a quick Python script to access A. D. via M$'s ADSI
COM interface. This is about semi-working for me.

The real fun is my IMAP filtering on the Exchange server by
downloading everything, running it through my filters (custom Python
ones and spamassassin), then putting it back in the right folders. I've
heard that's what IMAP's for. evil grin

-- Gerhard



No locks available (errno 37) while upgrade to Mandrake 9.0

2002-10-01 Thread Charles Jie

Mandrake 9.0 is really trobulesome!

I've just upgraded from MD8.2 to 9.0 and suffered a lot, including mutt.

Now my mutt will complain fctrl: No locks available (errno = 37) when
I open any mbox. This makes the mbox readonly.

I have no cue how to start trouble-shooting. Help!

(Further info:
1. My $MailDir is $HOME/Mail, which is an nfs mounting on another pc
   (pc1).
2. On pc1 (which is still using MD8.2), I can still use mutt as usual
   w/o problem.
3. I've tried to upgrade mutt from 1.3.27 to 1.4. The problem remains.
   Even I use the mutt coming with MD9.0, the same problem. So I know
   it's system's problem instead of mutt. But I have no experience about
   such locking issue with other s/w. So look forward to the help from
   you. Thanks.
)

charlie



Re: How do I browse folders using IMAP?

2002-10-01 Thread Benjamin Pflugmann

Hello.

On Tue 2002-10-01 at 14:23:03 -0700, you wrote
 --- Michael Tatge [EMAIL PROTECTED] wrote:
  Tom ([EMAIL PROTECTED]) muttered:
   I usually work with mail on the local machine, but
   sometimes have to log onto an IMAP server. I have no
   problem logging on with c{user@server}inbox.folder
   but I would like to browse the IMAP folders, but
   every c? or cTab only lists the local folders
   (I usually want the local folders, but not when
   connected to the IMAP server).
  
  set folder=imap://user@server
 
 I tried that, both:
 
 set folder=imaps://user@server and
 set folder=imaps://user@server/inbox
 
 and I just get the error message (on c?, and both
 before and after I log onto the IMAP server):
 
 imaps://user@server: No such file or directory (errno = 2)

I just tried this with

  set folder=imaps://user@server/

on Mutt 1.4i (2002-05-29), with and without trailing slash,
and it works as expected, i.e. typing c? asks for my
password and then presents the list of IMAP folders and
c=ITAB completes with =INBOX.

Looks like your version of mutt does not understand the
imaps:// syntax?

Regards,

Benjamin.




msg31442/pgp0.pgp
Description: PGP signature