Re: qmail

2000-05-31 Thread Frank Derichsweiler

On Tue, May 30, 2000 at 08:58:51PM -0700, MacHara wrote:
 i have a problem to set mbox type which mutt will send it.. It works for
 sendmail w/ mbox but qmail w/ maildir.. 

In the muttrc:
 set mbox_type=Maildir
will ask mutt to create new mailboxes in Maildir format. 

 it does not deliver any mail to
 qmail server..
How do you try to inject the mails into the queue?

I use the qmail-inject and therefore I use in my muttrc

  set sendmail="/var/qmail/bin/qmail-inject -fbar@foo"

and the mail envelope from is set to bar@foo

HTH
Frank




Re: sending mail with POP

2000-05-31 Thread Ralf Hildebrandt

On Tue, May 30, 2000 at 05:24:02PM +0200, Frank Derichsweiler wrote:

 plugIn
 Setting up qmail for a dial-up host is IMHO very easy, there are
 excellent documents at the qmail page http://www.qmail.org . My home
 box is running perfectly.
 In case of problems please ask by sending personal mail, because that
 might be off topic in this mailing list.
 /plugIn
 
 IMHO qmail has the advance to support the mail-dir format. At home I
 fetch the mails with fetchmail, qmail stores them in Maildirs and
 those are accessed with mutt.

DOUBLEPLUG www.postfix.org /DOUBLEPLUG
does the same.

-- 
Ralf Hildebrandt [EMAIL PROTECTED] www.stahl.bau.tu-bs.de/~hildeb
Sendmail: Shiva as a postman. Many arms delivering mail, dancing,
taking drugs, destroying as it sees fit. Often makes creative changes
to the mail for kicks, but ultimately can be persuaded to do anything
with the right incantation...and that includes giving you other
people's mail.  


 PGP signature


Re: qmail

2000-05-31 Thread Frank Derichsweiler

On Wed, May 31, 2000 at 12:47:31AM -0700, MacHara wrote:
 I am not good at mutt and want to ask you about muttrc..
 Is that kind of forward file??
No. Mutt is a very highly configurable MUA (mail user agent). All
configuration is done via a configuration file, which is parsed during
start up of Mutt. That file is called muttrc.
Mutt looks for $HOME/.muttrc and $HOME/.mutt/muttrc
Caution: you have to quit and restart mutt if you have modified your
rc file.
 
 I tried to send mail w/ attachment using mutt from server running qmail.
 It is sending mail to other servers but itself.. Like ..if I send mail from
 qmail server to account resides on same server.. i will not deliver..
qmail should log the (failded) delivery. Please provide us with that
log entries.

This box I am sitting at uses qmail, too. I can send mails to local
users without any problem, using Mutt as my MUA.

Frank

PS
Please send your mails to the mailing list. Everybody else can read
and give other suggestions...



urlview and url_handler.sh help

2000-05-31 Thread David T-G

Hi, guys --

We've just installed urlview-0.7 from the contrib directory; now we
have to figure out how to use it.  When presented with a message with
an embedded URL, Ctrl-B properly brings me to a list of them, but going
to one and hitting return does nothing.  Um, what do I do?  The urlview
documentation is surprisingly, well, sparse :-)

TIA!


Interesting note: I found that I had a url_handler.sh in my ~/bin with
the comments indicating that it was last edited by Liviu Daia on Oct 30
1997, while the one enclosed in the tarball I got yesterday says he last
edited it May 26 1997.  Funny, eh? :-)

:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: urlview and url_handler.sh help

2000-05-31 Thread Mikko Hänninen

David T-G [EMAIL PROTECTED] wrote on Wed, 31 May 2000:
 Hi, guys --

Hi David!

 We've just installed urlview-0.7 from the contrib directory; now we
 have to figure out how to use it.  When presented with a message with
 an embedded URL, Ctrl-B properly brings me to a list of them, but going
 to one and hitting return does nothing.  Um, what do I do?  The urlview
 documentation is surprisingly, well, sparse :-)

Okay, here's how it works.

urlview looks in your home dir for a .urlview file.  In this file, you
specify a regular expression for detecting URLs (looks like that part is
working) and a command to run when you select a URL.  The command gets
the URL as the first argument.

So, sounds like the regular expression has been set up correctly but the
URL displayer program doesn't work.  If you have a program set up
(urh_handler.sh is the default, but it's a shell script and you could
substitute your own), you can easily test it by just running
"url_handler.sh any URL" on the command line, and see what happens.
And go from there...


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
145 = 1! + 4! + 5!



Re: urlview and url_handler.sh help

2000-05-31 Thread Suresh Ramasubramanian

David T-G proclaimed on mutt-users that: 

to one and hitting return does nothing.  Um, what do I do?  The urlview
documentation is surprisingly, well, sparse :-)

What keybindings do you use?  I use

# URL highlighting with the same regexp as urlview.
macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'

and it is pretty ok.

-- 
Suresh Ramasubramanian | sureshr at staff.juno.com
"Amnesia used to be my favorite word, but then I forgot it."



when will we see 1.2.1?

2000-05-31 Thread David T-G

Hi again --

I've seen a few patches and discussions go by, and I wonder when we might
see 1.2.1 come out.  If it's in the next week or so, I'll hold off on
patching my 1.2 with my crazy cocktail...


TIA  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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: urlview and url_handler.sh help

2000-05-31 Thread David T-G

Mikko, et al --

...and then Mikko Hänninen said...
% David T-G [EMAIL PROTECTED] wrote on Wed, 31 May 2000:
%  Hi, guys --
% 
% Hi David!

Good late-morning to you :-)  I figured someone would be awake and able
to answer this question!


% 
...
%  an embedded URL, Ctrl-B properly brings me to a list of them, but going
%  to one and hitting return does nothing.  Um, what do I do?  The urlview
%  documentation is surprisingly, well, sparse :-)
% 
% Okay, here's how it works.
% 
% urlview looks in your home dir for a .urlview file.  In this file, you
% specify a regular expression for detecting URLs (looks like that part is
% working) and a command to run when you select a URL.  The command gets
% the URL as the first argument.

Ahhh...  Don't got one of those.  Care to send me one?

Oh, no; wait.  Found the sample in the tarball, dropped a copy in my
home dir, and changed the netscape command to lynx to get it working, and
it did.  So I should say "Care to send me a really cool one?" instead :-)

Is there a global .urlview location (/etc/Urlview or some such, or perhaps
specified in the global Muttrc file?) so that each user doesn't have to
go through this?


% 
% So, sounds like the regular expression has been set up correctly but the
% URL displayer program doesn't work.  If you have a program set up
% (urh_handler.sh is the default, but it's a shell script and you could
% substitute your own), you can easily test it by just running
% "url_handler.sh any URL" on the command line, and see what happens.
% And go from there...

Interestingly enough, this all works without a copy of url_handler.sh
as far as I can see; in light of some debugging I had in my old copy,
I renamed it out of the way, and there was no url_handler.sh dropped
off in /usr/local/bin with the urlview binary.  I'm sure that having
one would be cool thanks to the various ncftp mods I've seen going by,
but it apparently isn't necessary (and, yet, .urlview *is*, and that only
for actually firing off the browser since I was getting a list of URLs).


% 
% 
% Regards,
% Mikko
% -- 
% 145 = 1! + 4! + 5!

Wow...  That is *really* cool!


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: urlview and url_handler.sh help

2000-05-31 Thread David T-G

Suresh --

...and then Suresh Ramasubramanian said...
% David T-G proclaimed on mutt-users that: 
% 
% What keybindings do you use?  I use
...
% and it is pretty ok.

Thanks for your note.  I also use Ctrl-B, and I was getting a list of
URLs, but nothing else would happen.  Turned out that I needed a .urlview
file (very curious, IMHO).


% 
% -- 
% Suresh Ramasubramanian | sureshr at staff.juno.com
% "Amnesia used to be my favorite word, but then I forgot it."


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: automatic limiting (by date)

2000-05-31 Thread David T-G

Hi again!

I suppose I should answer my own question now that I've figured it out;
this works pretty well and I'm even looking at letting my script clear my
procmail log for me.

...and then David @ BigFoot said...
% Hi, folks --
% 
% I dump my incoming mail into =F.* with procmail, and I have a little
% alias that keeps track of the log and gives me stats like 
% 
%   -rw-r--r--   1 davidtg 0 Mar  1 15:24 .mail.log.date
%   The current date is: Mar  2 08:37
% 
%   50
%   Folder: /usr/bin/formail
%   Folder: /var/spool/mail/davidtg
%   Folder: F.funnies
%   Folder: F.lists
%   Folder: F.mutt
%   Folder: F.news
%   Folder: F.root
% 
% I can thus see how many new messages (50) have come in since I last
% cleared the log, and where they landed (a few just went through formail,
% some hit $MAIL, and the rest landed in =F.*).  If I stay on top of things,
...
% I'd like to whip up a little muttrc which says
% 
%   source $HOME/mutt/.muttrc
%   push 'l ~r 01/03/2000-'
% 
% and then fire up mutt on the F.* folder using -F to source *this* muttrc
% file, but I can't get the push grammar right.  Maybe push isn't what I
% need to just limit the display, perhaps.  Help!

The little script that checks the date of last clearing and then
generates the date-limited muttrc (as well as generating the folder list)
is attached.  As expected, it was simply a matter of quoting properly :-)


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*



#!/bin/sh

# quick hack to show all mail since last procmail clear in all folders

# get folder list from procmail log; get date from timestamp ; build muttrc

# get folder list from procmail log
list=`egrep '^  Folder: F' $HOME/.procmail/.mail.log | awk '{print $2}' | sort -u`

# get last-cleared date from timestamp file
eval `/bin/ls -lFo $HOME/.procmail/.mail.log.date | awk '{print "month=" $5 "; day=" 
$6 "; time=" $7}'`

# parse some fields
case $month in  # convert to numeric
  Jan ) mon=01 ;; Feb ) mon=02 ;; Mar ) mon=03 ;; Apr ) mon=04 ;;
  May ) mon=05 ;; Jun ) mon=06 ;; Jul ) mon=07 ;; Aug ) mon=08 ;;
  Sep ) mon=09 ;; Oct ) mon=10 ;; Nov ) mon=11 ;; Dec ) mon=12 ;;
esac
[ $day -lt 10 ]  day=0$day# force two-digit
case $time in
  [0-9][0-9][0-9][0-9] ) year=$time ;;  # strange but true
  [0-9][0-9]:[0-9][0-9] ) year=`date +%Y`   # get the year
esac

# create special muttrc for since-this-date
cat  $HOME/.mutt/muttrc.date  END_OF_MUTT
source $HOME/.mutt/muttrc
push "l ~N ~r $day/$mon/$year-\n"
END_OF_MUTT

# read the list of mailboxes

for box in $list
do
  mutt -F $HOME/.mutt/muttrc.date -f =$box
done


## .../.procmail/.mail.log.date.last
## .../.procmail/.mail.log.`cat ...date.last`


 PGP signature


Re: urlview and url_handler.sh help

2000-05-31 Thread Mikko Hänninen

David T-G [EMAIL PROTECTED] wrote on Wed, 31 May 2000:
 Ahhh...  Don't got one of those.  Care to send me one?

I think I'm using the defaults (the example file), or maybe it's from
Debian.  So anyway, just for the record, here it is sans comments:

REGEXP (((http|https|ftp|gopher)|mailto):(//)?[^ "\t]*|(www|ftp)\.[-a-z0-9.]+)[^ 
.,;\t"\):]
COMMAND url_handler.sh

Others have probably developed better regexps (feel free to post!).

 Is there a global .urlview location (/etc/Urlview or some such, or perhaps
 specified in the global Muttrc file?) so that each user doesn't have to
 go through this?

Doesn't look like there is (the documentation didn't say and looking
at the "strings" list from the binary didn't reveal anything either, I
don't have the source handy right now).  Should be easy enough to add
that feature though.

You can't configure this in your Muttrc because there's also no way to
tell urlview to use another configuration file (ie. no -f option).
That's another easy and probably useful addition to the program. :-)


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
Fire, Mr. Worf!  [Worf picks up extinguisher]



Re: [OT-ish] HTML being filtered?

2000-05-31 Thread Byrial Jensen

On Tue, May 30, 2000 at 13:01:46 -0500, Aaron Schrab wrote:
 At 11:12 -0500 30 May 2000, Ronny Haryanto [EMAIL PROTECTED] wrote:
  an RFC (about multipart or MIME, I can't remember exactly) suggests
  that the last text/plain part be shown if all of the parts are of the
  same type. Please correct me if I'm wrong.
 
 Actually, mailers are supposed to prefer the last alternative that they
 can handle, regardless of type (RFC 2046, section 5.1.4).

And so does Mutt, of course. Or more precise:

1) The alternative_order list is searched, and the first item on the
list which matches one or more alternative parts is used, and the
last part matching the used entry is chosen.

2) If no part is chosen, then the last part which can be autoviewed
is chosen.

   [A part can be autoviewed if:

   a.1) $implicit_autoview is set, or
   a.2) the environment variable MM_NOASK is defined to "1" or to a
list of MIME types where one matches the type the part, or
   a.3) it is on the auto_view list.

   and

   b) a suitable mailcap command for the type is found.]

3) If no part is chosen, then the last part of type text/enriched is
chosen.

4) If no part is chosen, then the last part of type text/plain is
chosen.

5) If no part is chosen, then the last part of type text/html is
chosen.

6) If no part is chosen, then the last part of a type which Mutt can
handle fully or partially is chosen (for example message/rfc822 and
multipart/* parts).

7) If still no part is chosen, Mutt gives up and gives an error
message.

If anybody wants to include this stuff in the manual (section 5.5),
please go ahead.

-- 
Byrial
http://home.worldonline.dk/~byrial/



Re: urlview and url_handler.sh help

2000-05-31 Thread David T-G

Mikko, et al --

Thanks for the defaults and info.

Meanwhile, I've figured out what's up -- urlview was trying to fire off
netscape, which does me no good whatsoever :-)  It all works, then, with
the built-in defaults -- if you don't stray from that set of assumptions
and preconditions.


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: urlview and url_handler.sh help

2000-05-31 Thread Suresh Ramasubramanian

David T-G proclaimed on mutt-users that: 

Meanwhile, I've figured out what's up -- urlview was trying to fire off
netscape, which does me no good whatsoever :-)  It all works, then, with
the built-in defaults -- if you don't stray from that set of assumptions
and preconditions.

You could still tweak it to call netscape (if you are running mutt in an
xterm, of course) :)

-- 
Suresh Ramasubramanian | sureshr at staff.juno.com
Stop searching.  Happiness is right next to you.



Re: urlview and url_handler.sh help

2000-05-31 Thread David T-G

Suresh --

...and then Suresh Ramasubramanian said...
% David T-G proclaimed on mutt-users that: 
% 
% Meanwhile, I've figured out what's up -- urlview was trying to fire off
% netscape, which does me no good whatsoever :-)  It all works, then, with
% 
% You could still tweak it to call netscape (if you are running mutt in an
% xterm, of course) :)

It's a little trickier when I'm running mutt at the back end of a telnet
session from WinDoze :-)/2  Now that I've finally gotten around to
getting my Linux box up for dialin, I probably could throw myself a
display from the server where I actually read mail, but lynx is easier
and faster than X over dialup :-)


% 
% -- 
% Suresh Ramasubramanian | sureshr at staff.juno.com
% Stop searching.  Happiness is right next to you.


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: Replying to multiple messages

2000-05-31 Thread David Ellement

On 000530, at 15:27:11, Bob Bell wrote:
 On Tue, May 30, 2000 at 08:55:11PM +0300, Mikko Hnninen [EMAIL PROTECTED] 
wrote:
  I wonder how something like this could be implemented?  It would be
  quite unpractical to keep a list of tagging order or anything like that.
 
 My thoughts exactly.  I'd tag all relevant messages, and then just
 hit ';g' or whatever over the message where I want the followups to
 appear.  This would be a really nice feature, ...

Don Blaheta implemented a version of this for mutt 0.80 in August
1997.  He nevr quite finished it, and no one else picked it up.  I
still have the message he posted to the list with the patche, if you
can't find it in an archive.

-- 
David Ellement [EMAIL PROTECTED]



mailcap entry for type application/msword not found

2000-05-31 Thread Jan Houtsma

I added the following in /etc/mailcap:

application/msword; word2x %s

But mutt still says:

mailcap entry for type application/msword not found

How do i do this?

Thanks,
jan



save-hook problem

2000-05-31 Thread Sergei Gerasenko

Hi guys,

I recently unsubscribed from the list because I was overwhelmed by the
amount of mail I was getting. I'm now going to use procmail. Anyway, the
question I have is probably trivial for most of you. I've tried to define a
couple of save-hooks in my muttrc and none of them have any effect on what I
think they should have an effect on. Let me explain it a little bit what I
mean.

As I understand the concept of save-hooks, they are intended for routing
messages to various places after they have been read. The routing is done
according to some rules. Now, none of that is happening on my computer
whether I use just regular expressions or message matching rules.

One more nuance I should tell you about is that I use fetchmail for
retrieving my mail. Therefore, the only explanation I've got is that the
hooks will work only if I use the built-in POP3 client. All the other hooks
including fcc-hooks work fine.

I would appreciate any help.

Thankx,
Sergei




Re: save-hook problem

2000-05-31 Thread David T-G

Sergei --

...and then Sergei Gerasenko said...
% Hi guys,
% 
% I recently unsubscribed from the list because I was overwhelmed by the
% amount of mail I was getting. I'm now going to use procmail. Anyway, the

Welcome back :-)


% question I have is probably trivial for most of you. I've tried to define a
% couple of save-hooks in my muttrc and none of them have any effect on what I
% think they should have an effect on. Let me explain it a little bit what I
% mean.

In fact, I wasn't able to glean enough detail from your message, and
others may not be able to, either.  Can you provide us with some
examples?

Yes, save-hooks specify where to save messages.  No, all hooks should
work regardless of how your mail is delivered (what POP3 is really
doing).


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: save-hook problem

2000-05-31 Thread Wolfram Stoermer

On Wed, May 31, 2000 at 01:03:51PM -0400, Sergei Gerasenko wrote:
 Hi guys,
 
 
 As I understand the concept of save-hooks, they are intended for routing
 messages to various places after they have been read. The routing is done
 according to some rules. Now, none of that is happening on my computer
 whether I use just regular expressions or message matching rules.

you have to write in your .muttrc a line like this:

fcc-save-hook '~L geier' +geier 
 
 One more nuance I should tell you about is that I use fetchmail for
 retrieving my mail. Therefore, the only explanation I've got is that the
 hooks will work only if I use the built-in POP3 client. All the other hooks
 including fcc-hooks work fine.

In my configuration  on Linux with fetchmail and sendmail it's ok.
 Wolfram :)



Re: when will we see 1.2.1?

2000-05-31 Thread Thomas Roessler

On 2000-05-31 05:58:08 -0400, David T-G wrote:

 I've seen a few patches and discussions go by, and I
 wonder when we might see 1.2.1 come out.  If it's in
 the next week or so, I'll hold off on patching my 1.2
 with my crazy cocktail...

1.2.1 will contain a couple of bug fixes, but will look
like 1.2 feature-wise.  No feature patches will go into
the 1.2 branch - that's what the unstable 1.3 branch is
for.

-- 
http://www.guug.de/~roessler/

 PGP signature


save-hook problem PART-II

2000-05-31 Thread Sergei Gerasenko



Hi,

this is a short addendum to my previous message about 
save-hooks. It was suggested that I provide more detail about my muttrc 
configuration. Unfortunately, I'm at work right now and can't send you guys a 
copy of my muttrc. I hear some of you say "well, then wait till you get home and 
then send the darn muttrc". This is what I was going to do anyway, but my 
impatient nature is driving my fingers to type this message. 

All I can tell you right now is that I'm using Mutt 
1.2iand this is one of thehooks in my muttrc: 

save-hook [EMAIL PROTECTED] +test

This is supposed to move allread mail coming from gerases@email.uc.edu 
(my email address) to "test". Thisis where I got stuck 
basically.

The abovehook is the only save-hook in the 
muttrcright now. So, thereshouldn't be any conflict there. 
Ialso have a couple of ignore statementsat thevery 
beginning.Initially I thought that the "From:" field was weeded out 
somehow and I commented outall the ignore lines. But alas that didn't help 
either.  

I hope the above is useful to see what may be wrong. 


Cheers,
 Sergei Gerasenko


Re: when will we see 1.2.1?

2000-05-31 Thread David T-G

Thomas, et al --

...and then Thomas Roessler said...
% On 2000-05-31 05:58:08 -0400, David T-G wrote:
% 
%  the next week or so, I'll hold off on patching my 1.2
%  with my crazy cocktail...
% 
% 1.2.1 will contain a couple of bug fixes, but will look
% like 1.2 feature-wise.  No feature patches will go into

Figured that much ...


% the 1.2 branch - that's what the unstable 1.3 branch is
% for.

... and knew this, but I like to apply a baker's dozen patches to get
things just right :-) and don't want to have to do it again for 1.2.1
when it comes out, since I'll definitely want to be there.  I'm happy
enough, for now, with 95.7i and trying to talk myself into revamping my
muttrc for the pgp configs :-)


% 
% -- 
% http://www.guug.de/~roessler/


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: mailcap entry for type application/msword not found

2000-05-31 Thread Jan Houtsma

On Wed, May 31, 2000 at 06:51:47PM +0200, Jan Houtsma wrote:
 I added the following in /etc/mailcap:
 
 application/msword; word2x %s
 
 But mutt still says:
 
 mailcap entry for type application/msword not found
 
 How do i do this?
 
 Thanks,
 jan

Never mind. I figured it out myself, but dont know why it didnt work as
before.
If i add '; copiousoutput' then it works, but i thought that was optional. 

Now i can finally view word documents in my mutt and it looks great!!

mailcap:
application/msword; word2html %s; copiousoutput

word2html:
#!/bin/zsh
f=/tmp/word2html.$$.html
wvHtml $1 2/dev/null $f
lynx -dump $f
rm -f $f



Re: save-hook problem

2000-05-31 Thread Mikko Hänninen

Sergei Gerasenko [EMAIL PROTECTED] wrote on Wed, 31 May 2000:
 As I understand the concept of save-hooks, they are intended for routing
 messages to various places after they have been read. The routing is done
 according to some rules. Now, none of that is happening on my computer
 whether I use just regular expressions or message matching rules.

Well, I'm not sure based on your description whether you've understood
save-hooks correctly or not.

When you specify a save-hook, you set a *default* folder for saving a
message to.

For example,

  save-hook ~t [EMAIL PROTECTED] +mutt-users

specifies that the default save folder for emails which are addressed
to [EMAIL PROTECTED] will be the folder +mutt-users.  This doesn't
mean they will be *automatically* saved there, it only means that when
you press "s" for saving a message, that +mutt-users will be the default
value in the prompt, and you can just press enter to save the message
there.

So it doesn't do automatic saving, it only affects things when you're
saving a message yourself.


I hope that helps, even if I'm not sure if I'm answering your question.
:-)

Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
Despite the high cost of living, it remains very popular.



Re: urlview and url_handler.sh help

2000-05-31 Thread Brian Salter-Duke

On Wed, May 31, 2000 at 10:52:20AM -0400, David T-G wrote:
 Suresh --
 
 ...and then Suresh Ramasubramanian said...
 % David T-G proclaimed on mutt-users that: 
 % 
 % Meanwhile, I've figured out what's up -- urlview was trying to fire off
 % netscape, which does me no good whatsoever :-)  It all works, then, with
 % 
 % You could still tweak it to call netscape (if you are running mutt in an
 % xterm, of course) :)
 
 It's a little trickier when I'm running mutt at the back end of a telnet
 session from WinDoze :-)/2  Now that I've finally gotten around to
 getting my Linux box up for dialin, I probably could throw myself a
 display from the server where I actually read mail, but lynx is easier
 and faster than X over dialup :-)
 
Yes, that is my situation but I often also want to use ftp URLs etc.
Have a look at the stuff I put up on my web site some time ago:-

http://lacebark.ntu.edu.au/mutt.html

Cheers, Brian.
 
 % 
 % -- 
 % Suresh Ramasubramanian | sureshr at staff.juno.com
 % Stop searching.  Happiness is right next to you.
 
 
 :-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
 The "new millennium" starts at the beginning of 2001.  There was no year 0.
 Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*
 



-- 
Associate Professor Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED]  
  School of Biological, Environmental and Chemical Sciences, SITE,
Northern Territory University, Darwin, NT 0909, Australia.  Phone 08-89466702. 
Fax 08-89466847  http://www.smps.ntu.edu.au/school/compchem.html



Re: urlview and url_handler.sh help

2000-05-31 Thread David T-G

Brian --

...and then Brian Salter-Duke said...
% On Wed, May 31, 2000 at 10:52:20AM -0400, David T-G wrote:
%  
%  getting my Linux box up for dialin, I probably could throw myself a
%  display from the server where I actually read mail, but lynx is easier
%  and faster than X over dialup :-)
%  
% Yes, that is my situation but I often also want to use ftp URLs etc.
% Have a look at the stuff I put up on my web site some time ago:-

Aha!  You are, no doubt, the guy who tweaked his url_handler to properly
work with ncftp and trailing "/" chars and all of that.  And, therefore, ...


% 
% http://lacebark.ntu.edu.au/mutt.html

... it's probably safe to figure that this is where I can find it :-)


% 
% Cheers, Brian.

Thanks!


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: mailcap entry for type application/msword not found

2000-05-31 Thread Gary Johnson

On Wed, May 31, 2000 at 10:59:58PM +0200, Jan Houtsma wrote:

 Now i can finally view word documents in my mutt and it looks great!!
 
 mailcap:
 application/msword; word2html %s; copiousoutput
 
 word2html:
 #!/bin/zsh
 f=/tmp/word2html.$$.html
 wvHtml $1 2/dev/null $f
 lynx -dump $f
 rm -f $f
 

I'm doing essentially the same thing, but using w3m instead of lynx
because w3m also renders tables.  It does indeed look great, much better
even than the plain text generated by Word itself.  Specifically, my
word2text script contains:

wvHtml $1 2 ~/tmp/wvHtml.errors |
perl -0777 -p -e '
s|img .*?||gs;# Delete img tags.
' |
w3m -dump -T text/html |
perl -0777 -p -e 's/\n\s*\n/\n\n/gs'# Delete extra whitespace
# between lines.

-- 
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | RF Communications Product Generation Unit
 | Spokane, Washington, USA



Re: urlview and url_handler.sh help

2000-05-31 Thread Suresh Ramasubramanian

David T-G proclaimed on mutt-users that: 

It's a little trickier when I'm running mutt at the back end of a telnet
session from WinDoze :-)/2  Now that I've finally gotten around to

Ya, that figures :)

getting my Linux box up for dialin, I probably could throw myself a
display from the server where I actually read mail, but lynx is easier
and faster than X over dialup :-)

What was the hassle? diald / wvdial etc are pretty cool, work far easier
(and sometimes better) than tweaking chatscripts ;)

-- 
Suresh Ramasubramanian | sureshr at staff.juno.com
First Corollary of Taber's Second Law:
Machines that piss people off get murdered.
-- Pat Taber