Help

2002-01-30 Thread Mauro Bardini


I'm in trouble tryng to use mutt-prcmail to manage my attach files, I'm
using this piece of figuration in my procmailrc

METAMAIL_TMPDIR=$MAILDIR/attach/$DATE
:0cbhHB:
| metamail -q -w -x
   


to save tha attach file separately. all is working well, but the name of the
output file of metamail (the attach file I want to use) seems a random
sequence of letter. In the man page of metamail I read: 

-w 
This option tells metamail that instead of consulting a mailcap file to
decide how to display the data, it should simply decode each part and write
it to a file in its raw (possibly binary) format. Depending on the
circumstances in which it is called, metamail may derive the file name to
use from the message headers, by asking the user, or by generating a unique
temporary file name.


But i'd like to have my attach file with the original name, If someone send
me the XYZ.gif file I would like to rescue in my $MAILDIR/attach/$DATE
directory looking for the name XYZ.gif

Thanks
MAuro

_
This message has been checked for all known viruses by UUNET delivered 
through the MessageLabs Virus Control Centre. For further information visit
http://www.uk.uu.net/products/security/virus/



2 Q's about printing...

2002-01-30 Thread Nick Wilson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi everyone.

Currently I have to print msg's via the pipe command. I have 2 questions
regarding this:

1.  How can I print only the headers I see on the screen as opposed to
all of them when I '| lpr'?

2.  Why do I /have/ to pipe to lpr? It doesn't work if I just print.


Much thanks as always.
- -- 

Nick Wilson

Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8WALUHpvrrTa6L5oRAm+MAJ4trZD7x0fXbfk6EV7qd2KIsO/rLACgk4Rn
GB+XrCK1COp3zS15wlh7FGk=
=ndPo
-END PGP SIGNATURE-



Re: 2 Q's about printing...

2002-01-30 Thread Justin R. Miller

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thus spake Nick Wilson ([EMAIL PROTECTED]):

 Currently I have to print msg's via the pipe command. 

You might want to also check out muttprint.  

- -- 
[!] Justin R. Miller [EMAIL PROTECTED]
PGP 0xC9C40C31 -=- http://codesorcery.net

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

iD8DBQE8WAku94d6K8nEDDERAn8LAJ49ZapzHed0JXKe6USW14o/cBSJ4ACfThO6
0SmQR9uaLW60j1k9A1pTr88=
=3h4E
-END PGP SIGNATURE-



Re: 2 Q's about printing...

2002-01-30 Thread Jeremy Blosser

On Jan 30, Nick Wilson [[EMAIL PROTECTED]] wrote:
 Currently I have to print msg's via the pipe command. I have 2 questions
 regarding this:
 
 1.  How can I print only the headers I see on the screen as opposed to
 all of them when I '| lpr'?

Well using pipe, set pipe_decode.

 2.  Why do I /have/ to pipe to lpr? It doesn't work if I just print.

Verify that your value for print_cmd is correct (it should probably be the
same as whatever you are piping to).  Related to question 1, you'll
probably want to set print_decode as well.



msg23991/pgp0.pgp
Description: PGP signature


libiconv

2002-01-30 Thread Bechtold, Katie

I'm trying to install mutt on a Slackware 7.0 system, but I'm stuck on the
configure step.  I get the following error:

checking whether this iconv is good enough... no
configure: error: Try using libiconv instead

I just installed libiconv-1.7, but I see that's not enough to make configure
see it.  What do I have to do to use libiconv?

Please CC me on any replies.  Thanks!

--
o-
Katie Bechtold o ___
www.katie-and-rob.org/katie//.  \/
\___/\



Re: 2 Q's about printing...

2002-01-30 Thread Igor Pruchanskiy

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Currently I have to print msg's via the pipe command. I have 2 questions
 regarding this:

I am using muttprint. It is superior. I have used a2ps and enscript
before, but i ended up with muttprint and i love it. Even though my boss
makes fun of a cute little penguin :)

igor

- -- 
Uptime : 49 days,  9:01
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8WCJ4xOY724kDbSARAnalAJ9lt7bZkbMpR3h3fhqmmlTVE6okxQCfXk96
aeqk/iQpy+MvMZq3jpX4h6U=
=qsRT
-END PGP SIGNATURE-



Re: 2 Q's about printing...

2002-01-30 Thread Nick Wilson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


* and then Igor Pruchanskiy blurted
 I am using muttprint. It is superior. I have used a2ps and enscript
 before, but i ended up with muttprint and i love it. Even though my boss
 makes fun of a cute little penguin :)

Hmmm much thanks everyone. I'll try the var stuff this evening but
where do I get muttprint and is it a GUI thing?

- -- 

Nick Wilson

Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8WCSZHpvrrTa6L5oRApafAKCGRMTOxe3lgUyy5xMbuTh2kvydjACeIgc8
BLGlwc9SML8h6Kf47GOlD20=
=d9YU
-END PGP SIGNATURE-



Re: 2 Q's about printing...

2002-01-30 Thread Jeremy Blosser

On Jan 30, Nick Wilson [[EMAIL PROTECTED]] wrote:
 * and then Igor Pruchanskiy blurted
  I am using muttprint. It is superior. I have used a2ps and enscript
  before, but i ended up with muttprint and i love it. Even though my boss
  makes fun of a cute little penguin :)
 
 Hmmm much thanks everyone. I'll try the var stuff this evening but
 where do I get muttprint and is it a GUI thing?

It's linked off www.mutt.org's links page.



msg23995/pgp0.pgp
Description: PGP signature


folders ?

2002-01-30 Thread Nico Schottelius

Hello dear list!

Is it possible to use folders with mutt ?
If yes, is autosort possible ?
Like mails for nicos-mutt goto mutt/, mails to
mailing lists goto lists/gpm lists/lkml ? 


-- 
{Greetings,Gruss},
Nico Schottelius

I am some kind of busy -
Do not expect an answer within 24 hours.
Instead use the telephon: +49 (0) 173 - 750 7022.



Re: 2 Q's about printing...

2002-01-30 Thread Justin R. Miller

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thus spake Igor Pruchanskiy ([EMAIL PROTECTED]):

 I am using muttprint. It is superior. I have used a2ps and enscript
 before, but i ended up with muttprint and i love it. Even though my boss
 makes fun of a cute little penguin :)

Penguin?  Bah!  How about the Debian swirl? ;-)

- -- 
[!] Justin R. Miller [EMAIL PROTECTED]
PGP 0xC9C40C31 -=- http://codesorcery.net

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

iD8DBQE8WC2e94d6K8nEDDERAm/TAJ4uaOu1oHzambR3Bj3Su9su9eaQ7ACfbeXV
UVkCGzQ322LL1fBFYnCHZGI=
=8dUD
-END PGP SIGNATURE-



Re: folders ?

2002-01-30 Thread Knute

On Wed, 30 Jan 2002, Nico Schottelius wrote:


 Hello dear list!

 Is it possible to use folders with mutt ?

Yes.

 If yes, is autosort possible ?
 Like mails for nicos-mutt goto mutt/, mails to
 mailing lists goto lists/gpm lists/lkml ? 

Depends on when you want it sorted.  Mutt does have the capability to
save read mails to certain folders automagically,  but that is after it
has already been delivered to your spool file.

If you want them sorted before you read them, then you will need
software such as procmail.  You set up a recipe, and fetchmail sends the
mail to procmail to sort it into the appropriate mailbox depending on
content.
There are others, but procmail is what i use with fetchmail,  and it
seems to work well for me.  The one thing that I have found is that
Mutt's own getmail function doesn't send it thru procmail.  Don't know
how to change that, so I simply set up a macro to run fetchmail.  8o)

Knute



msg23998/pgp0.pgp
Description: PGP signature


Re: 2 Q's about printing...

2002-01-30 Thread Knute

On Wed, 30 Jan 2002, Justin R. Miller wrote:


 Thus spake Igor Pruchanskiy ([EMAIL PROTECTED]):

  I am using muttprint. It is superior. I have used a2ps and enscript
  before, but i ended up with muttprint and i love it. Even though my boss
  makes fun of a cute little penguin :)

 Penguin?  Bah!  How about the Debian swirl? ;-)

You know,  it wouldn't take to much to put your companies logo on the
top (held by the penguin of course),  then see what your boss says!
8o)

-- 
Knute

You live, You die.  Enjoy the interval!
-- Clarence



msg23999/pgp0.pgp
Description: PGP signature


Re: 2 Q's about printing...

2002-01-30 Thread Carl B. Constantine

* Knute ([EMAIL PROTECTED]) wrote:
 On Wed, 30 Jan 2002, Justin R. Miller wrote:
 
 
  Thus spake Igor Pruchanskiy ([EMAIL PROTECTED]):
 
   I am using muttprint. It is superior. I have used a2ps and enscript
   before, but i ended up with muttprint and i love it. Even though my boss
   makes fun of a cute little penguin :)
 
  Penguin?  Bah!  How about the Debian swirl? ;-)
 
 You know,  it wouldn't take to much to put your companies logo on the
 top (held by the penguin of course),  then see what your boss says!
 8o)

This is sort of what I did. Since I'm using muttprint off of a Solaris 8
box, I made a Sun logo and that's what prints. It's not perfect, but
it's not too bad either ;-)

-- 
Carl B. Constantine University of Victoria
Programmer Analyst  http://www.uvic.ca
UNIX System Administrator   Victoria, BC, Canada
[EMAIL PROTECTED]



Organization revisited...

2002-01-30 Thread Nick Wilson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Mutt people, 

I wondered if I might ask you to share some organizational tips/methods
with me. In particular, Aliases.

My .mutt.aliases file is getting a little large now it's and not always 
easy to remember how I've named people. Do you guys split them up into
separate files for work | personal | etc? 

How can I better organize my contacts?
- -- 

Nick Wilson

Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8WE2GHpvrrTa6L5oRAsUWAJ9O/w2WEPSnrorpc9VFTPhhJe3DsQCcC0+Q
BYUMoEO1SHQqysinA1ByDfE=
=pM39
-END PGP SIGNATURE-



Re: recognizing traditional PGP

2002-01-30 Thread Vineet Kumar


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

* Volker Moell ([EMAIL PROTECTED]) [020125 14:45]:
  % mail).  It would be so much easier for everyone if check-traditional-=
pgp
  % would become a variable (set always-check-traditional-pgp=3Dyes), so
  % that every mail will be checked automatically on demand (instead of
  % handling 50% of all mail accesses via macros and doing some terrible
  % workarounds for the other 50%).
  Hmmm...
=20
 With this I mean, you can
   - press enter in the index
   - press down, up, pgup, pgdown in the pager
   - press space at the end of a message
   - delete (in various ways) a mail
   - jump to a mail
   - ...
 to view a mail. Do you really want do set a macro for each of these (and
 surely more!) keybindings? Not really, at least not me. So a message-hook
 seems to be the only senseful place to implement a check-traditional on
 demand.  With macros it's only a nice workaround. IMHO.

Sorry, I'm jumping into the thread late, so I may end up looking like an
ignorant ass, but I'll take my chances anyway and offer you another
workaround. (I think) one issue of mutt detecting the old-style messages
is looking through the body of each message to see if it fits a certain
pattern, which is seen (understandably so) as something expensive that
mutt shouldn't be doing anyway. The workaround I propose, for you and
anyone else in your boat, is to set your pager to something (a small
perl script) that can recognize old-style pgp messages and pipe those to
gpg for processing, then display the message via a real pager (i.e. less
or some such).

That's *kinda* like a user-space message-hook, except it happens for
each message instead of only ones that match a certain pattern. You
might be able to fenagle it to working with a message-hook by setting
pager selectively or some other dirty hacks, but I'd say to try to get
it working everywhere first before optimizing it so.

I'll help you with the script if you need it; I think it should be as
simple as taking the patterns from the ubiquitous procmail example and
putting them in a 5-line perl script.

good times,
Vineet

--=20
Currently seeking opportunities in the SF Bay Area
Please see http://www.doorstop.net/resume/
--=20
Satan laughs when we kill each other. Peace is the only way.

--zS7rBR6csb6tI2e1
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

iEYEARECAAYFAjxYTbsACgkQ7z3S33fUb9GyEwCguccN8IXyfeVi3qFQ/xIZjmMk
fIUAn1v8DDUUr52ifSQBTPz3P6i134NC
=LPHw
-END PGP SIGNATURE-

--zS7rBR6csb6tI2e1--



Re: libiconv

2002-01-30 Thread J. Scott Dorr

On Wed, Jan 30, 2002 at 10:54:24AM -0500, Bechtold, Katie wrote:
 I'm trying to install mutt on a Slackware 7.0 system, but I'm stuck on the
 configure step.  I get the following error:
 
 checking whether this iconv is good enough... no
 configure: error: Try using libiconv instead
 
 I just installed libiconv-1.7, but I see that's not enough to make configure
 see it.  What do I have to do to use libiconv?

Very likely you still have the old config.status sitting around.  After having
properly installed libiconv, do a 'make distclean'.  Then start over with
'configure', etc.
  
Hope this helps.

- Myrddin
--
 ICQ: 22404528   Why Vegan?   http://www.firstmagic.com/vegan
--



update on the pgp_force_traditional patch

2002-01-30 Thread Viktor Rosenfeld

Hi there,

some people have asked me to keep them updated about my
pgp_force_traditional patch.  In fact, my old version posted to
mutt-users two weeks ago contained a bug, which I've fixed now.  You can
find the patch at this URL:

http://www.informatik.hu-berlin.de/~rosenfel/mutt.html

or, more directly:


http://www.informatik.hu-berlin.de/~rosenfel/patch-1.3.24.vrr.force_traditional.2

[Sorry for the long line.]

The patch applies cleanly on 1.3.24 through 1.3.27 and is not dependent
on the outlook_compat patch anymore, though it doesn't make a lot of
sense to use it without $p_o_c.

Please note however, that I consider both my patch and the $p_o_c patch
obsolete, because Dale Woolridge was so kind and created a patch that
changes pgp_create_traditional directly.  With his patch, setting $p_c_t
is enough to send a mail which will be readably by Outlook in any
character set.  No funny attachments anymore.  

Note however, that the usual caveats of clear-signing still apply, if
there is a broken MTA setup somewhere along the way, you might get a
broken signature.  Not if Outlook would notice of course.  :)

BTW, you can find Dale's patch here:

http://www.woolridge.ca/mutt/patches/patch-1.3.26.dw.pgp-traditional.2

Cheers,
Viktor
-- 
Viktor Rosenfeld
WWW: http://www.informatik.hu-berlin.de/~rosenfel/



msg24004/pgp0.pgp
Description: PGP signature


Re: update on the pgp_force_traditional patch

2002-01-30 Thread Dale Woolridge

On 30-Jan-2002 23:06 Viktor Rosenfeld wrote:
| 
| Note however, that the usual caveats of clear-signing still apply, if
| there is a broken MTA setup somewhere along the way, you might get a
| broken signature.  Not if Outlook would notice of course.  :)

I just wanted to add that if you are using my patch with a character
set that requires 8bit, then you might consider unsetting the allow_8bit
variable.  Mutt will properly handle it either way, but unsetting it
will avoid the MTA issues.  On the other hand, I don't know what other
MUAs will do with a (signed quoted printable) message.
--
-Dale



Re: Help

2002-01-30 Thread Cameron Simpson

On 11:35 30 Jan 2002, Mauro Bardini [EMAIL PROTECTED] wrote:
| I'm in trouble tryng to use mutt-prcmail to manage my attach files, I'm
| using this piece of figuration in my procmailrc
| 
| METAMAIL_TMPDIR=$MAILDIR/attach/$DATE
| :0cbhHB:
| | metamail -q -w -x
|
| 
| 
| to save tha attach file separately. all is working well, but the name of the
| output file of metamail (the attach file I want to use) seems a random
| sequence of letter. In the man page of metamail I read: 
| 
| -w 
| This option tells metamail that instead of consulting a mailcap file to
| decide how to display the data, it should simply decode each part and write
| it to a file in its raw (possibly binary) format. Depending on the
| circumstances in which it is called, metamail may derive the file name to
| use from the message headers, by asking the user, or by generating a unique
| temporary file name.
| 
| 
| But i'd like to have my attach file with the original name, If someone send
| me the XYZ.gif file I would like to rescue in my $MAILDIR/attach/$DATE
| directory looking for the name XYZ.gif

I'm just using munpack, with no arguments and it seems to generate
sensibly named files.

If fact, I use this script wrapper:

http://www.zip.com.au/~cs/scripts/mailunpack

and thus:

| mailunpack topic

which makes a subdir (in case of filename collisions) and optionally calls
a filing script to do things with the unpacked files.

Works quite well for some things.
-- 
Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/

Gosh, that's the 3rd motorcycle that's passed us. Sure do take their life in
 their hands, what with the weather and all.
Yes Janet, life's pretty cheap to that type.

Audience:   YEAH THAT TYPE!!



Re: Organization revisited...

2002-01-30 Thread Cedric Duval


 My .mutt.aliases file is getting a little large now it's and not always
 easy to remember how I've named people.

Er, why not something very simple like this?
  alias nick_wilsonNick Wilson [EMAIL PROTECTED]

Avoid nicknames, and just use their real names. That's the easiest way
to remember how you named them!

 How can I better organize my contacts?

You might be interested in trying the Little Big Brother Database, and
the m_inmail module in particular:

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

With
  set query_command=lbdbq %s# calling lbdbq
  macro alias Q !lbdbq .lbdb query
in your muttrc and the following recipe on top of your procmailrc,
  :0hc
 | lbdb-fetchaddr

Very convenient when you don't recall the exact name.

HTH,
-- 
Cedric



Re: folders ?

2002-01-30 Thread Prahlad Vaidyanathan

Hi,

On Wed, 30 Jan 2002 Knute spewed into the ether:
[-- snip --]
 There are others, but procmail is what i use with fetchmail,  and it
 seems to work well for me.  The one thing that I have found is that
 Mutt's own getmail function doesn't send it thru procmail.  Don't know
 how to change that, so I simply set up a macro to run fetchmail.  8o)

Hmm .. I thought fetchmail injected things into your MTA. So, it should
have the same route as if you called it from the command-line. ie : 

fetchmail - MTA - procmail - folder(s)

or am I missing something ?

pv.
-- 
Prahlad Vaidyanathan [EMAIL PROTECTED]

Think sideways!
-- Ed De Bono



msg24008/pgp0.pgp
Description: PGP signature


Re: folders ?

2002-01-30 Thread Will Yardley

Prahlad Vaidyanathan wrote:
 On Wed, 30 Jan 2002 Knute spewed into the ether:
 [-- snip --]
  There are others, but procmail is what i use with fetchmail,  and it
 
 Hmm .. I thought fetchmail injected things into your MTA. So, it should
 have the same route as if you called it from the command-line. ie : 

did the original poster even say (s)he was using fetchmail?

w




is it possible to have color reversed indicator?

2002-01-30 Thread parv

i am using mutt 1.3.27i, and i tried...

color indicator reverse

...which, of course, doesn't work as desired.  what i want/wish is
to have indicator in reverse colors in the index.  mono reverse is,
well, not colored.

possible?


(yes i know the correct syntax is be color indicator fg bg)

  - parv

-- 
 



Re: Organization revisited...

2002-01-30 Thread Gary Johnson

On Thu, Jan 31, 2002 at 03:03:36AM +0100, Cedric Duval wrote:
  My .mutt.aliases file is getting a little large now it's and not always
  easy to remember how I've named people.
 
 Er, why not something very simple like this?
   alias nick_wilsonNick Wilson [EMAIL PROTECTED]
 
 Avoid nicknames, and just use their real names. That's the easiest way
 to remember how you named them!
 
  How can I better organize my contacts?
 
 You might be interested in trying the Little Big Brother Database, and
 the m_inmail module in particular:
 
   http://www.spinnaker.de/lbdb/

I'll second the suggestion to try lbdb.  I've been using it for about a
week to search both the NIS passwd database (using the m_yppasswd
module) for local Unix users' addresses and our corporate LDAP database
(using the m_ldap module) for all employees' addresses.  I had been
using an aliases file for my personal address book, but as the file has
grown, it's become less convenient to give everyone an alias, so I'll
probably switch to a file in m_inmail format.

 With
   set query_command=lbdbq %s# calling lbdbq
   macro alias Q !lbdbq .lbdb query

How do you use your Q macro?  I tried !lbdb . from the alias menu
and couldn't figure out what to do with the result, short of copying and
pasting a line.  It would seem more useful to do an address query
directly instead of going to the alias menu first.

 in your muttrc and the following recipe on top of your procmailrc,
   :0hc
  | lbdb-fetchaddr
 
 Very convenient when you don't recall the exact name.

I don't really want _everyone's_ address, so instead of a procmail
recipe I've been using the following macros:

macro index A :unset wait_key\n|lbdb-fetchaddr\n:set wait_key\n add address to 
lbdb database
macro pager A :unset wait_key\n|lbdb-fetchaddr\n:set wait_key\n add address to 
lbdb database

Gary

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



Re: Organization revisited...

2002-01-30 Thread Nick Wilson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


* and then Gary Johnson blurted
 On Thu, Jan 31, 2002 at 03:03:36AM +0100, Cedric Duval wrote:
   My .mutt.aliases file is getting a little large now it's and not always
   easy to remember how I've named people.
  
  You might be interested in trying the Little Big Brother Database, and
  the m_inmail module in particular:
  
http://www.spinnaker.de/lbdb/

Hmmm... I'll go have a look a little later this am.

 I had been
 using an aliases file for my personal address book, but as the file has
 grown, it's become less convenient to give everyone an alias, so I'll

Yes, that's exactly where I'm at. I'd only really got as far as thinking
about seperate alias files but the word 'database' had been lurking at
the back of my mind.

Thanks for the replies.
- -- 

Nick Wilson

Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8WO+FHpvrrTa6L5oRAhZOAJ9dL505ENhU4jsyqRlbNswu+LojRQCcCfWr
uTGz/0DKroPTUUwwil+nHW4=
=ByLv
-END PGP SIGNATURE-