Re: RFC 1342 and mutt

2002-07-27 Thread Nicolas Rachinsky

* jennyw <[EMAIL PROTECTED]> [2002-07-26 11:22 -0700]:
> I've been noticing I get some messages where the subject begins with
> =?US-ASCII?Q??=. I looked this up on google (took some time

Can you send us the whole string? =?US-ASCII?Q??=


Nicolas



Re: RFC 1342 and mutt

2002-07-27 Thread Lukas Ruf

On Fri, 26 Jul 2002, jennyw wrote:

> I've been noticing I get some messages where the subject begins with
> =?US-ASCII?Q??=. I looked this up on google (took some time
> because a ton of things come up when you just look for the string) and
> finally found RFC 1342, which said that this was non-ascii text, and that
> the character set is what appears after the =? (us-ascii in this case,
> instead of ascii).
> 

I have a quite similar problem when displaying names of receivers who have 
German umlauts.  It is very strange however.  When I receive emails with
German umlauts in the name of the sender, they get correctly
displayed.   When I replied to such a message, the names of the (now)
receivers suffer from the same problem, for example:

  100   F Jun 19 To Michel=?iso-8859-1? (0.3K)   mq>
  101   T Jun 19 Michel Dänzer  (0.3K) mq>

(cut-&-paste from my index)

I am using mutt 1.4i, edit all my stuff with vim 6.1 on a debian 3.0
system, and mutt -v results in:
komsys-pc-basel:~!56> mutt -v
  Mutt 1.4i (2002-05-29)
  [..]
  System: Linux 2.4.17-basel.v2 (i686) [using ncurses 5.2]
  Compile options:
  DOMAIN="maremma.ch"
  -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  
  ISPELL="/usr/bin/ispell"
  SENDMAIL="/usr/sbin/sendmail"
  MAILPATH="/var/mail"
  PKGDATADIR="/usr/local/share/mutt"
  SYSCONFDIR="/etc/mutt"
  EXECSHELL="/bin/sh"
  -MIXMASTER
  [..]

In my muttrc I have the following definitions (based on hints I got by
this mailing lists):


  set charset="iso-8859-1"
  set send_charset="us-ascii:iso-8859-1:iso-8859-15:windows-1252:utf-8"
  set locale="de_CH"  

  #
  # charset-hook alias charset
  # (define charset aliases)
  #
  charset-hook x-unknown ISO-8859-1
  charset-hook windows-1250 CP1250
  charset-hook windows-1251 CP1251
  charset-hook windows-1252 CP1252
  charset-hook windows-1253 CP1253
  charset-hook windows-1254 CP1254
  charset-hook windows-1255 CP1255
  charset-hook windows-1256 CP1256
  charset-hook windows-1257 CP1257
  charset-hook windows-1258 CP1258


Thanks for any hint.

Lukas



Re: RFC 1342 and mutt

2002-07-27 Thread Velko Hristov

On 26 Jul 2002 20:41, jennyw wrote:

> I also have /usr/share/i18n/charmaps/CP1251.gz.  However, when I use your 
> hooks, I still get the =?us-ascii ... I'm using Debian 3.0, by the way.

The snip from my .muttrc was thought as an example only, because cp1251
refers to cyrillic encoding and my locale is set to bg_BG.CP1251. I
think you should set your hooks to value corresponding to you locale
settings (see the values of LC_ALL and LANG).

> Do you know where I can read more about charsets?  This is one of those

man -a locale does not say many things. The excellent sources that I
have used are unfortunately written in bulgarian language. So I can't
point you to an english text.

> Jen

Velko



Re: RFC 1342 and mutt

2002-07-27 Thread Velko Hristov

On 26 Jul 2002 20:41, jennyw wrote:

> of mutt. Also, how did you figure out the real name of the charsets?  
> There's no way I would have guessed that US-ASCII was really CP1251.

Oh sorry, forgot about this part. us-ascii has nothing to do with
cp1251. But because in cp1251 the latin letters are also present on the
same positions like in us-ascii I still can read mails written in
English, nevertheless I use cp1251 instead of us-ascii. The only problem
with this approach is the substitution of iso-8859-1 with cp1251 (by
charset-hook in my .muttrc) because I see cyrillic letters instead of 
german umlauts. But I can live with that.

Velko



Re: RFC 1342 and mutt

2002-07-27 Thread Rocco Rutte

Hi,

* jennyw [02-07-27 13:53:03 +0200] wrote:
> On Fri, Jul 26, 2002 at 11:37:46PM +0200, Michael Tatge wrote:

> > try setting rfc2047_parameters. And read section 6.3.189
> > of the manual.
> I tried this, but no dice.

Clear. It only affects encoding in MIME parameters which is
not allowed (but this way you can handle it, too).

> By the way, RFC 2047 seems to refer to attachments. I'm
> having trouble with the subject header, so maybe it
> doesn't apply?

RfC2047:

,-
| MIME (Multipurpose Internet Mail Extensions) Part Three:
| Message Header Extensions for Non-ASCII Text
`-

   bye, Rocco



Re: RFC 1342 and mutt

2002-07-27 Thread Rocco Rutte

Hi,

* jennyw [02-07-27 13:52:23 +0200] wrote:
> I've been noticing I get some messages where the subject
> begins with =?US-ASCII?Q??=.

First of all, in this case the encoding is stupid since it
only wasts bandwidth. The default for use in headers is
us-ascii (us-ascii and ascii is no difference at all) and
thus 7bit. It is correct to encode allready 7bit clean
subjects like this... but it's useless.

> After reading this, I decided to see what other IMAP
> clients saw when they displayed these messages, and they
> do not show the us-ascii thing, which means that they
> understand rfc 1342.

Clients (like mutt) should implement MIME and thus RfC2047.
RfC2047 is from 1996... enough time, IMHO.

> Is there a way to get mutt to do so, also?  Or does mutt
> use some external program I need in order to do this?

Mutt has internal routines to handle RfC2047. If you see the
encoded instead of the decoded string, mutt wasn't abled to
decode it because most likely the sender's client is broken.

There's no real solution for use on your side. Personally I
use a mailfilter which corrects broken encodings but there's
no mutt-only solution I know of.

   bye, Rocco



Mutt + Outbox

2002-07-27 Thread Dean Richard Benson

Hi all

I am wondering if anyone has any good suggestions for how to handle the
usage of an "outbox".

I like to keep all of my outgoing mail in case I ever need to look back
at what I sent to someone.

So in my mutt config file I have this:
set record=Mail/outbox

..that works a treat, except that its starting to grow a little (after 4
months), and I think maybe the ability to have an outbox folder and then
for the above command to auto-assign to the correct month?

Any suggestions, or possible solutions would be nice to hear! :)

TIA

Dean



msg29899/pgp0.pgp
Description: PGP signature


Re: Mutt + Outbox

2002-07-27 Thread Rocco Rutte

Hi,

* Dean Richard Benson [02-07-27 19:05:49 +0200] wrote:

[...]
> So in my mutt config file I have this:
> set record=Mail/outbox

> ..that works a treat, except that its starting to grow a
> little (after 4 months), and I think maybe the ability to
> have an outbox folder and then for the above command to
> auto-assign to the correct month?

What about:

  set record='~/Mail/outbox-`date "+%m"`'

You could also leave it as it currently is and use the
 function to view only mails within a specific 
date range.

   bye, Rocco



Is it possible to enter folder collapsed?

2002-07-27 Thread Dirk Zimmermann

Hello,

I start my mutt with -y option. I have some huge threaded mailboxes and
I like to enter these boxes collapsed, so that I don't have to do V
-- yes I am lazy. I assume it is possible, but how. Can someone help?


Best,
Dirk

-- 
Some links:
 -- Wie zitiert man richtig
   -- Sichere, erinnerebare Passwörter
 |  | 



Re: Is it possible to enter folder collapsed?

2002-07-27 Thread Andre Berger


--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Dirk Zimmermann <[EMAIL PROTECTED]>, 2002-07-27 13:21 -0400:
> Hello,
>=20
> I start my mutt with -y option. I have some huge threaded mailboxes and
> I like to enter these boxes collapsed, so that I don't have to do V
> -- yes I am lazy. I assume it is possible, but how. Can someone help?

Hi Dirk!

#collapse threads
folder-hook . "push \eV"
set collapse_unread=3Dyes
set uncollapse_jump=3Dyes

-Andre

--3MwIy2ne0vdjdPXF
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9QtdhWkhBtALlJZ0RAlpWAJ0XCuSb0zrVYCAj+Dpn2Zw+npS8QQCfT/wO
oWOPGaFvOBissmQsofX5gqg=
=M+Sl
-END PGP SIGNATURE-

--3MwIy2ne0vdjdPXF--



Re: RFC 1342 and mutt

2002-07-27 Thread Luke Ravitch

On 2002-07-27 08:00, Rocco Rutte <[EMAIL PROTECTED]> wrote:
> There's no real solution for use on your side. Personally I
> use a mailfilter which corrects broken encodings but there's
> no mutt-only solution I know of.

Could you post your filters (or a link)?  Thanks.

-- 
Luke



Re: Is it possible to enter folder collapsed?

2002-07-27 Thread Dirk Zimmermann

Hallo Andre,

* Andre Berger <[EMAIL PROTECTED]> [2002-07-27 19:40]:
> #collapse threads
> folder-hook . "push \eV"
> set collapse_unread=yes
> set uncollapse_jump=yes

Works fine! Thanks a lot!


Best,
Dirk

-- 
Some links:
 -- Wie zitiert man richtig
   -- Sichere, erinnerebare Passwörter
 |  | 



multiple mail personalities

2002-07-27 Thread Russell L. Harris

 I'm a mutt newbie.  I need to implement a business mail personality 
and a personal mail personality on the same host machine, so that my 
replies to business mail appear to originate from the business mail address 
([EMAIL PROTECTED]) and my replies to personal mail appear to originate from 
the personal mail address ([EMAIL PROTECTED]).

 I haven't seen this matter addressed specifically in the manual; did I 
miss something?

system:  Debian 3.0 ("Woody")
mail accounts:  POP3
mail runner:  fetchmail
MTA:  exim (using smarthost at ISP)

RLH





Re: multiple mail personalities

2002-07-27 Thread Will Yardley

Russell L. Harris wrote:

> I'm a mutt newbie.  I need to implement a business mail personality 
> and a personal mail personality on the same host machine, so that my 
> replies to business mail appear to originate from the business mail address 
> ([EMAIL PROTECTED]) and my replies to personal mail appear to originate from 
> the personal mail address ([EMAIL PROTECTED]).
> 
> I haven't seen this matter addressed specifically in the manual; did I 
> miss something?

in this case, your best bet is probably to set $reverse_name, and to set
$alternates correctly.

you can also check the archives for some schemes to create "identities"
when you need to adjust other things as well as the from address.
 
-- 
Will Yardley
input: william < @ hq . newdream . net . >




Re: Mutt + Outbox

2002-07-27 Thread Dave Goodrich

On Sat, Jul 27, 2002 at 05:58:55PM +0100, Dean Richard Benson wrote:
> Hi all
> 
> I am wondering if anyone has any good suggestions for how to handle the
> usage of an "outbox".
> 
I have a procmail recepie which will allow you to filter all your outbound
mail, drop into boxes based on recipient, from identity, whatever you
like. I got the idea a few months ago, and someone else on the list
(forgot the name, sorry) made it work.

I can send you the info if you like.

DAve


-- 
My other computer is your Windows machine...





msg29907/pgp0.pgp
Description: PGP signature


Re: Mutt + Outbox

2002-07-27 Thread Michael Maibaum

* Dave Goodrich <[EMAIL PROTECTED]> [2002-07-27 12:25]:
> On Sat, Jul 27, 2002 at 05:58:55PM +0100, Dean Richard Benson wrote:
> > Hi all
> > 
> > I am wondering if anyone has any good suggestions for how to handle the
> > usage of an "outbox".
> > 
> I have a procmail recepie which will allow you to filter all your outbound
> mail, drop into boxes based on recipient, from identity, whatever you
> like. I got the idea a few months ago, and someone else on the list
> (forgot the name, sorry) made it work.

procmail?

I just use mutt ot sort my outgoing mailfor example.

fcc-hook (elaine.taylor|e.taylor) =outbox/e.taylor
fcc-hook darwin =outbox/darwin-lists
fcc-hook . =outbox/%O 

works for me...

(and I prefer Mail::Audit for incoming mail anyhow...)

Michael

-- 
Dr Michael A. Maibaum - (W)+1 (415) 561 1682 /~\ The ASCII
<[EMAIL PROTECTED]>- (H)+1 (415) 626 6733 \ /   Ribbon Campaign
  X  Help Cure
 / \HTML Email



msg29908/pgp0.pgp
Description: PGP signature


Re: multiple mail personalities

2002-07-27 Thread Marco Fioretti

William,

you seem to be looking for the tecnique explained here:

http://www.acoustics.hut.fi/~mara/mutt/profiles.html

Enjoy,
Marco Fioretti

Red Hat 7.3 for low memory: www.rule-project.org/
-- 
A dream will always triumph over reality, once it is given the chance.
Stanislaw Lem