multiple From:

2001-12-19 Thread Benjamin Michotte

hello,

I have to use different From address, [EMAIL PROTECTED] for all of my
mail and [EMAIL PROTECTED] to send mail to [EMAIL PROTECTED]

I tried a send-hook but... it doesn't work, where could I look in the
manual ?

thanks,
binny

-- 

folop y'a un fichier de 61 mo dans /proc c'est normal ?
mooby ah non pas du tout
mooby efface

°v°  Benjamin Michotte[EMAIL PROTECTED]
_o_  web  : http://www.baby-linux.net



msg21738/pgp0.pgp
Description: PGP signature


Re: multiple From:

2001-12-19 Thread Artem Okounev

Hello Benjamin,

Wednesday, December 19, 2001, 10:12:49 AM, you wrote:

 I have to use different From address, [EMAIL PROTECTED] for all of my
 mail and [EMAIL PROTECTED] to send mail to [EMAIL PROTECTED]

 I tried a send-hook but... it doesn't work, where could I look in the
 manual ?

IMHO  the  right  way to rewrite from: headers is to tune
your  MTA,  not  MUA. If you use Sendmail, try the following
instructions:

http://www.sendmail.org/~ca/email/lfaq.html#CHGADDR


-- 
Best regards,
 Artemmailto:[EMAIL PROTECTED]


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Re: multiple From:

2001-12-19 Thread Im Eunjea

* Benjamin Michotte [EMAIL PROTECTED] [2001-12-19 09:12]:
 hello,
 
 I have to use different From address, [EMAIL PROTECTED] for all of my
 mail and [EMAIL PROTECTED] to send mail to [EMAIL PROTECTED]
 
 I tried a send-hook but... it doesn't work, where could I look in the
 manual ?
 
 thanks,
 binny
 

send-hook . 'my_hdr From: [EMAIL PROTECTED]'
send-hook '~t ml@manex\.be' 'my_hdr From: [EMAIL PROTECTED]'

-- 
Eunjea [EMAIL PROTECTED]
http://kltp.kldp.org/eunjea/
GnuPG fingerprint: 08C9 2D3F 91B2 D395 2EFF  4C33 544C 321C E194 91CF



Re: multiple From:

2001-12-19 Thread Benjamin Michotte

On Wed, Dec 19, 2001 at 11:50:14AM, Im Eunjea wrote:
 
 send-hook . 'my_hdr From: [EMAIL PROTECTED]'
 send-hook '~t ml@manex\.be' 'my_hdr From: [EMAIL PROTECTED]'
great, thanks... i'd forget the ~t :|
 
 -- 
 Eunjea 
---end quoted text---

binny

-- 

folop y'a un fichier de 61 mo dans /proc c'est normal ?
mooby ah non pas du tout
mooby efface

°v°  Benjamin Michotte[EMAIL PROTECTED]
_o_  web  : http://www.baby-linux.net



msg21741/pgp0.pgp
Description: PGP signature


problems with non a-z chars and my_hdr (1.3.24i)

2001-12-19 Thread Andreas Landmark

After I upgraded from 1.3.23 to 1.3.24 a few days ago, one of my users
started complaining that his From field was all messed up. At first I
suspected he'd made a mess of his .muttrc, but after taking time to
investigate today it seems that his .muttrc is correct.

my_hdr Christian Kjønsvik [EMAIL PROTECTED]
is the line in question, when changed to
my_hdr Christian Kjnsvik [EMAIL PROTECTED]
it worked as specified.

This user didn't complain when running 1.3.23 and he said that he hadn't
seen these problems before, so I suspect it's to do with 1.3.24...

(His From: now looks like this:
[EMAIL PROTECTED] Kjønsvik
[EMAIL PROTECTED]@quigon.noxtension.com

quigon.noxtension.com being the loginserver's real hostname...

thanks
-- 
Andreas D Landmark / noXtension
The fact that boys are allowed to exist at all is evidence of a
remarkable Christian forbearance among men.
-- Ambrose Bierce



Re: problems with non a-z chars and my_hdr (1.3.24i)

2001-12-19 Thread Vincent Lefevre

On Wed, Dec 19, 2001 at 12:18:34 +0100, Andreas Landmark wrote:
 After I upgraded from 1.3.23 to 1.3.24 a few days ago, one of my users
 started complaining that his From field was all messed up. At first I
 suspected he'd made a mess of his .muttrc, but after taking time to
 investigate today it seems that his .muttrc is correct.
 
 my_hdr Christian Kjønsvik [EMAIL PROTECTED]
 is the line in question, when changed to
 my_hdr Christian Kjnsvik [EMAIL PROTECTED]
 it worked as specified.

This is strange as it isn't a valid my_hdr line.

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Re: problems with non a-z chars and my_hdr (1.3.24i)

2001-12-19 Thread Andreas Landmark

On Wed, Dec 19, 2001 at 01:30:03PM +0100, Vincent Lefevre wrote:
 On Wed, Dec 19, 2001 at 12:18:34 +0100, Andreas Landmark wrote:
  After I upgraded from 1.3.23 to 1.3.24 a few days ago, one of my users
  started complaining that his From field was all messed up. At first I
  suspected he'd made a mess of his .muttrc, but after taking time to
  investigate today it seems that his .muttrc is correct.
  
  my_hdr Christian Kjønsvik [EMAIL PROTECTED]
  is the line in question, when changed to
  my_hdr Christian Kjnsvik [EMAIL PROTECTED]
  it worked as specified.
 
 This is strange as it isn't a valid my_hdr line.

Oops, the original lines were my_hdr From:  and it still didn't
work... (didn't use copy+paste as I use different machines for root and
non-root sessions)
-- 
Andreas D Landmark / noXtension
The only real way to look younger is not to be born so soon.
-- Charles Schulz, Things I've Had to Learn Over and
   Over and Over



Re: problems with non a-z chars and my_hdr (1.3.24i)

2001-12-19 Thread Vincent Lefevre

On Wed, Dec 19, 2001 at 15:19:11 +0100, Andreas Landmark wrote:
 On Wed, Dec 19, 2001 at 01:30:03PM +0100, Vincent Lefevre wrote:
  On Wed, Dec 19, 2001 at 12:18:34 +0100, Andreas Landmark wrote:
   After I upgraded from 1.3.23 to 1.3.24 a few days ago, one of my users
   started complaining that his From field was all messed up. At first I
   suspected he'd made a mess of his .muttrc, but after taking time to
   investigate today it seems that his .muttrc is correct.
   
   my_hdr Christian Kjønsvik [EMAIL PROTECTED]
   is the line in question, when changed to
   my_hdr Christian Kjnsvik [EMAIL PROTECTED]
   it worked as specified.
  
  This is strange as it isn't a valid my_hdr line.
 
 Oops, the original lines were my_hdr From:  and it still didn't
 work... (didn't use copy+paste as I use different machines for root and
 non-root sessions)

So, perhaps you should quote the name:

my_hdr From: Christian Kjønsvik [EMAIL PROTECTED]

(I haven't tried and don't know if this works.)

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



filters

2001-12-19 Thread giorgian

hi all,
i have been using mutt for three days, and there are tons of things i
haven't figured out yet.

i haven't found anything in the man pages about mail filters;
initially i decided to try procmail, but it is decisely too much
insane for me: i'm a member of at least 15 MLs (plus this one :) ),
and my .procmailrc is an awful mess, so i gave up.

now, is there a way to tell mutt to put received messages in folders
according to some matching rules?

thank you

--
giorgian



Re: filters

2001-12-19 Thread Thomas Hurst

* giorgian ([EMAIL PROTECTED]) wrote:

 i haven't found anything in the man pages about mail filters;
 initially i decided to try procmail, but it is decisely too much
 insane for me: i'm a member of at least 15 MLs (plus this one :) ),
 and my .procmailrc is an awful mess, so i gave up.

Giblets procmail recipes (http://www.linuxbrit.co.uk/) or my setup
(http://freak.aagh.net/dotfiles.tgz) is more like what you want; it
automagically filters mailing lists for you.

-- 
Thomas 'Freaky' Hurst  -  [EMAIL PROTECTED]  -  http://www.aagh.net/



Re: filters

2001-12-19 Thread Ralf Hildebrandt

On Wed, Dec 19, 2001 at 04:21:24PM +0100, giorgian wrote:
 hi all,
 i have been using mutt for three days, and there are tons of things i
 haven't figured out yet.
 
 i haven't found anything in the man pages about mail filters;
 initially i decided to try procmail, but it is decisely too much
 insane for me: i'm a member of at least 15 MLs (plus this one :) ),
 and my .procmailrc is an awful mess, so i gave up.

What is so hard? I use this:

:0
* ^Return-Path: [EMAIL PROTECTED]
$MAILDIR/linux-kernel/

:0
* ^Return-Path: [EMAIL PROTECTED]
$MAILDIR/squirrelmail-i18n/

:0
* ^Return-Path: [EMAIL PROTECTED]
$MAILDIR/coldsync-hackers/

:0
* ^Return-Path: [EMAIL PROTECTED]
$MAILDIR/linux-laptop/

:0
* ^Sender: [EMAIL PROTECTED]
$MAILDIR/avcheck/


-- 
Ralf Hildebrandt (Im Auftrag des Referat V A)   [EMAIL PROTECTED]
Charite Campus Virchow-Klinikum Tel.  +49 (0)30-450 570-155
Referat V A - Kommunikationsnetze - Fax.  +49 (0)30-450 570-916
We all enter this world in the same way: naked; screaming; soaked in
blood. But if you live your life right, that kind of thing doesn't
have to stop there.'   -- Dana Gould 




Re: mutt + spamassassin

2001-12-19 Thread Justin R. Miller

Thus spake Gerhard Häring ([EMAIL PROTECTED]):

 What I'd like to have is a possibility to remove the spamassassin
 markup and save the message from within mutt. Removing the markup with
 a filter works with | spamassassin -d. But how do I then save the
 filtered message? I'm using IMAP, if that matters.

In the message index, select the message and hit 'e' for edit, and at
least in vim you can hit ':' and enter this:

%!spamassassin -d

That will filter the whole message through the spamassassin reversal
and put the output in its place in the edit buffer.  Then you can just
quit vim and you'll see the old message marked for deletion and a new,
un-marked-up message in the folder as well.  

Also, if you're interested, I made a small writeup about spamassassin in
general, especially in combination with procmail and mutt: 

http://codesorcery.net/docs/spamtricks.html

I think I'll add the reversal trick when I get a chance :-)

-- 
Justin R. Miller [EMAIL PROTECTED]
View my website at http://codesorcery.net
Please encrypt email using key 0xC9C40C31



msg21749/pgp0.pgp
Description: PGP signature


Re: filters

2001-12-19 Thread Thorsten Haude

Hi,

* giorgian [EMAIL PROTECTED] [01-12-19 16:21]:
i haven't found anything in the man pages about mail filters;
initially i decided to try procmail, but it is decisely too much
insane for me: i'm a member of at least 15 MLs (plus this one :) ),
and my .procmailrc is an awful mess, so i gave up.
Try Maildrop.

Thorsten
-- 
Alles ist richtig, auch das Gegenteil.
- Kurt Tucholsky



Re: how best to use addressbook queries?

2001-12-19 Thread Christian Ordig

On Tue, Dec 18, 2001 at 11:37:31PM -0700, Mark Johnson wrote:
 Question: How do I insert both addresses into the To: line, without typing
 one out the long way? 
just tag them (using t) and then say write message (m) and
they magically appear in your To:

If only one appears, make sure auto_tag is set in your .muttrc

-- 
Christian Ordig
Germany



Re: filters

2001-12-19 Thread tim lupfer

On Dec 19 at 04:21PM giorgian wrote:

[...]
 now, is there a way to tell mutt to put received messages in folders
 according to some matching rules?

if you're just dealing with mailing lists, getmail will likely
suffice. you can find it at freshmeat, and it's easy-as-pie to
configure.

-- 
tim lupfer  [EMAIL PROTECTED]
familiarity breeds contempt--and children.
 --mark twain



Sending multipart/alternative attachments

2001-12-19 Thread Gary Johnson

I've RTFM and haven't seen a way for mutt to send (not display)
multipart/alternative attachments.  Is there an external program that
can be used with mutt to do this?  I was considering using an existing
message as a template, but I thought I read where the boundary string
has to be unique and I'd rather not have to guess at a unique sequence
and edit the boundary manually.  Besides, it would be much easier to
have the attachments assembled automatically and after all, that's what
computers are for.

Before this degenerates into a discussion of Why would you ever want to
do that? and Mail should be text/plain:  The reason I want this is
that as secretary for an organization, I need to regularly distribute a
form to the members.  The form was written as a Word document, and I'm
sure that most members would like it in that format, but I would like to
also distribute a text/plain version.

Thanks,
Gary

-- 
Gary Johnson   | Agilent Technologies
[EMAIL PROTECTED]   | Spokane, Washington, USA
http://www.spocom.com/users/gjohnson/mutt/ |



Re: Sending multipart/alternative attachments

2001-12-19 Thread Will Yardley

Gary Johnson wrote:
 
 Before this degenerates into a discussion of Why would you ever want
 to do that? and Mail should be text/plain:  The reason I want this
 is that as secretary for an organization, I need to regularly
 distribute a form to the members.  The form was written as a Word
 document, and I'm sure that most members would like it in that format,
 but I would like to also distribute a text/plain version.

well in the compose screen, you can attach as many documents as you
like, and they'll show up as MIME multipart.  so compose your message,
then exit the editor and hit 'a' to attach the first document, rinse,
lather, repeat.

that should do what you want, no?

-- 
Experience -- a great teacher, but the tutition fees...



Re: auto_view problem

2001-12-19 Thread Michael Tatge

Roman Neuhauser muttered:
 I started playing with auto_view, but stumbled upon a problem:
 
 roman@roman ~  grep tar-gz ~/.mailcap
 application/x-tar-gz; tar tzf -;copiousoutput

[-- Attachment #2: test.tar.gz --]
[-- Type: application/x-tar-gz, Encoding: base64, Size: 325K --]

[-- Autoview using tar tzf - --]
ipachart.gif
metacomp

 application/x-tar-gz; gunzip -c %s|tar tf -;copiousoutput

that should work, too:

[-- Attachment #2: test.tar.gz --]
[-- Type: application/x-tar-gz, Encoding: base64, Size: 325K --]

[-- Autoview using gunzip -c '/home/t/tmp/test.tar.gz'|tar tf - --]
ipachart.gif
metacomp

Both tested under Linux 2.4.3 with gzip-1.2.4a and tar-1.13.19.
Sorry don't know where else to look.

Michael
-- 

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



Re: Sending multipart/alternative attachments

2001-12-19 Thread Gary Johnson

On Wed, Dec 19, 2001 at 11:21:00AM -0800, Will Yardley wrote:

 well in the compose screen, you can attach as many documents as you
 like, and they'll show up as MIME multipart.  so compose your message,
 then exit the editor and hit 'a' to attach the first document, rinse,
 lather, repeat.
 
 that should do what you want, no?

That will give me multiple attachments, which may be good enough, but I
was hoping to use the alternative tag to allow each recipient's MUA to
display only one version of the attachment, the one with the user's
preferred Content-Type.  I was also hoping this would cue the recipients
that there really is only one form they need to fill out, without me
having to spell it out in the cover letter.  On the other hand, maybe
giving them an explicit choice of formats would be better.

Gary

-- 
Gary Johnson   | Agilent Technologies
[EMAIL PROTECTED]   | Spokane, Washington, USA
http://www.spocom.com/users/gjohnson/mutt/ |



Re: Sending multipart/alternative attachments

2001-12-19 Thread Thomas Hurst

Ooops, proof that that X-Uptime header's not entirely useless.  Just
noticed I had a locked-up proftpd process that's been there for the last
4 hours :)

* Gary Johnson ([EMAIL PROTECTED]) wrote:

 I've RTFM and haven't seen a way for mutt to send (not display)
 multipart/alternative attachments.  Is there an external program that
 can be used with mutt to do this?  I was considering using an existing
 message as a template, but I thought I read where the boundary string
 has to be unique and I'd rather not have to guess at a unique sequence
 and edit the boundary manually.  Besides, it would be much easier to
 have the attachments assembled automatically and after all, that's
 what computers are for.

Have mutt generate the MIME stuff, then post-filter the message to alter
the headers to make it mutlipart/alternative?

It should be specified in an rfc anyway; good idea to read that if you
can't have something else generate it for you.

-- 
Thomas 'Freaky' Hurst  -  [EMAIL PROTECTED]  -  http://www.aagh.net/



Re: Sending multipart/alternative attachments

2001-12-19 Thread Thomas Hurst

* Gary Johnson ([EMAIL PROTECTED]) wrote:

 On the other hand, maybe giving them an explicit choice of formats
 would be better.

Personally I'd multipart/alternate the Word version so even if word
breaks they can still read the message, and give a choice of not
including the word version at signup.  Same with HTML; I may well be
able to read HTML messages, but if lynx breaks I'd still like to be able
to read it, if only to find how to change it :)

-- 
Thomas 'Freaky' Hurst  -  [EMAIL PROTECTED]  -  http://www.aagh.net/



Re: Sending multipart/alternative attachments

2001-12-19 Thread Gary Johnson

On Wed, Dec 19, 2001 at 08:02:03PM +, Thomas Hurst wrote:
 * Gary Johnson ([EMAIL PROTECTED]) wrote:
 
  On the other hand, maybe giving them an explicit choice of formats
  would be better.
 
 Personally I'd multipart/alternate the Word version so even if word
 breaks they can still read the message, and give a choice of not
 including the word version at signup.  Same with HTML; I may well be
 able to read HTML messages, but if lynx breaks I'd still like to be able
 to read it, if only to find how to change it :)

What I meant was that maybe I should send the attachments to everyone as
multipart/mixed so that they would see two attachments, form.doc and
form.txt, and could decide when they respond which version they want to
fill out.  I would prefer not to keep track of which recipients prefer
which version, but I suppose that really wouldn't be that much extra
work.

Gary

-- 
Gary Johnson   | Agilent Technologies
[EMAIL PROTECTED]   | Spokane, Washington, USA
http://www.spocom.com/users/gjohnson/mutt/ |



national chars in subject

2001-12-19 Thread Paulius Bulotas

Hello,

today I installed my locale and I'm trying to get mutt to work with
it... but ;) there is one problem - I could not use national chars in
subject (To and so on), because instead of them mutt produces other ascii
chars (I could not type them).

My OS is FreeBSD 4.4-Release, mutt 1.3.24i compile options are:
System: FreeBSD 4.4-RELEASE (i386) [using ncurses 5.1]
Compile options:
-DOMAIN
+DEBUG
+HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
-USE_FCNTL  +USE_FLOCK
-USE_POP  -USE_IMAP  -USE_GSS  -USE_SSL  -USE_SASL
+HAVE_REGCOMP  -USE_GNU_REGEX
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT
+ENABLE_NLS  +LOCALES_HACK  -HAVE_WC_FUNCS  -HAVE_LANGINFO_CODESET
-HAVE_LANGINFO_YESEXPR
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  -HAVE_GETADDRINFO

TIA
Regards,
Paulius



Re: Quoting when replying

2001-12-19 Thread Thorsten Haude

Hi,

* David T-G [EMAIL PROTECTED] [01-12-18 13:32]:
Hey, he said it happenned with Crosspoint, and I'd never heard of it
until we traded some email recently.  If something of which I've never
heard can do that, surely something of which I have might have the same
shot!
Wrong network, wrong country, wrong OS, wrong decade.

Crosspoint was successful with BBS nets in Germany and it run on DOS.

Thorsten
-- 
The history of Liberty is a history of the limitation of government power.
- Woodrow Wilson



Re: Quoting when replying

2001-12-19 Thread Thorsten Haude

Hi,

* Rob 'Feztaa' Park [EMAIL PROTECTED] [01-12-18 00:02]:
It's a quote string! Get over it!
My thoughts exactly.

Thorsten
-- 
Question Authority!



Re: process substitution (was: Re: Searching big gobs of e-mail)

2001-12-19 Thread Vineet Kumar

* Gregor Zattler ([EMAIL PROTECTED]) [011218 03:44]:
 Hi Peter,
 hi mutt users,
 * Peter Poeml [EMAIL PROTECTED] [Mon 10 Dez 2001 20:04:17 GMT]:
 [...]
  As mentioned before, grepmail can jump in because mutt works on single
  mail boxes. Now I was curious and figured out the command for your real
  example:
  
  mutt -f (grepmail -huqd between 2001-09-01 and 2001-10-01 \
  ^From.*frob@(foo|bar).net mbox1 mbox2 mbox3)
 
 This seems cool but when i gave it a (much more simppler) try:
 
 mutt -f (grepmail -h cco@ *)
 
 i see mutt reading messages from /dev/fd/63, a few messages from
 grepmaiol and then: 
 
 the mutt index which first looks fine but when I hit enter to read a
 message the pager was empty...
 
 also 
 
 ae (ls)
 emacs (ls)
 jed (ls)
 
 did not work.
 
 
 Any hints?

Well, it won't help the bash-users out there, but anyone willing to give
zsh a try will benefit from this excerpt from the Process substitution
of the zshexpn manpage:

   Both  the  /dev/fd  and the named pipe implementation have
   drawbacks.  In the former case, some programmes may automatically
   close the file descriptor in question before examining the file
   on the  command line, particularly if this is necessary for
   security reasons such as when the pro­ gramme is running setuid.
   In the second case, if the programme  does  not  actually  open
   the file,  the subshell attempting to read from or write to the
   pipe will (in a typical implementa­ tion, different operating
   systems may have different behaviour) block for ever and have  to
   be killed explicitly.  In both cases, the shell actually supplies
   the information using a pipe, so that programmes that expect to
   lseek (see lseek(2)) on the file will not work.

...

   If = is used, then the file passed as an argument will be the
   name of a temporary file contain­ ing  the output of the list
   process.  This may be used instead of the  form for a program
   that expects to lseek (see lseek(2)) on the input file.

So this works for me:

mutt -f =(mboxgrep -mmaildir '^From:.*callahan@homicide\.SFPD\.gov' $MAIL)

mboxgrep even adds the wicked ^From_  lines!


Really, though, zsh effectively does the same thing as what grepm does,
with the temp file.

Vineet

-- 
Satan laughs when  #  I disapprove of what you say, but I will
we kill each other.#   defend to the death your right to say it.
Peace is the only way. #  --Beatrice Hall, The Friends of Voltaire, 1906




msg21763/pgp0.pgp
Description: PGP signature


Re: problems with non a-z chars and my_hdr (1.3.24i)

2001-12-19 Thread Andreas Landmark

On Wed, Dec 19, 2001 at 03:44:27PM +0100, Vincent Lefevre wrote:
 
 So, perhaps you should quote the name:
 
 my_hdr From: Christian Kjønsvik [EMAIL PROTECTED]
 
 (I haven't tried and don't know if this works.)

It doesn't, same result, the From-field is perverted in a slightly
different way, it doesn't split it as before, but it still appends the
real hostname twice (which it doesn't if you remove the ø).

I told the user to change his name, and luckily for me he didn't
complain (so from now on, he's known as Kjonsvik ;-).

I'll do some more research later on and submit something through flea or
actually take the time to workout the patch myself (if the rush before
xmas allows me...)

-- 
Andreas D Landmark / noXtension
Our vision is to speed up time, eventually eliminating it.
-- Alex Schure



Re: national chars in subject

2001-12-19 Thread Andreas Landmark

On Wed, Dec 19, 2001 at 11:13:03PM +0200, Paulius Bulotas wrote:
 Hello,
 
 today I installed my locale and I'm trying to get mutt to work with
 it... but ;) there is one problem - I could not use national chars in
 subject (To and so on), because instead of them mutt produces other ascii
 chars (I could not type them).
 

snip-system-config

What's your locale in the spawning shell?

(try export LC_ALL=XX where XX is your countrycode, you might want to
finegrain which locale-variable you set as you might not want your shell
to be translated aswell (and all the other locale-supporting applics).


-- 
Andreas D Landmark / noXtension
Try to get all of your posthumous medals in advance.



Re: Quoting when replying

2001-12-19 Thread Rob 'Feztaa' Park

On Wed, Dec 19, 2001 at 08:49:47AM +0100, Thorsten Haude (dis)graced my inbox with:
 defeat the very purpose of the quote signs. Wenn ich auf einmal die
 Sprache wecheln würde, nur damit es für *mich* klarer ist was ich
 schreibe, hätten die meisten anderen ebenfalls nichts davon.

I'm a little rusty on my german, but I think this means:

If I decide to speak a different language, it is only clearer for *me*
to write, but it screws everything up for everybody else.

I know that's not _quite_ right, but I'm too lazy to get out my
dictionary :)

 Thorsten
 -- 
 Intolerant people should be shot.

Too ironic!! We have to shoot you now, Thorsten :)

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
I chased a girl for two years only to discover that her tastes 
were exactly like mine: We were both crazy about girls.
-- Groucho Marx



msg21766/pgp0.pgp
Description: PGP signature


Charset problem

2001-12-19 Thread Rob 'Feztaa' Park

Hello all, I'm having a problem with my charset in mutt 1.3.24 on Debian
Woody.

I've set my charset to iso-8859-1, but many characters display as a ?. I
had a similar problem on mandrake, but I fixed it by setting the charset
to what it is now. It's no longer working.

Any suggestions?

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
In short, just as the Multics mentality of careful access controls shows
up throughout Unix, the cretinous CP/M mentality of uncontrolled havoc shows
up in DOS and all it's mutant children.
-- Tom Christiansen



msg21767/pgp0.pgp
Description: PGP signature


Re: Charset problem

2001-12-19 Thread Brian Clark

Hi Rob,

* Rob 'Feztaa' Park ([EMAIL PROTECTED]) [Dec 19. 2001 21:25]:

 Hello all, I'm having a problem with my charset in mutt 1.3.24 on Debian
 Woody.

Using woody, too. Make sure you have the locales package installed.

 I've set my charset to iso-8859-1, but many characters display as a ?. I
 had a similar problem on mandrake, but I fixed it by setting the charset
 to what it is now. It's no longer working.

I fixed this problem by setting my locales (LC_*) in my shell's rc
file(s), then adding that information to /etc/environment. I would get
the ?'s if I started an `aterm -e mutt' from a bbkeys key binding, but I
didn't get the ?' if I started an xterm, then manually typed in `mutt'

Also, you might have to:

cd /usr/lib/locale

then run:

localedef -c -i en_US -f ISO-8859-1 en_US

(or whatever..)

And of course set up your LC_* environment in your shell rc file and
/etc/environment.

Mine looks like:

(~)% locale
LANG=en_US
LC_CTYPE=en_US
LC_NUMERIC=en_US
LC_TIME=en_US
LC_COLLATE=en_US
LC_MONETARY=en_US
LC_MESSAGES=en_US
LC_PAPER=en_US
LC_NAME=en_US
LC_ADDRESS=en_US
LC_TELEPHONE=en_US
LC_MEASUREMENT=en_US
LC_IDENTIFICATION=en_US
LC_ALL=en_US

 Any suggestions?

I'm no expert, by any means, but that solved my problem. If that doesn't
work, email me off list and we'll try to figure it out -- unless of course
another Debian user on this list knows more about locales.

-- 
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
Imminent Death of the Net Predicted. GIFs at 11.




Re: Charset problem

2001-12-19 Thread Rob 'Feztaa' Park

On Wed, Dec 19, 2001 at 09:39:32PM -0500, Brian Clark (dis)graced my inbox with:
 Hi Rob,

hello.

  Hello all, I'm having a problem with my charset in mutt 1.3.24 on Debian
  Woody.
 
 Using woody, too. Make sure you have the locales package installed.

Which one? There are many, for different purposes. These ones might be
relevant:

icu-locales 1.8.1-2 (not installed)
locales 2.2.4-7 (installed)
util-linux-locales 2.11n-2 (installed)

  I've set my charset to iso-8859-1, but many characters display as a ?. I
  had a similar problem on mandrake, but I fixed it by setting the charset
  to what it is now. It's no longer working.
 
 I fixed this problem by setting my locales (LC_*) in my shell's rc
 file(s), then adding that information to /etc/environment. I would get
   
I don't have this file.

 the ?'s if I started an `aterm -e mutt' from a bbkeys key binding, but I
 didn't get the ?' if I started an xterm, then manually typed in `mutt'
 
 Also, you might have to:
 
 cd /usr/lib/locale
 
 then run:
 
 localedef -c -i en_US -f ISO-8859-1 en_US
 
 (or whatever..)

Ok, did that.

Before I ran it, /usr/lib/locales was empty, now there's a
/usr/lib/locales/en_US.

Does that mean I should configure all my LC_* variables to be en_US?

 And of course set up your LC_* environment in your shell rc file and
 /etc/environment.
 
 Mine looks like:
 
 (~)% locale
 LANG=en_US
 LC_CTYPE=en_US
 LC_NUMERIC=en_US
...
 LC_ALL=en_US

Mines like this:

LANG=POSIX
LC_CTYPE=POSIX
LC_NUMERIC=POSIX
LC_TIME=POSIX
LC_COLLATE=POSIX
LC_MONETARY=POSIX
LC_MESSAGES=POSIX
LC_PAPER=POSIX
LC_NAME=POSIX
LC_ADDRESS=POSIX
LC_TELEPHONE=POSIX
LC_MEASUREMENT=POSIX
LC_IDENTIFICATION=POSIX
LC_ALL=

After I ran that other command, I just tested it and it isn't working.

Could you provide a little more details about where I configure those
LC_* variables? Just in ~/.bashrc? or somewhere special?

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
In Australia, not reading poetry is the national pastime.
-- Phyllis McGinley



msg21769/pgp0.pgp
Description: PGP signature


Re: filters

2001-12-19 Thread Prahlad Vaidyanathan

Hi,

On Wed, 19 Dec 2001 giorgian spewed into the ether:
 hi all,
 i have been using mutt for three days, and there are tons of things i
 haven't figured out yet.
 
 i haven't found anything in the man pages about mail filters;
 initially i decided to try procmail, but it is decisely too much
 insane for me: i'm a member of at least 15 MLs (plus this one :) ),
 and my .procmailrc is an awful mess, so i gave up.

Check out :

http://www.symonds.net/~prahladv/files/procmailrc

pv.

-- 
Regression analysis:
Mathematical techniques for trying to understand why things are
getting worse.
-- 



msg21770/pgp0.pgp
Description: PGP signature


Re: Charset problem

2001-12-19 Thread Brian Clark

* Rob 'Feztaa' Park ([EMAIL PROTECTED]) [Dec 19. 2001 23:17]:

  Using woody, too. Make sure you have the locales package installed.

 Which one? There are many, for different purposes. These ones might be
 relevant:

 icu-locales 1.8.1-2 (not installed)
 locales 2.2.4-7 (installed)

That one ^^ I think. That's what I have installed. I just did a
`dpkg-reconfigure locales' and chose my preference.

[...]

  I fixed this problem by setting my locales (LC_*) in my shell's rc
  file(s), then adding that information to /etc/environment. I would get

 I don't have this file.

Huh? Well it's there in a default setup in my woody. I have no idea
what's going on there. 

[...]

  localedef -c -i en_US -f ISO-8859-1 en_US

  (or whatever..)

 Ok, did that.

 Before I ran it, /usr/lib/locales was empty, now there's a
 /usr/lib/locales/en_US.

 Does that mean I should configure all my LC_* variables to be en_US?

Yep, that's what I meant by or whatever -- if you wanted something
else other than en_US

Just out of curiosity, do you have the file /usr/share/i18n/locales/en_US?

[...]

 Mines like this:

 LANG=POSIX
 LC_CTYPE=POSIX
 LC_NUMERIC=POSIX
 LC_TIME=POSIX
 LC_COLLATE=POSIX
 LC_MONETARY=POSIX
 LC_MESSAGES=POSIX
 LC_PAPER=POSIX
 LC_NAME=POSIX
 LC_ADDRESS=POSIX
 LC_TELEPHONE=POSIX
 LC_MEASUREMENT=POSIX
 LC_IDENTIFICATION=POSIX
 LC_ALL=

 After I ran that other command, I just tested it and it isn't working.

 Could you provide a little more details about where I configure those
 LC_* variables? Just in ~/.bashrc? or somewhere special?

Yeah I use bash, so I set my ~/.bashrc with the correct LC_* settings
(you could set yours to en_US if that's what you wanted.)

Set those in your ~/.bashrc, source your .bashrc (% . ~/.bashrc) then
type in mutt and look at an email where you get the ? marks and see if
it's right. (open a shell and type in mutt manually to make sure it
*is* working from there before you try it from a menu, key-binding, etc.)

-- 
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
STATUS QUO is Latin for the mess we're in.




Re: Charset problem

2001-12-19 Thread Rob 'Feztaa' Park

On Wed, Dec 19, 2001 at 11:33:31PM -0500, Brian Clark (dis)graced my inbox with:
  icu-locales 1.8.1-2 (not installed)
  locales 2.2.4-7 (installed)
 
 That one ^^ I think. That's what I have installed. I just did a
 `dpkg-reconfigure locales' and chose my preference.

I figured that was the one, but wasn't sure.

I did the dpkg thing, and chose en_US ISO-8859-1. Still not working.

   I fixed this problem by setting my locales (LC_*) in my shell's rc
   file(s), then adding that information to /etc/environment. I would get
 
  I don't have this file.
 
 Huh? Well it's there in a default setup in my woody. I have no idea
 what's going on there. 

Me either.

   localedef -c -i en_US -f ISO-8859-1 en_US
 
   (or whatever..)
 
  Ok, did that.
 
  Before I ran it, /usr/lib/locales was empty, now there's a
  /usr/lib/locales/en_US.
 
  Does that mean I should configure all my LC_* variables to be en_US?
 
 Yep, that's what I meant by or whatever -- if you wanted something
 else other than en_US

en_US is fine. I'm Canadian, but it's not like there's a difference that
anybody cares about.

 Just out of curiosity, do you have the file /usr/share/i18n/locales/en_US?

Yup.

There's a ton of others in that folder, too.

  After I ran that other command, I just tested it and it isn't working.
 
  Could you provide a little more details about where I configure those
  LC_* variables? Just in ~/.bashrc? or somewhere special?
 
 Yeah I use bash, so I set my ~/.bashrc with the correct LC_* settings
 (you could set yours to en_US if that's what you wanted.)

I set them in my ~/.bashrc file and it didn't change anything (yes, I
sourced the config file. The locale command still shows the POSIX
stuff.)

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
When I was a kid I used to pray every night for a new 
bicycle. Then I realized that the Lord doesn't work that 
way, so I stole one and asked Him to forgive me.
-- Emo Philips



msg21772/pgp0.pgp
Description: PGP signature