urlview

2001-11-26 Thread Paul Roberts Student lab engineer

I am probably missing something obvious here, but I can't find urlview
anywhere. It didn't come with the mutt source, and I can't find any
reference to it on ftp.mutt.org, or freshmeat.

Where should I be looking?

Thanks, - Paul

-- 
Paul Roberts [EMAIL PROTECTED]



msg20683/pgp0.pgp
Description: PGP signature


Re: urlview

2001-11-26 Thread René Clerc

* Paul Roberts Student lab engineer [EMAIL PROTECTED] [26-11-2001 11:04]:

| I am probably missing something obvious here, but I can't find urlview
| anywhere. It didn't come with the mutt source, and I can't find any
| reference to it on ftp.mutt.org, or freshmeat.
| 
| Where should I be looking?

Look for download urlview on google. You will find packaged versions
as well as links to source code.

| Thanks, - Paul

HTH,

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

I saw the angel in the marble and carved until I set him free.
-Michelangelo



msg20684/pgp0.pgp
Description: PGP signature


concatenating mail and send-message in a macto

2001-11-26 Thread Eric Smith


Sometimes I like to have the mail sent when I exit my editor -
often in fact - meaning I skip the compose screen.

So I used to fiddle a lit with the set editor command but that is not 
the answer, I just tried this:

macro w index mailentersend-message

and this works when you have a pending message as I did
cause the enter answers the prompt to resume the postponed
message, then you edit that message and voila it sends
automatically on closing the editor.

But when you have no pending message (as is normal for me)
then the send-message ends up as a suggested subject.

Am I being dense?  What is the way to do this?

-- 
Eric Smith



Re: mbox Postmark Line vs. Message Date Header?

2001-11-26 Thread David T-G

Sam --

...and then Samuel Padgett said...
% I recently moved some messages that I was reading with another MUA
% to an mbox file I read with Mutt.  I noticed that in the index

How did you move them?  What's the other MUA's format?  [What's the other
MUA?]


% Mutt shows the date I moved the messages, not the date each
% message was sent.  I looked more closely at the mbox file and saw
% that the postmark lines for these messages read something like
% 
% From nobody Sun Nov 25 23:28:45 2001

How does the From: header for this representative message look?


% 
% It seems Mutt is using this date and not the date in the Date
% header.  I would like to see the true date of the message in the
% index, however.  Is there a way to do this?

Are you sorting by date, threads, received, or none?


% 
% Thanks,
% Sam

HTH  HAND


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




msg20686/pgp0.pgp
Description: PGP signature


Which grepmail little mutt front-end ? (was: Re: [ Update ] List of 3rd party apps for Mutt)

2001-11-26 Thread Gregor Zattler

Hi Cliff,
hi mutt users, 

Cliff mentioned a frontend to grepmail:

* Cliff Sarginson [EMAIL PROTECTED] [Fre., 23. Nov. 2001; 17:36:09 +0100]:
[...]
 But I see no mention of grepmail, and it's little mutt front-end
 friend.

I'm interested in such thing. Where can i get this? 


Ciao, gregor



Re: Which grepmail little mutt front-end ? (was: Re: [ Update ] List of 3rd party apps for Mutt)

2001-11-26 Thread Paul Roberts Student lab engineer

On Mon, Nov 26, 2001 at 01:56:23PM +0100, Gregor Zattler wrote:

 I'm interested in such thing. Where can i get this? 

Try: http://grepmail.sourceforge.net/

There's a link on that page to the mutt front-end too.

- Paul

-- 
Paul Roberts [EMAIL PROTECTED]



mailcap for Windows

2001-11-26 Thread Johannes Zellner

Hi,

does anyone have a mailcap file for windows programs, e.g.
word, etc. ?

-- 
   Johannes



Locking...

2001-11-26 Thread Mike A. Oligny

Is there any way to have Mutt warn me if I am opening a second
session?  I find sometimes flags don't get updated because I've
had two or three copies of the client running unintentionally...
(I know--don't do it then, stupid!) 

-Mike



msg20690/pgp0.pgp
Description: PGP signature


Re: Bouncing a message with an attachment

2001-11-26 Thread Collin Peters

Nope, this is just by me pressing b to bounce the message.  The only thing I
can think of is that it is being displayed inline via antiword.  If that is
the case, is it either one or the other then?  i.e. Being able to bounce
attachments properly and not have them displayed inline, or not being able
to bounce messages correctly and have them displayed inline.

Collin


On Sat, Nov 24, 2001 at 08:57:08AM -0500, David T-G wrote:
 Collin --
 
 ...and then Collin Peters said...
 % If I bounce a message that has (For example) a .doc attachment, the
 % receipient gets all the headers and .doc is inline with the message and
 ...
 
 Not to be too picky, but are you using 'f'orward instead of 'b'ounce to
 send along the message?  Forwarding will rewrite the message and could,
 indeed, make some changes -- and so your settings are worth noticing.
 Bouncing, on the other hand, takes the message and feeds it directly back
 to the MTA to pass on, with no other changes -- and so if the .doc wasn't
 in-line for you, it shouldn't be in-line for your recipient.
 
 
 % I've read the list archives on forwarding a message with attachments but
 % these don't seem to apply to bouncing.  
 
 HTH  HAND
 
 
 % 
 % Collin
 
 
 :-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!
 





Re: Locking...

2001-11-26 Thread darren chamberlain

Mike A. Oligny [EMAIL PROTECTED] said something to this effect on 11/26/2001:
 Is there any way to have Mutt warn me if I am opening a second
 session?  I find sometimes flags don't get updated because I've
 had two or three copies of the client running unintentionally...
 (I know--don't do it then, stupid!) 

Write a shell function wrapper around mutt.  In your (e.g.) .bashrc:

  mutt() {
if test -e $HOME/.mutt-`hostname`; then
  echo mutt already running!
else
  touch $HOME/.mutt-`hostname`
  mutt $*
  rm $HOME/.mutt-`hostname`
fi
  }

Invoke as normal:

  bash$ mutt -f =listname
  bash$ mutt -y

etc.

That will do it.  You can add signal trapping in there to clean
up /tmp/mutt-$USER in the case of an abnormal end to the shell
script.

(darren)

-- 
He who has never configured `sendmail.cf' has no courage. He who has
configured it more than once has no brain.



Re: Locking...

2001-11-26 Thread David

Maybe this seems a little obvious, but you could invoke mutt via a
wrapper shell script.  It would be very, very simple.  

* if exists $lockfile
  echo warning; exit;
* else: 
  touch $lockfile; /usr/bin/real-mutt; rm $lockfile
 
I dont think this functionality exists internally, maybe I'm wrong.

/db

On Mon, Nov 26, 2001 at 11:20:33AM -0700, Mike A. Oligny wrote:
 Is there any way to have Mutt warn me if I am opening a second
 session?  I find sometimes flags don't get updated because I've
 had two or three copies of the client running unintentionally...
 (I know--don't do it then, stupid!) 
 
 -Mike





mutt configure --with-sasl

2001-11-26 Thread Volker Jahns

I would like to configure mutt compile to include imap support w/ sasl
authentication:


configure --enable-pop --enable-imap --with-sasl
terminates w/ error message:
snip
checking for sasl_client_init in -lsasl... no
configure: error: could not find libsasl
pegasus# ./configure --help
snap

what are the correct options for configure to finish w/o errors?

I also tried:
configure --enable-imap --with-sasl=/usr/local/lib
configure --enable-imap --with-sasl=/usr/local/lib/libsasl.so
configure --enable-imap --with-sasl=/usr/local/lib/libsasl.so.8
configure --enable-imap --with-sasl=/usr/local/lib/libsasl.a


System is FreeBSD 4.3. Yes, sasl is installed, cyrus imapd daemon runs
on the system!

Any help is much appreciated.

-- 
Volker Jahns, [EMAIL PROTECTED], http://thalreit.de



Re: mutt configure --with-sasl

2001-11-26 Thread Lars Hecking

Volker Jahns writes:
 I would like to configure mutt compile to include imap support w/ sasl
 authentication:
 
 
 configure --enable-pop --enable-imap --with-sasl
 terminates w/ error message:
 snip
 checking for sasl_client_init in -lsasl... no
 configure: error: could not find libsasl

 What does config.log say?




Re: mutt configure --with-sasl

2001-11-26 Thread Brendan Cully

On Monday, 26 November 2001 at 20:20, Volker Jahns wrote:
 I would like to configure mutt compile to include imap support w/ sasl
 authentication:
 
 
 configure --enable-pop --enable-imap --with-sasl
 terminates w/ error message:
 snip
 checking for sasl_client_init in -lsasl... no
 configure: error: could not find libsasl
 pegasus# ./configure --help
 snap
 
 what are the correct options for configure to finish w/o errors?
 
 I also tried:
 configure --enable-imap --with-sasl=/usr/local/lib
 configure --enable-imap --with-sasl=/usr/local/lib/libsasl.so
 configure --enable-imap --with-sasl=/usr/local/lib/libsasl.so.8
 configure --enable-imap --with-sasl=/usr/local/lib/libsasl.a

How about --with-sasl=/usr/local ?
If that fails (assuming sasl is installed in /usr/local), you'll have to take
a look at config.log and find the exact error.

-b



Re: Bouncing a message with an attachment

2001-11-26 Thread Bruno Postle

On Mon 26-Nov-2001 at 10:59:21AM -0800, Collin Peters wrote:
 
 Nope, this is just by me pressing b to bounce the message.  The only
 thing I can think of is that it is being displayed inline via
 antiword.

No, (b)ouncing a message resends a message in its entirety with just
the addition of a single 'Resent-From:' header (which irritatingly isn't
affected by send-hooks) - I'm sure this isn't your problem.

I suspect that some mail-server is screwing-up the message headers after
you bounce it, it wouldn't be the first.

Another possibility is the original email had messed-up headers in the
first place, it wasn't sent from 'Entourage' was it?

-- 
Bruno   http://bruno.postle.net/



Re: mutt configure --with-sasl

2001-11-26 Thread Udo Schweigert

On Mon, Nov 26, 2001 at 20:20:01 +0100, Volker Jahns wrote:
 I would like to configure mutt compile to include imap support w/ sasl
 authentication:
 
 
 configure --enable-pop --enable-imap --with-sasl
 terminates w/ error message:
 snip
 checking for sasl_client_init in -lsasl... no
 configure: error: could not find libsasl
 pegasus# ./configure --help
 snap
 
 what are the correct options for configure to finish w/o errors?
 
 I also tried:
 configure --enable-imap --with-sasl=/usr/local/lib
 configure --enable-imap --with-sasl=/usr/local/lib/libsasl.so
 configure --enable-imap --with-sasl=/usr/local/lib/libsasl.so.8
 configure --enable-imap --with-sasl=/usr/local/lib/libsasl.a
 

This all is not sufficient, because the security/cyrus-sasl port installs
the header files in /usr/local/include/sasl, so we need a little change
to configure.in.

I emailed Volker a patch, if it works it will get committed.

(By the way: configure --enable-imap --with-sasl=/usr/local would have been
 the next best try ;-)

Best regards

--
Udo Schweigert, Siemens AG   | Voice  : +49 89 636 42170
CT IC 3, Siemens CERT| Fax: +49 89 636 41166
D-81730 Muenchen / Germany   | email  : [EMAIL PROTECTED]



Re: mutt configure --with-sasl

2001-11-26 Thread Udo Schweigert

 I emailed Volker a patch, if it works it will get committed.


To clarify that: I mean by this the FreeBSD port (no change in mutt's cvs tree
is required, since this is a pure FreeBSD problem related to its ports tree)

Best regards

--
Udo Schweigert, Siemens AG   | Voice  : +49 89 636 42170
CT IC 3, Siemens CERT| Fax: +49 89 636 41166
D-81730 Muenchen / Germany   | email  : [EMAIL PROTECTED]



Re: urlview

2001-11-26 Thread Michael Sanders

On Mon, Nov 26, 2001 at 10:02:22AM +, Paul Roberts Student lab engineer wrote:
 I am probably missing something obvious here, but I can't find urlview
 anywhere. It didn't come with the mutt source, and I can't find any
 reference to it on ftp.mutt.org, or freshmeat.
 
 Where should I be looking?
 
ftp://ftp.mutt.org/pub/mutt/contrib/
-- 
(T.) Michael Sanders internet: [EMAIL PROTECTED]
Physics Department   URL: http://www-personal.umich.edu/~sanders
University of Michigan   phone: 734/936-0799
Ann Arbor, MI 48109-1120 FAX: 734/764-6843



Strange attachement

2001-11-26 Thread Patrik Modesto

Hi,
I often get mail with attachement like this:

begin 666 Studie.doc
MT,\1X*QN$`/@`#`/[_0!
M/P``$ ``00$```#^`#X```#_
M

snip

`
end

It is sent from MSOE and it looks like that, only when the user forwards
interesting messages to someone else. When sending new composed mail,
attachement looks right and is recogniced by mutt. I think, this is not
a valid form of attachement.

What can be wrong?

Thanks.

Patrik



Re: Strange attachement

2001-11-26 Thread Dan Boger

On Mon, Nov 26, 2001 at 10:21:18PM +0100, Patrik Modesto wrote:
 Hi,
 I often get mail with attachement like this:
 
 begin 666 Studie.doc
 MT,\1X*QN$`/@`#`/[_0!
 M/P``$ ``00$```#^`#X```#_
 M
 
 snip
 
 `
 end
 
 It is sent from MSOE and it looks like that, only when the user forwards
 interesting messages to someone else. When sending new composed mail,
 attachement looks right and is recogniced by mutt. I think, this is not
 a valid form of attachement.
 
 What can be wrong?

pipe it into uudecode - '|uudecode' should do the trick.  I wouldn't be
able to tell you when OE decides to encode an attachment in MIME and
when in UU, but either way is decodable.

HTH :)

-- 
Dan Boger
Linux MVP
brainbench.com




msg20702/pgp0.pgp
Description: PGP signature


Re: Strange attachement

2001-11-26 Thread Louis LeBlanc

On 11/26/01 10:21 PM, Patrik Modesto sat at the `puter and typed:
 Hi,
 I often get mail with attachement like this:
 
 begin 666 Studie.doc
 MT,\1X*QN$`/@`#`/[_0!
 M/P``$ ``00$```#^`#X```#_
 M
 
 snip
 
 `
 end
 
 It is sent from MSOE and it looks like that, only when the user forwards
 interesting messages to someone else. When sending new composed mail,
 attachement looks right and is recogniced by mutt. I think, this is not
 a valid form of attachement.
 
 What can be wrong?

Looks like a M$ Word attachment. You have to edit the mailcap file and
tell it how to handle these attachments. You might want to take a look
at third party  apps for Mutt (look in the  archives, or maybe someone
can repost  the URI? I don't  remember it offhand). At  the mutt page,
you can  take a look at  mutt pages by  mutt users. There are  lots of
very cool  things you  can do  to have almost  any kind  of attachment
handled and viewable automatically - if you want.

Mutt will do  most anything you need  or want it to do,  but the front
end work  can be a  long process.  Get using it,  and find out  how to
solve each  problem when  it gets  to the point  where it's  worth the
while to search mutt.org  and the list, etc. I don't  think I can ever
use  another MUA,  but  I still  haven't gotten  all  the rough  edges
smoothed out completely.

BTW, if  you want  to view  Word Docs inline,  there are  useful links
directly from Mutt regarding configuration. The 3rd party app you want
is wv, I think. Used to be wordview, but it changed a while back.

HTH
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Steinbach's Guideline for Systems Programming:
  Never test for an error condition you don't know how to handle.



msg20703/pgp0.pgp
Description: PGP signature


Re: Strange attachement

2001-11-26 Thread Patrik Modesto

On Mon, Nov 26, 2001 at 04:27:45PM -0500, Dan Boger wrote:
 On Mon, Nov 26, 2001 at 10:21:18PM +0100, Patrik Modesto wrote:
  Hi,
  I often get mail with attachement like this:
  
  begin 666 Studie.doc
  MT,\1X*QN$`/@`#`/[_0!
  M/P``$ ``00$```#^`#X```#_
  M
  
  snip
  
  `
  end
  
  It is sent from MSOE and it looks like that, only when the user forwards
  interesting messages to someone else. When sending new composed mail,
  attachement looks right and is recogniced by mutt. I think, this is not
  a valid form of attachement.
  
  What can be wrong?
 
 pipe it into uudecode - '|uudecode' should do the trick.  I wouldn't be
 able to tell you when OE decides to encode an attachment in MIME and
 when in UU, but either way is decodable.

It works. Thanks. But one question. Why mutt doesn't recognise it as a
regular attachement?

Patrik

 
 HTH :)
 
 -- 
 Dan Boger
 Linux MVP
 brainbench.com
 





imap problem

2001-11-26 Thread Volker Jahns

Wunderful!
I have mutt 1.3.23 running w/ Cyrus imapd.

The only and most bitter problem is that mutt will only show
my INBOX on the imap server. I cannot change to the other ?subfolders?


So what would be the correct configuration options for mutt?
here is what I use:

snip
set spoolfile=imap://pegasus.thalreit/INBOX
set folder=imap://pegasus.thalreit/INBOX
#set imap_authenticators=digest-md5
set imap_authenticators=login
mailboxes imap:://pegasus.thalreit/INBOX.mfolder
snap

Thanks for all your help!
-- 
Volker Jahns, [EMAIL PROTECTED], http://thalreit.de



Re: Strange attachement

2001-11-26 Thread Patrik Modesto

On Mon, Nov 26, 2001 at 04:33:39PM -0500, Louis LeBlanc wrote:
 On 11/26/01 10:21 PM, Patrik Modesto sat at the `puter and typed:
  Hi,
  I often get mail with attachement like this:
  
  begin 666 Studie.doc
  MT,\1X*QN$`/@`#`/[_0!
  M/P``$ ``00$```#^`#X```#_
  M
  
  snip
  
  `
  end
  
  It is sent from MSOE and it looks like that, only when the user forwards
  interesting messages to someone else. When sending new composed mail,
  attachement looks right and is recogniced by mutt. I think, this is not
  a valid form of attachement.
  
  What can be wrong?
 
 Looks like a M$ Word attachment. You have to edit the mailcap file and
 tell it how to handle these attachments. You might want to take a look

But this attachment doesn't have any application/... signature. It is
completely inline. What line should I add in mailcap?

 at third party  apps for Mutt (look in the  archives, or maybe someone
 can repost  the URI? I don't  remember it offhand). At  the mutt page,
 you can  take a look at  mutt pages by  mutt users. There are  lots of
 very cool  things you  can do  to have almost  any kind  of attachment
 handled and viewable automatically - if you want.
 
 Mutt will do  most anything you need  or want it to do,  but the front
 end work  can be a  long process.  Get using it,  and find out  how to
 solve each  problem when  it gets  to the point  where it's  worth the
 while to search mutt.org  and the list, etc. I don't  think I can ever
 use  another MUA,  but  I still  haven't gotten  all  the rough  edges
 smoothed out completely.
 
 BTW, if  you want  to view  Word Docs inline,  there are  useful links
 directly from Mutt regarding configuration. The 3rd party app you want
 is wv, I think. Used to be wordview, but it changed a while back.

No. I don't want to view MS word document inline. It could by nice to
show this file in attachments submenu, for easy saving.

Patrik

 
 HTH
 Lou
 -- 
 Louis LeBlanc   [EMAIL PROTECTED]
 Fully Funded Hobbyist, KeySlapper Extrordinaire :)
 http://www.keyslapper.org 
 
 Steinbach's Guideline for Systems Programming:
   Never test for an error condition you don't know how to handle.





Re: mbox Postmark Line vs. Message Date Header?

2001-11-26 Thread Samuel Padgett

David T-G [EMAIL PROTECTED] writes:

 ...and then Samuel Padgett said...
 % I recently moved some messages that I was reading with another MUA
 % to an mbox file I read with Mutt.  I noticed that in the index
 
 How did you move them?  What's the other MUA's format?  [What's the other
 MUA?]

I moved them using the C-o command in Gnus.  The messages were
previously stored in the nnml format.  nnml is a Gnus-specific
format that stores each message in its own file, a little like
Maildir.

 % Mutt shows the date I moved the messages, not the date each
 % message was sent.  I looked more closely at the mbox file and saw
 % that the postmark lines for these messages read something like
 % 
 % From nobody Sun Nov 25 23:28:45 2001
 
 How does the From: header for this representative message look?

Um, let's see...

From: Samuel Padgett [EMAIL PROTECTED]

 Are you sorting by date, threads, received, or none?

Threads.

Sam



Re: Strange attachement

2001-11-26 Thread David Ellement

On 011126, at 23:02:16, Patrik Modesto wrote
 On Mon, Nov 26, 2001 at 04:33:39PM -0500, Louis LeBlanc wrote:
  On 11/26/01 10:21 PM, Patrik Modesto sat at the `puter and typed:
   I often get mail with attachement like this:
   
   begin 666 Studie.doc
   MT,\1X*QN$`/@`#`/[_0!
   snip
   `
   end
   
   It is sent from MSOE ...
   
   What can be wrong?
  
  Looks like a M$ Word attachment. You have to edit the mailcap file and
  tell it how to handle these attachments. You might want to take a look
 
 But this attachment doesn't have any application/... signature. It is
 completely inline. What line should I add in mailcap?

Do the message headers indicate that it is a multi-part message?  If
so, there should be a Content-Type header for the attachment.
You'll need a mailcap entry to tell it how you want that type
decoded.

If the headers don't indicate a multi-part message, the attachment
hasn't been sent as an attachment and mutt won't recognize it as
such.

-- 
David Ellement



Re: Strange attachement

2001-11-26 Thread Louis LeBlanc

On 11/26/01 11:02 PM, Patrik Modesto sat at the `puter and typed:
 On Mon, Nov 26, 2001 at 04:33:39PM -0500, Louis LeBlanc wrote:
  On 11/26/01 10:21 PM, Patrik Modesto sat at the `puter and typed:
   Hi,
   I often get mail with attachement like this:
   
   begin 666 Studie.doc
   MT,\1X*QN$`/@`#`/[_0!
   M/P``$ ``00$```#^`#X```#_
   M
   
   snip
   
   `
   end
   
   It is sent from MSOE and it looks like that, only when the user forwards
   interesting messages to someone else. When sending new composed mail,
   attachement looks right and is recogniced by mutt. I think, this is not
   a valid form of attachement.
   
   What can be wrong?
  
  Looks like a M$ Word attachment. You have to edit the mailcap file and
  tell it how to handle these attachments. You might want to take a look
 
 But this attachment doesn't have any application/... signature. It is
 completely inline. What line should I add in mailcap?

My mistake. Dan was correct. I just  saw the name and figured it was a
word attachment.

You can  tie a macro to  a keystroke and automatically  pipe a message
thru uudecode  to automagically save  those encoded messages.  Here is
mine:
macro attach  .d | uudecode -c enter

From  the index,  '.d'  causes the  entire message  to  be piped  thru
uudecode which will try to decode all encoded attachments.

HTH
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Research is the best place to be: you work your buns off, and if it works
you're a hero; if it doesn't, well -- nobody else has done it yet either,
so you're still a valiant nerd.



msg20709/pgp0.pgp
Description: PGP signature


Re: Strange attachement

2001-11-26 Thread Patrik Modesto

On Mon, Nov 26, 2001 at 02:43:41PM -0800, David Ellement wrote:
 On 011126, at 23:02:16, Patrik Modesto wrote
  On Mon, Nov 26, 2001 at 04:33:39PM -0500, Louis LeBlanc wrote:
   On 11/26/01 10:21 PM, Patrik Modesto sat at the `puter and typed:
I often get mail with attachement like this:

begin 666 Studie.doc
MT,\1X*QN$`/@`#`/[_0!
snip
`
end

It is sent from MSOE ...

What can be wrong?
   
   Looks like a M$ Word attachment. You have to edit the mailcap file and
   tell it how to handle these attachments. You might want to take a look
  
  But this attachment doesn't have any application/... signature. It is
  completely inline. What line should I add in mailcap?
 
 Do the message headers indicate that it is a multi-part message?  If
 so, there should be a Content-Type header for the attachment.
 You'll need a mailcap entry to tell it how you want that type
 decoded.
 
 If the headers don't indicate a multi-part message, the attachment
 hasn't been sent as an attachment and mutt won't recognize it as
 such.

There is no Content-Type header. There is:

few times Received: from

From, To, Subject, Date fields

X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Return-Path: -removed/private-
X-Orcpt: rfc822;[EMAIL PROTECTED]
Status: RO
Content-Length: 48003
Lines: 781

then few empty lines and then the encoded file above. I can get to the
PC that sends this attachments so I will check it's MSOE setup.

Thanks.

Patrik



Re: Strange attachement

2001-11-26 Thread David Champion

On 2001.11.26, in [EMAIL PROTECTED],
Patrik Modesto [EMAIL PROTECTED] wrote:
 
 There is no Content-Type header. There is:
 ...
 then few empty lines and then the encoded file above. I can get to the
 PC that sends this attachments so I will check it's MSOE setup.

It's not naturally MIME, but if you can always assume that uuencoded
content from MSOE is supposed to be an attached document, you can
probably fake something up with procmail. Something like this:

:0 fBH
* X-Mailer: Microsoft Outlook Express
* ^begin [0-7][0-7][0-7] [A-Za-z0-9]
| formail -I Content-Type: application/octet-stream \
  -I Content-Transfer-Encoding: x-uuencode

That should make it a document containing one inline component that
mutt can decode and view using whatever your application/octet-stream
viewer is. (By default, mutt tries to treat it as text.) With a slightly
fancier bit of scripting, you could extract the filename from the begin
line, and add that to the MIME description, and you could ensure that
ONLY uuencoded material was processed, and make it attached instead of
inline... etc. But this should suit your most fundamental need. The MIME
isn't exactly perfect, but it's sufficient for this sole purpose.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: mailcap for Windows

2001-11-26 Thread Cliff Sarginson

On Mon, Nov 26, 2001 at 04:13:09PM +0100, Johannes Zellner wrote:
 Hi,
 
 does anyone have a mailcap file for windows programs, e.g.
 word, etc. ?
 
 -- 
Johannes

This is what I have for word docs...

application/msword; catdoc;copiousoutput


-- 
Regards
Cliff





Re: mbox Postmark Line vs. Message Date Header?

2001-11-26 Thread David T-G

Sam --

...and then Samuel Padgett said...
% David T-G [EMAIL PROTECTED] writes:
% 
%  ...and then Samuel Padgett said...
%  % I recently moved some messages that I was reading with another MUA
%  % to an mbox file I read with Mutt.  I noticed that in the index
%  
%  How did you move them?  What's the other MUA's format?  [What's the other
%  MUA?]
% 
% I moved them using the C-o command in Gnus.  The messages were
% previously stored in the nnml format.  nnml is a Gnus-specific
% format that stores each message in its own file, a little like
% Maildir.

Hmmm...  Hokay.  That sounds sensible enough, and not like a Windows
problem.  One never knows :-)

Since there was no From_ header before, Gnus had to make one up somehow.
Can you export to Maildir instead?  You could then read that in with mutt
and save to mbox.


% 
%  % Mutt shows the date I moved the messages, not the date each
%  % message was sent.  I looked more closely at the mbox file and saw
%  % that the postmark lines for these messages read something like
%  % 
%  % From nobody Sun Nov 25 23:28:45 2001
%  
%  How does the From: header for this representative message look?
% 
% Um, let's see...
% 
% From: Samuel Padgett [EMAIL PROTECTED]

Oh, *duh*  Sorry.  How about the Date: header instead? :-)


% 
%  Are you sorting by date, threads, received, or none?
% 
% Threads.

What happens if you sort by date?  Do they order themselves correctly?


% 
% Sam


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




msg20713/pgp0.pgp
Description: PGP signature


Re: mbox Postmark Line vs. Message Date Header?

2001-11-26 Thread Samuel Padgett

David T-G [EMAIL PROTECTED] writes:

 Since there was no From_ header before, Gnus had to make one up
 somehow.

Makes sense.

 Can you export to Maildir instead?  You could then read that in
 with mutt and save to mbox.

Hm.  Gnus reads Maildir, but doesn't write it (although I think
they're working on this).  Maybe I can grab a development version.

Even if I did this, wouldn't Mutt have the same problem Gnus had:
no From_ header?

 %  How does the From: header for this representative message look?
 % 
 % Um, let's see...
 % 
 % From: Samuel Padgett [EMAIL PROTECTED]
 
 Oh, *duh*  Sorry.  How about the Date: header instead? :-)

Sure ;-) 

Date: Sun, 11 Nov 2001 00:40:32 -0500

 What happens if you sort by date?  Do they order themselves
 correctly?

They seem to.  So Mutt groks the Date header, but isn't displaying
that date in the index.  Maybe Mutt uses the From_ header instead
for efficiency?

Sam



Re: Strange attachement

2001-11-26 Thread David T-G

Patrik --

...and then Patrik Modesto said...
% On Mon, Nov 26, 2001 at 04:27:45PM -0500, Dan Boger wrote:
%  On Mon, Nov 26, 2001 at 10:21:18PM +0100, Patrik Modesto wrote:
%   
%   begin 666 Studie.doc
...
%   end
%   
...
%   What can be wrong?
%  
%  pipe it into uudecode - '|uudecode' should do the trick.  I wouldn't be
%  able to tell you when OE decides to encode an attachment in MIME and
%  when in UU, but either way is decodable.
% 
% It works. Thanks. But one question. Why mutt doesn't recognise it as a
% regular attachement?

Because it's not attached per se, with a MIME header structure and a
proper Content-Type: and so on.  uuencoding is how computers used to
send binary data back and forth, particularly through email (though also
commonly through news), and all of this automatic viewing and decoding
stuff hadn't yet been invented :-)

David Champion's suggestion about playing with the headers is probably
the best way to go about making these attachments appear automatically,
other than finding whoever uses LookOut! and LARTing him :-)


% 
% Patrik

HTH  HAND


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




msg20716/pgp0.pgp
Description: PGP signature


Re: mbox Postmark Line vs. Message Date Header?

2001-11-26 Thread David T-G

Sam --

...and then Samuel Padgett said...
% David T-G [EMAIL PROTECTED] writes:
% 
%  Since there was no From_ header before, Gnus had to make one up
%  somehow.
% 
% Makes sense.
% 
%  Can you export to Maildir instead?  You could then read that in
%  with mutt and save to mbox.
% 
% Hm.  Gnus reads Maildir, but doesn't write it (although I think
% they're working on this).  Maybe I can grab a development version.

Can it write MMDF or save to an IMAP server, both of which mutt also
speaks fluently?


% 
% Even if I did this, wouldn't Mutt have the same problem Gnus had:
% no From_ header?

Well, I've never heard of that before, so I'm going to go out on a limb
and say nope :-)


% 
%  %  How does the From: header for this representative message look?
%  % 
%  % Um, let's see...
%  % 
%  % From: Samuel Padgett [EMAIL PROTECTED]
%  
%  Oh, *duh*  Sorry.  How about the Date: header instead? :-)
% 
% Sure ;-) 
% 
% Date: Sun, 11 Nov 2001 00:40:32 -0500

Hokay.  So the From: header doesn't say nobody (which was my original
thought, but you've been talking about date), and the Date: is properly
saved in the message.


% 
%  What happens if you sort by date?  Do they order themselves
%  correctly?
% 
% They seem to.  So Mutt groks the Date header, but isn't displaying
% that date in the index.  Maybe Mutt uses the From_ header instead
% for efficiency?

I don't know about the latter hypothesis, but the  former conclusion does
seem to be correct.  I wonder why that would be the case, though.

It seems to me, though it's probably no help to you, that it's Gnus that's
doing it wrong; I admit, though, that mutt probably oughta display the
Date: info instead of the From_ info regardless of whether or not the
latter is accurate.


% 
% Sam

Sorry I couldn't be of more help...


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




msg20717/pgp0.pgp
Description: PGP signature


Re: Strange attachement

2001-11-26 Thread Marc Wilson

On Mon, Nov 26, 2001 at 10:45:02PM +0100, Patrik Modesto wrote:
 It works. Thanks. But one question. Why mutt doesn't recognise it as a
 regular attachement?

Because it isn't an attachment.  It's part of the message body.  Just text.

That's how you did it before MIME. ^_^

-- 
Marc Wilson
[EMAIL PROTECTED]
[EMAIL PROTECTED]




msg20718/pgp0.pgp
Description: PGP signature


Re: mbox Postmark Line vs. Message Date Header?

2001-11-26 Thread Samuel Padgett

David T-G [EMAIL PROTECTED] writes:

 ...and then Samuel Padgett said...
 % Hm.  Gnus reads Maildir, but doesn't write it (although I think
 % they're working on this).  Maybe I can grab a development version.
 
 Can it write MMDF or save to an IMAP server, both of which mutt also
 speaks fluently?

It seems Gnus reads MMDF, but doesn't write it.  Gnus does IMAP,
though.  But then I'd have to set up an IMAP server :-|

 It seems to me, though it's probably no help to you, that it's
 Gnus that's doing it wrong;

Possible, although Gnus tends to be a very well-behaved MUA.
Maybe I should ask in a Gnus forum?

By the way, I was curious about what slrn does when I use o to
save an article: in the From_ line, it uses the address out of the
From header, but does _not_ use the date out of the Date header.
Instead, like Gnus, it uses the date the message is being saved.

 I admit, though, that mutt probably oughta display the Date:
 info instead of the From_ info regardless of whether or not the
 latter is accurate.

Yes, I think so.  FWIW, Gnus uses the Date header when it
constructs its summary buffer.

Sam