Re: How make StarOffice read MS-Word attachments automagically?
HI Christian, Using staroffice is a horror idea - at least to me...:-)). What do you want to see in those emails? Mutt is an email client, very fast, staroffice is *BIGGG* and *SLW*. I can imagine myself waiting 30-40 sec for some stupid email to come up...How can you survive? Anyway, after the rant, some answers: HTML mail: if you really want a graphical browser why do not use konqeror in KDE or opera - these are small, fast and still very capable browsers... MSWORD: the way is to convert it to text: for this you need wordview package (find it on the nearest linux mirror) .muttrc: autoview application/msword autoview application/rtf .mailcap: application/msword; ~/wordview.sh %s; copiousoutput The wordview.sh file is abit tricky: first one need to convert doc to html, then get lynx or links to dump it to text and finally feed it back to mutt... What I did is a terrible hack I know, there is a more clever way using pipes, but it just did not want to work for me. So here is the script: #!/bin/bash wvHtml --charset utf-8 $1 ~/tmp/wordtempfile.html links -dump ~/tmp/wordtempfile.html rm -f ~/tmp/wordtempfile.html Copy it to a text file, name it wordview.sh then chmod a+x wordview.sh (this makes it executable) put it somewhere in you path wvHtml is the binary html converter in the wordview package. links has to be at least v0.92, you can use lynx if you fancy that. Do not forget to put the following in your .mime.types file: application/msword doc dot application/rtf rtf Hope this helps... -- Viktor On Fri, May 04, 2001 at 07:46:03PM -0700, Dr. Christian Seberino wrote: I successfully got html attachments read automagically and thought I would be more ambitious and get StarOffice to read M$-Word attachments too... What is the analog of auto_view text/html in .muttrc and text/html; lynx -dump %s ; copiousoutput in .mailcap? (I tried auto_view text/doc but no go (doc is binary :( ) I still love mutt, Chris -- === Dr. Christian Seberino === SPAWARSYSCEN D02P || (619) 553-2564 49330 ELECTRON DR || SAN DIEGO CA 92152-5451|| [EMAIL PROTECTED] ===
Save hook for multiple To: From: addressees/senders
Greetings, Is there an easy way to define a save hook for multiple people on either the To:/Cc: or From: list? I'd like to save all the mail from family members for example in one folder. Right now I'm doing the following save-hook '(~f brother|\ ~C brother|\ ~f sister1|\ ~C sister1|\ ~f sister2|\ ~C sister2)' +family but it seems rather inefficient especially for a long list of people. Can this be done with aliases? Rod -- Rod Pike rodneyp @ utanet.at
Re: Hello. I need help configuring mutt.
On Sat, May 05, 2001 at 10:25:36AM +0530, Suresh Ramasubramanian wrote: Try using this set envelope_from folder-hook . my_hdr From: [EMAIL PROTECTED] (Suresh Ramasubramanian) folder-hook . my_hdr Reply-To: [EMAIL PROTECTED] (Suresh Ramasubramanian) Still doesn't work. (And, of course, I did replace your address with mine.) Here's the complete error mail I get back. The From line is generated nicely, it seems to be objecting to something else. ---Begin Error Message--- From MAILER-DAEMON Sat May 05 06:22:40 2001 Return-path: Envelope-to: skip@frodo Delivery-date: Sat, 05 May 2001 06:22:40 -0500 Received: from mail by frodo with local (Exim 3.12 #1) id 14w092-5y-00 for skip@frodo; Sat, 05 May 2001 06:22:40 -0500 X-Failed-Recipients: [EMAIL PROTECTED] From: Mail Delivery System Mailer-Daemon@frodo To: skip@frodo Subject: Mail delivery failed: returning message to sender Message-Id: E14w092-5y-00@frodo Date: Sat, 05 May 2001 06:22:40 -0500 Status: RO Content-Length: 1057 Lines: 29 This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. The following address(es) failed: [EMAIL PROTECTED]: SMTP error from remote mailer after MAIL FROM:skip@frodo SIZE=1605: host krypton.mankato.msus.edu [134.29.1.18]: 501 skip@frodo... Sender domain must exist -- This is a copy of the message, including all the headers. -- Return-path: skip@frodo Received: from skip by frodo with local (Exim 3.12 #1) id 14w08W-5l-00 for [EMAIL PROTECTED]; Sat, 05 May 2001 06:22:08 -0500 Date: Sat, 5 May 2001 06:22:08 -0500 From: Jonathan Rosebaugh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Testing what he said Message-ID: 20010505062208.A349@frodo Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: Galactic Imperial Goverment, Earth Office Sender: Jonathan Rosebaugh,,, skip@frodo Testing. ---End Error Message---
Re: How make StarOffice read MS-Word attachments automagically?
On Sat, May 05, 2001 at 07:49:40AM +0100, Viktor Lakics wrote: Using staroffice is a horror idea - at least to me...:-)). What do you want to see in those emails? Mutt is an email client, very fast, staroffice is *BIGGG* and *SLW*. I can imagine myself waiting 30-40 sec for some stupid email to come up...How can you survive? [...] MSWORD: the way is to convert it to text: for this you need wordview package (find it on the nearest linux mirror) [...] An alternative to wordview is catdoc available from http://www.fe.msk.ru/~vitus/catdoc/ (and it may well be part of whatever Linux distribution you're using). Just install it and shove the following line in your .mailcap: application/msword; catdoc %s; copiousoutput and this in your .muttrc: auto_view application/msword I've noticed that a lot of broken Windows mailers set the MIME type on Word documents to application/octet-stream. As this is a kind of catch-all or last resort MIME type it doesn't really tell you much about what the content actually is. So if you want to handle this gracefully you could use the following in your .mailcap: application/octet-stream; any2ascii %s; copiousoutput and this in your .muttrc: auto_view application/octet-stream where any2ascii is the script below. This can easily be extended for other data you receive with a MIME type of application/octet-stream. The script depends on the file unix command being able to recognise the format of the actual data. Mark. #!/bin/sh # Guess the MIME type. if [ $# != 1 ]; then echo USAGE: $0 file exit 1 fi type=`file -b ${1+$@}` if [ $type = Microsoft Word document data ]; then echo [-- any2ascii: using catdoc to convert '$type' --] echo catdoc ${1+$@} echo echo [-- any2ascii: EOF --] else echo [-- any2ascii: unsupported file type '$type' --] fi
Can't send zip attachments
I can't seem to send a message with a zipfile attached properly. It is received at the other end as 'text/plain' or something. Anybody have an idea of what I'm doing wrong? TIA... -- -duke Calgary, Alberta, Canada
Collapse threads
How I can make default for mutt to collapse message after I read. Thanks
Re: Hello. I need help configuring mutt.
* Jonathan Rosebaugh [EMAIL PROTECTED] Sat, 5 May 2001 06:29:21 -0500 - On Sat, May 05, 2001 at 10:25:36AM +0530, Suresh Ramasubramanian wrote: - Try using this - set envelope_from - folder-hook . my_hdr From: [EMAIL PROTECTED] (Suresh Ramasubramanian) - folder-hook . my_hdr Reply-To: [EMAIL PROTECTED] (Suresh Ramasubramanian) - Still doesn't work. (And, of course, I did replace your address with mine.) - Here's the complete error mail I get back. The From line is generated nicely, - it seems to be objecting to something else. erm.. this is a bit weird. Now, can you do me a favor and send a mail using sendmail -v from your local box, see where this rewriting / masquerading is happening (likely, not at your local box) - Received: from mail by frodo with local (Exim 3.12 #1) - id 14w092-5y-00 - for skip@frodo; Sat, 05 May 2001 06:22:40 -0500 hmmm... you are running exim still - that's what is listening at port 25. _Not_ sendmail, which you have configured. Remove / move the exim binary and set symlinks etc appropriately, please. Or configure the masquerading in exim itself - eximconfig does it on debian - or /usr/exim/configure is VERY easy to edit. -s
Re: Hello. I need help configuring mutt.
On Sat, May 05, 2001 at 10:49:39PM +0530, Suresh Ramasubramanian wrote: * Jonathan Rosebaugh [EMAIL PROTECTED] Sat, 5 May 2001 06:29:21 -0500 - Still doesn't work. (And, of course, I did replace your address with mine.) - Here's the complete error mail I get back. The From line is generated nicely, - it seems to be objecting to something else. erm.. this is a bit weird. Now, can you do me a favor and send a mail using sendmail -v from your local box, see where this rewriting / masquerading is happening (likely, not at your local box) I don't have sendmail installed. - Received: from mail by frodo with local (Exim 3.12 #1) - id 14w092-5y-00 - for skip@frodo; Sat, 05 May 2001 06:22:40 -0500 hmmm... you are running exim still - that's what is listening at port 25. _Not_ sendmail, which you have configured. Remove / move the exim binary and set symlinks etc appropriately, please. When did I say I had sendmail configured? I don't even have it installed. I am running exim. If I remove it, I will have no MTA at all, and I won't be able to send any mail. Or configure the masquerading in exim itself - eximconfig does it on debian - or /usr/exim/configure is VERY easy to edit. How? The only options I see are for it to insert a different domain name instead of 'frodo'. I don't have a domain name that's valid on the Internet. I get my mail via POP boxes elsewhere, and use fetchmail to retrieve it.
Re: Hello. I need help configuring mutt.
Well, I found the answer in a google search shortly after I wrote that message. The problem was that i needed to set 'trusted_users' in my exim conf.
Re: color body: influence of multiple matching patterns
On Tue 1.May'01 at 19:20:47 +0200 wrote Rado S. [EMAIL PROTECTED]: I have some messages with www/ftp URLs. To highlight them I use -- QUOTE BEGIN -- color body black yellow '(ftp|www)(\.[^ ]+)+(/[^]*)*' color body black white [^\t ]+:([^\t ]*/[^\t ]*)+ color body black green (f|ht)tp://[^\t ]+ color signature red black === QUOTE END === This works in general. www.bla.org - yellow host:www.what/bla/fasel - white http://www.doamin.bla - green For all eMails it works, except for 1 ! Try the above color definitions and have a look on the eMail attached ! If you can, tell me ... 1. why isn't the sig recognized and coloured right ? From the source-code signatures are recognized and separated by -- . Why is this so ? Is it a RFC ? 2. why is the URL at the bottom not green but white ??? When I comment out the white definition and restart mutt, the URL turns green !!! It takes the _earliest_ matchposition rather than the biggest or first/last matching string. Only if match position is same it goes for size and finally it takes the last in order. I had to change the white pattern to: color body black white [a-z0-9]+:([^\t ]*/[^\t ]*)+ to have the URL enclosed in to appear green. -- QUOTE BEGIN -- From [EMAIL PROTECTED] Tue Apr 24 17:53:11 2001 Date: Wed, 4 Apr 2001 13:43:37 -0600 (MDT) From: Rado [EMAIL PROTECTED] To: Rado [EMAIL PROTECTED] Subject: Metaserver. Rob -- You guys are so unhip it's a wonder your bums don't fall off. - Zaphod Beeblebrox - The Hitchiker's Guide to the Galaxy -- http://www.ee.ualberta.ca/~kaut Electrical Engineering 1998 University of Alberta === QUOTE END === -- Rado S. eMail: [EMAIL PROTECTED] +- Message is based on my knowledge: | So much to do, and only so little I'm not omniscient, take care! | time, no mercy, no hope.
Re: How to specify the current folder in a folder-hook?
On Sat, May 05, 2001 at 01:43:30AM +0100, Mark Sheppard wrote: I missed that post - I've only been using mutt (and subscribed to the list) for a few days, but that sounds like the kind of thing I want. Unfortunately when I add this line to .muttrc then run mutt and hit `s' on an email with `L' by it it doesn't work, I just get prompted for a mailbox name: Save to mailbox ('?' for list): = Hmmm. Well, I obviously didn't try it - I figured Lars was authoritative! :) I subscribe to multiple mailing lists but I use procmail to separate the mail into the different folders before reading. Less work in the long run, I find. Have you considered that? You might find it a lot more satisfying than parking a brick on the 's' key Tim
Re: color body: influence of multiple matching patterns
On Sat, May 05, 2001 at 10:04:19PM +0200, Rado S. wrote: From the source-code signatures are recognized and separated by -- . Why is this so ? Is it a RFC ? No. However, it's a standard in the sense that it's been used consistently and for a long time by various mail programs. Some standards come from RFC, some from committees, some by fiat (think Microsoft) and some from common usage. This is the common usage kind :) Tim -- Timothy H. Legant My ancestors were Puritans from England. They arrived here in 1648 in the hope of finding greater restrictions than were permissible under English law at that time. -- Garrison Keillor
HTML mail - mailcap problem
I was following the recent thread about HTML mail, and hosed my mailcap/muttrc settings - I think. Before dinking around with the settings, I hit 'v' to view the attachments, and when I hit 'Enter' on a text/html entry, Links would come up nice -- but source code only. I reads the 'Links' manual to find out that Mutt's auto_view setting doesn't work with my version (083 or something) of Links. So I got rid of auto_view. However, when I select a message from the index that's HTML I get the following: mailcap entry for type text/html not found What the hell? My muttrc has the mailcap_path set correctly! I have a mailcap file in every freaking directory imaginable, and the mailcap entries are: text/html; links %s; needsterminal; nametemplate=%s.html Any ideas? TIA... -- -duke Calgary, Alberta, Canada
Re: Collapse threads
Hi, Efata muttered: How I can make default for mutt to collapse message after I read. Thanks you want a thread to be collapsed, when there are no more new messages in it, while the other threads stay uncollapsed, right? Don't think that's possible without patching the source. It would be a *real* nice feature, though. :) Michael -- ...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and the Ugly). (By Matt Welsh) PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key
Re: Collapse threads
Michael Tatge muttered: Hi, Efata muttered: How I can make default for mutt to collapse message after I read. Thanks you want a thread to be collapsed, when there are no more new messages in it, while the other threads stay uncollapsed, right? Don't think that's possible without patching the source. I'm too fast once again. unset collapse_unread folder-hook . push \eV HTH, Michael -- I once witnessed a long-winded, month-long flamewar over the use of mice vs. trackballs...It was very silly. (By Matt Welsh) PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key
F1 key macro to launch Mutt Manual
I saw it somewhere on the Web once, but do you think I can find it again? Not. I'm looking for the F1 macro that'll launch the Mutt Manual. I've tried to create myself, but no joy! Anybody have it in their muttrc or know where I can find it? TIA... -- -duke Calgary, Alberta, Canada
Re: F1 key macro to launch Mutt Manual
On Sat, May 05, 2001 at 07:01:51PM -0600, Duke Normandin typed: I'm looking for the F1 macro that'll launch the Mutt Manual. I've tried to create myself, but no joy! Anybody have it in their muttrc or know where I can find it? TIA... macro generic f1 !less /usr/doc/mutt/manual.txt\n Show Mutt documentation macro index f1 !less /usr/doc/mutt/manual.txt\n Show Mutt documentation macro pager f1 !less /usr/doc/mutt/manual.txt\n Show Mutt documentation -- Suresh Ramasubramanian + Wallopus Malletus Indigenensis mallet @ cluestick.org + Lumber Cartel of India, tinlcI EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
Re: Hello. I need help configuring mutt.
On Sun, May 06, 2001 at 07:08:42AM +0530, Suresh Ramasubramanian wrote: On Sat, May 05, 2001 at 02:19:13PM -0500, Jonathan Rosebaugh typed: Well, I found the answer in a google search shortly after I wrote that message. The problem was that i needed to set 'trusted_users' in my exim conf. That should'nt have mattered at all. Exim still sets the envelope properly if you set # Specify your host's canonical name here. This should normally be # the fully # qualified official name of your host. If this option is not set, # the # uname() function is called to obtain the name. primary_hostname = example.com # Specify the domain you want to be added to all unqualified # addresses # here. An unqualified address is one that does not contain an @ # character qualify_domain = example.com I do not know why this seems so hard to understand: I DO NOT HAVE A CANONICAL DOMAIN NAME!!! My mailreading machine has a domainname of frodo.localdomain. Try pinging THAT! Those two settings you described work nicely for a machine where the mail will be directly delivered, which also has a real domain name. My machine fits neither of those two criteria, so I used 'trusted_users' and 'envelope_from'. Anyhow, it's resolved. thank you.