Re: Pager problems in 1.3.27 - ncurses 5.2 vs slang 1.4.4
On Mon, 04 Mar 2002, 20:54, Sven Guckes wrote: is this for *all* mails in your mailbox? or just for *some*? please dont tell us that you only tried it on one message which contains a text/html part only and that your mailcap file tells mutt to use lynx but cannot be found ;-) No, all messages :-) And any text that I enter, for example when I supply a To: address when composing a new message have you tried linking mutt with slang yet? I think so, but I'll try again and let you know what happens Thanks, Ray --
Re: Pager problems in 1.3.27 - ncurses 5.2 vs slang 1.4.4
On Tue, 05 Mar 2002, 09:25, Raymond A Meijer wrote: have you tried linking mutt with slang yet? I think so, but I'll try again and let you know what happens Hmmmall I get then is coloured barsit looks nice, but I still can't see the messages :) Ray --
Ask before sending non-rfc gpg-mails
Hello mutt-users, I'm using set pgp_create_traditional=yes in my .muttrc to send encrypted/signed E-Mails to Outlook-users (this client obviously isn't RFC 2015-compatible). In addition I use the pgp-traditional patch from Dale Woolridge for forcing text/plain content. Is it possible to use pgp_create_traditional only if required? -- Cheers, Heiko Heil __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Ihre E-Mail noch individueller? - http://domains.yahoo.de
Re: Ask before sending non-rfc gpg-mails
On 2002-03-05 Heiko Heil wrote: Hello mutt-users, I'm using set pgp_create_traditional=yes in my .muttrc to send encrypted/signed E-Mails to Outlook-users (this client obviously isn't RFC 2015-compatible). In addition I use the pgp-traditional patch from Dale Woolridge for forcing text/plain content. Is it possible to use pgp_create_traditional only if required? How do you know when it is required? Personally, I do this with send-hooks. I've got a file with all Email-Adresses I know to prefer Outlook-compatible gpg-enncoding. With a simple shell script I generate send-hooks fpr this adresses. So in my muttrc there is send-hook . set pgp_create_traditional=no and an include to a file that contains lines like send-hook a.b@c set pgp_create_traditional=yes But as pgp_create_traditional is a quadoption IIRC, you might prefer to set pgp_create_traditional=ask-no (or also ask-yes) so you can define every time you send encrypted mail the method how to encrypt it. Regards, Christoph -- Christoph Maurer - D - 52072 Aachen mailto:[EMAIL PROTECTED] - http://www.christophmaurer.de On my Homepage: SuSE 7.0 on an Acer Travelmate 508 T Notebook
Re: Folder view - use file mask!
* David Collantes [EMAIL PROTECTED] [020304 17:09]: Does anyone knows how to view folders on more than one column? Right now it shows one column only, but when you have a lot of mailboxes that gets quite long... multicolumn output has not been implemented yet. one column is all you get for now. sorry. anyway, mutt builds up the list of all my folders in less than two seconds - and i have quite a few folders there: cd ~/Mail ls | wc -l 5290 btw: using 'm' to enter a file mask is a much more powerful selection method than displaying the names in multiple columns. and you still get to jump to some folder name by its index number. :-) try it! Sven -- Sven Guckes [EMAIL PROTECTED] http://www.math.fu-berlin.de/~guckes/mutt/setup.html
Re: Pager problems in 1.3.27 - mailcap? TERM?
* Raymond A. Meijer [EMAIL PROTECTED] [020305 09:14]: On Tue, 05 Mar 2002, 09:25, Raymond A. Meijer wrote: have you tried linking mutt with slang yet? I think so, but I'll try again and let you know what happens... Hmmm..all I get then is coloured bars.. it looks nice, but I still can't see the messages :) move your mailcap out of the way - and try again. $ mv $HOME/.mailcap $HOME/.mailcap.removed $ mutt what now? try with TERM=vt100, too: $ TERM=vt100 $ export TERM $ mutt still no go? Sven
Re: Deleting text in subject flea
On Mon, Mar 04, 2002 at 10:08:39PM -0500, MuttER wrote: * David DeSimone [EMAIL PROTECTED] [03-04-02 15:55] crowed: Simon White [EMAIL PROTECTED] wrote: This seems to happen specifically when I have input more than 8 characters, which is usual for filenames with full paths and email addresses. I wonder if you could try running stty -tabs before you start Mutt. That takes care of delete and backspace but not 'home' and 'end' keys?? that's what terminfo is for. ftp://invisible-island.net/ncurses/terminfo.src.gz -- Thomas E. Dickey [EMAIL PROTECTED] http://invisible-island.net ftp://invisible-island.net
Re: Adding a header is there is an attachment
* John Buttery [EMAIL PROTECTED] [05-03-02 02:07 AM EST]: I am looking to add an extra header to my outgoing mails if there is an attachment. I tried the following macro: macro compose a :my_hdr: X-Attachment: Safe\nattach-file But it seems that at that point headers can not be added that way. Anyone has a better, working idea? The concept is sound, but your execution is a little off. :) First of all, the command is my_hdr, not my_hdr:, so that'll give you some problems. Try this: macro compose a :my_hdr X-Attachment: Safeenterattach-file John and folks, That recommendation does not works neither. I think that when you are at that point -email already composed- it is not possible to add any extra headers. They need to be added 'before' you enter message compossing. IN other words, unless someone else can provide the right macro, it can not be done at the point I am trying to. Perhaps creating a macro with \' that will start the compossing of an email with the special header on. If I am attaching something to an email I should know before I start typing that I will be doing so... just an idea, I guess... Cheers, -- David Collantes - http://www.bus.ucf.edu/david/ College of Business Administration, University of Central Florida Only a life lived for others is a life worth while. smime.p7s Description: application/pkcs7-signature
Re: Folder view - use file mask!
On Tue, Mar 05, 2002 at 11:23:03AM +0100, Sven Guckes wrote: * David Collantes [EMAIL PROTECTED] [020304 17:09]: Does anyone knows how to view folders on more than one column? Right now it shows one column only, but when you have a lot of mailboxes that gets quite long... multicolumn output has not been implemented yet. one column is all you get for now. sorry. anyway, mutt builds up the list of all my folders in less than two seconds - and i have quite a few folders there: cd ~/Mail ls | wc -l 5290 btw: using 'm' to enter a file mask is a much more powerful selection method than displaying the names in multiple columns. and you still get to jump to some folder name by its index number. :-) try it! Sven -- Sven Guckes [EMAIL PROTECTED] http://www.math.fu-berlin.de/~guckes/mutt/setup.html What in the name of all that is holy are you _doing_ in there?! -- John Buttery (Web page temporarily unavailable) msg25016/pgp0.pgp Description: PGP signature
Re: Adding a header is there is an attachment
On Tue, Mar 05, 2002 at 06:05:05AM -0500, David Collantes wrote: * John Buttery [EMAIL PROTECTED] [05-03-02 02:07 AM EST]: I am looking to add an extra header to my outgoing mails if there is an attachment. I tried the following macro: macro compose a :my_hdr: X-Attachment: Safe\nattach-file But it seems that at that point headers can not be added that way. Anyone has a better, working idea? The concept is sound, but your execution is a little off. :) First of all, the command is my_hdr, not my_hdr:, so that'll give you some problems. Try this: macro compose a :my_hdr X-Attachment: Safeenterattach-file John and folks, That recommendation does not works neither. I think that when you are at that point -email already composed- it is not possible to add any extra headers. They need to be added 'before' you enter message compossing. IN other words, unless someone else can provide the right macro, it can not be done at the point I am trying to. Perhaps creating a macro with \' that will start the compossing of an email with the special header on. If I am attaching something to an email I should know before I start typing that I will be doing so... just an idea, I guess... Cheers, -- David Collantes - http://www.bus.ucf.edu/david/ College of Business Administration, University of Central Florida Only a life lived for others is a life worth while. Oh, you're right of course, I didn't even think about the significance of the compose context. Hmph. Yeah, it looks like you may be stuck macroing a secondary compose key for what you want (well, that or manually editing the headers). Assuming you're not worried about rogue attachments being added at your end (but rather a compromised MTA along the way), you could be SUPER motivated and write a wrapper for $sendmail that takes the message, parses any attachment names out of it, adds the header with formail, and _then_ sends it to sendmail or whatever for MTA-ing. That's some pretty heavy kung fu but it might do what you want. -- John Buttery (Web page temporarily unavailable) msg25017/pgp0.pgp Description: PGP signature
Re: Adding a header is there is an attachment
* John Buttery [EMAIL PROTECTED] [05-03-02 06:30 AM EST]: That recommendation does not works neither. I think that when you are at that point -email already composed- it is not possible to add any extra headers. They need to be added 'before' you enter message compossing. IN Oh, you're right of course, I didn't even think about the significance of the compose context. Hmph. Yeah, it looks like you may be stuck Great! Good to know I am not crazy :-) If I close me eyes I can see .muttrc burn on my retina... macroing a secondary compose key for what you want (well, that or [... SNIP ...] Just what I plan on doing. I will come back with my new macro, gotta drive to work now. formail, and _then_ sends it to sendmail or whatever for MTA-ing. That's some pretty heavy kung fu but it might do what you want. Yeah, well, I am already using a wrapper, TMDA (http://software.libertine.org/tmda/), so that makes it a bit more difficult. I am going to settle for a new macro for now. Thanks and... Cheers, -- David Collantes - http://www.bus.ucf.edu/david/ College of Business Administration, University of Central Florida I want to know God's thoughts, the rest are details. smime.p7s Description: application/pkcs7-signature
Re: Folder view - use file mask!
On Tue, Mar 05, 2002 at 09:19:36AM -0500, MuttER wrote: * John Buttery [EMAIL PROTECTED] [03-05-02 06:45] crowed: multicolumn output has not been implemented yet. one column is all you get for now. sorry. anyway, mutt builds up the list of all my folders in less than two seconds - and i have quite a few folders there: cd ~/Mail ls | wc -l 5290 btw: using 'm' to enter a file mask is a much more powerful selection method than displaying the names in multiple columns. and you still get to jump to some folder name by its index number. :-) try it! he is showing you how many lines (folders) exist in his Mail directory. -- Pat Shanahan Registered Linux User #207535 Registered at: http://counter.li.org I know. :) My point was, how do you possibly generate a need for that many folders? -- John Buttery (Web page temporarily unavailable) msg25020/pgp0.pgp Description: PGP signature
Re: Pager problems in 1.3.27 - mailcap? TERM?
On Tue, 05 Mar 2002, 11:25, Sven Guckes wrote: $ mv $HOME/mailcap $HOME/mailcapremoved $ mutt what now? The same try with TERM=vt100, too: $ TERM=vt100 $ export TERM $ mutt Nostill a blank screen, in BW now Strange huh? :) Ray --
gpg signature (was: Folder view - use file mask!)
* John Buttery [EMAIL PROTECTED] [02/03/05 15:41]: -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8hNitWH8M1wI2iFcRApO/AJwOFPUVJn3wxcP8r26eeANYGT7fdgCgklRs 3c1l651J0OaZ86L/ae2phjE= =+SPC -END PGP SIGNATURE- ...and now for something completely different: Sorry, if I do not add something more genuine to this thread. But could you please send your gpg signature to a public keyserver or stop signing your messages. Just because every time I open one of your messages in the pager, my gpg is trying to verify your sig, which doesn't exist on public servers, and therefore gpg doesn't add it to its keyring. Thomas Or is there something wrong with my gpg settings? -- Thomas Hümmler * [EMAIL PROTECTED] * http://www.huemmler.de msg25022/pgp0.pgp Description: PGP signature
Re: gpg signature (was: Folder view - use file mask!)
* Thomas Huemmler [EMAIL PROTECTED] [05-03-02 09:46 AM EST]: ...and now for something completely different: Sorry, if I do not add something more genuine to this thread. But could you please send your gpg signature to a public keyserver or stop signing your messages. Just because every time I open one of your messages in the pager, my gpg is trying to verify your sig, which doesn't exist on public servers, and therefore gpg doesn't add it to its keyring. Nothing wrong with your gpg settings. He seems not to have his public keys on any server, as you pointed out before. His signature can not be verified because of that, unlike mine :-) Cheers, -- David Collantes - http://www.bus.ucf.edu/david/ College of Business Administration, University of Central Florida Few are those who see with their own eyes... feel with their own hearts. msg25023/pgp0.pgp Description: PGP signature
Re: gpg signature (was: Folder view - use file mask!)
On Tue, Mar 05, 2002 at 04:07:50PM +0100, Thomas Huemmler wrote: * John Buttery [EMAIL PROTECTED] [02/03/05 15:41]: -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8hNitWH8M1wI2iFcRApO/AJwOFPUVJn3wxcP8r26eeANYGT7fdgCgklRs 3c1l651J0OaZ86L/ae2phjE= =+SPC -END PGP SIGNATURE- ...and now for something completely different: Sorry, if I do not add something more genuine to this thread. But could you please send your gpg signature to a public keyserver or stop signing your messages. Just because every time I open one of your messages in the pager, my gpg is trying to verify your sig, which doesn't exist on public servers, and therefore gpg doesn't add it to its keyring. Thomas Or is there something wrong with my gpg settings? -- Thomas Hümmler * [EMAIL PROTECTED] * http://www.huemmler.de This is really odd; you're not the first person to say this, but I _did_ upload it to a keyserver, not only that but I have successfully retrieved it as well. Everyone I've said the following thing to has not written me back afterward, so I assume it solved the problem, but could you try it and report back if it works? I uploaded my key to certserver.pgp.com. I've also successfully retrieved my key from this server. Is this one not in the rotation? Is there some other server I should be using? I have successfully retrieved (almost) everyone else's key from that server as well. Would you mind querying that server directly and see if you get the key? gpg --verbose --keyserver certserver.pgp.com --recv-keys 587F0CD702368857 This is what I get when I run that command: % gpg --verbose --keyserver certserver.pgp.com --recv-keys 587F0CD702368857 gpg: requesting key 02368857 from certserver.pgp.com ... gpg: armor header: Version: PGPsdk 2.0.1 Copyright (C) 2000 Networks Associates Technology, Inc. All rights reserved. gpg: pub 1024D/02368857 2002-02-06 John Buttery [EMAIL PROTECTED] gpg: key 02368857: not changed gpg: Total number processed: 1 gpg: unchanged: 1 % -- John Buttery (Web page temporarily unavailable) msg25024/pgp0.pgp Description: PGP signature
Re: gpg signature (was: Folder view - use file mask!)
On Tue, Mar 05, 2002 at 09:24:49AM -0600, John Buttery wrote: gpg --verbose --keyserver certserverpgpcom --recv-keys 587F0CD702368857 Use something like keyserver wwwkeysukpgpnet in your options file, where uk would be your country Steve -- NetTek Ltd Flat 2, 43 Howitt Road, Belsize Park, London NW3 4LU, UK tel +44-(0)20 7483 1169 fax +44-(0)20 7483 2455 mob 07775 755503 SMS steve-pager (at) gbnetnet [body] gpg 1024D/468952DB 2001-09-19
Re: gpg signature (was: Folder view - use file mask!)
* John Buttery [EMAIL PROTECTED] [03-05-02 10:25] crowed: report back if it works? I uploaded my key to certserver.pgp.com. I've also successfully retrieved my key from this server. Is this one not in the rotation? Is there some other server I should be using? I have successfully retrieved (almost) everyone else's key from that server as well. Would you mind querying that server directly and see if you get the key? gpg --verbose --keyserver certserver.pgp.com --recv-keys 587F0CD702368857 This is what I get when I run that command: % gpg --verbose --keyserver certserver.pgp.com --recv-keys 587F0CD702368857 gpg: requesting key 02368857 from certserver.pgp.com ... gpg: armor header: Version: PGPsdk 2.0.1 Copyright (C) 2000 Networks Associates Technology, Inc. All rights reserved. gpg: pub 1024D/02368857 2002-02-06 John Buttery [EMAIL PROTECTED] gpg: key 02368857: not changed gpg: Total number processed: 1 gpg: unchanged: 1 % I also cannot retrieve your key: pat@wahoo:~ gpg --verbose --keyserver certserver.pgp.com --recv-keys \ 587F0CD702368857 gpg: requesting key 02368857 from certserver.pgp.com ... gpg: can't get key from keyserver: eof -- Pat Shanahan Registered Linux User #207535 Registered at: http://counter.li.org
Garbled charsets
Hi! Until yesterday, I used mutt installed from RedHat's RPM (125) I have now switched to mutt-1327i-11rhl6 (linked from wwwmuttorg) and have discovered that my outgoing messages have garbled charsets (and umlaut letters are displayed as question marks in incoming messages) I don't even know where to start looking, I've tried the charset variable in muttrc but couldn't get anywhere Is this something that needs to be done at compile time? Regards, -Johan [Reposted, never got to me] -- Johan Almqvist http://wwwalmqvistnet/johan/qmail/
Re: A bit OT, mail notification tool to go with mutt
On Tue, Mar 05, 2002 at 12:10:54AM +, Thomas Hurst wrote: gkrellmmailwatch is one solution to this. http://gkrellm.luon.net/mailwatch.phtml, Thanks a lot. It's great I could have such feature integrated in gkrellm... I'm going to check it in a moment... -- _.|._ |_ _.: Adam Byrtek, [EMAIL PROTECTED] (_|||_)| |(_|: gg 1802819, pgp 0xB25952C0 |
Re: gpg signature (was: Folder view - use file mask!)
* MuttER [EMAIL PROTECTED] [020305 16:28]: I also cannot retrieve your key: pat@wahoo:~ gpg --verbose --keyserver certserver.pgp.com --recv-keys \ 587F0CD702368857 gpg: requesting key 02368857 from certserver.pgp.com ... gpg: can't get key from keyserver: eof Odd: mdb@cyclone:~/$ gpg --verbose --keyserver certserver.pgp.com --recv-keys 587F0CD702368857 gpg: requesting key 02368857 from certserver.pgp.com ... gpg: armor header: Version: PGPsdk 2.0.1 Copyright (C) 2000 Networks Associates Technology, Inc. All rights reserved. gpg: pub 1024D/02368857 2002-02-06 John Buttery [EMAIL PROTECTED] gpg: key 02368857: public key imported gpg: key C6EE66AE.825: Good subkey binding gpg: uid 02368857.825: Good self-signature gpg: Total number processed: 1 gpg: imported: 1 But also: mdb@cyclone:~/$ gpg --verbose --keyserver wwwkeys.uk.pgp.net --recv-keys 587F0CD702368857 gpg: requesting key 02368857 from wwwkeys.uk.pgp.net ... gpg: no valid OpenPGP data found. gpg: Total number processed: 0 mdb -- Wie niet gelooft in wonderen die is geen realist -- Herman Finkers
Re: Garbled charsets
* Johan Almqvist [EMAIL PROTECTED] [020305 16:49]: Until yesterday, I used mutt installed from RedHat's RPM (1.2.5). I have now switched to mutt-1.3.27i-1.1.rhl6 (linked from www.mutt.org) and have discovered that my outgoing messages have garbled charsets (and umlaut letters are displayed as question marks in incoming messages). I use the nl_NL@euro locale, but you can use whichever one you want. Don't forget to generate them. On Debian that is adding your locale to /etc/locale.gen e.g. | # This file lists locales that you wish to have built. You can find a list | # of valid supported locales at /usr/share/doc/locales/SUPPORTED.gz. Other | # combinations are possible, but may not be well tested. If you change | # this file, you need to rerun locale-gen. | | en_US ISO-8859-1 | nl_NL ISO-8859-1 | nl_NL@euro ISO-8859-15 and then running locale-gen. When you did that you can set the charset in your muttrc to the proper locale in my case: | set charset=iso-8859-15 I've also set the following to environment variables, from my .bash_profile: | export LC_CTYPE=nl_NL@euro | export LANG=C When all this shouldn't work, I remember that it sometimes helps (?) to compile mutt with --without-wc-funcs, but I don't know why this should work and it maybe a Bad thing to do. HTH, mdb -- Wie niet gelooft in wonderen die is geen realist -- Herman Finkers
Re: gpg signature (was: Folder view - use file mask!)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Said John Buttery on Tue, Mar 05, 2002 at 09:24:49AM -0600: gpg --verbose --keyserver certserver.pgp.com --recv-keys 587F0CD702368857 That worked for me. I use pgp.dtype.org, though, and it wasn't there. - -- [!] Justin R. Miller [EMAIL PROTECTED] PGP 0xC9C40C31 -=- http://codesorcery.net http://www.cnn.com/2002/ALLPOLITICS/01/29/inv.terror.probe/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8hOwu94d6K8nEDDERAtITAJ9FfH8q47HxcY0OpW1RIx2errFDOwCfVYdb 65cuUOsvTpy7E9wy9LJaEDI= =w0q4 -END PGP SIGNATURE-
Re: gpg signature (was: Folder view - use file mask!)
* John Buttery [EMAIL PROTECTED] [2002-03-05 09:24 -0600]: This is really odd; you're not the first person to say this, but I _did_ upload it to a keyserver, not only that but I have successfully retrieved it as well. I uploaded my key to certserver.pgp.com. It looks like that server is not in the main group of servers at wwwkeys.pgp.net, nor does it sync with them. Not that the main keyservers always sync with each other in a timely fashion. Hence, a small script a friend of mine wrote and I modified. It's called recv-keys; you can find a copy at http://www.geeksimplex.org/phil/pgp/recv-keys It's pretty simple. It'll just consult all of the keyservers that I know of and attempt to get the key for each of them. (And you can rename or link it to 'send-keys' and it'll do the reverse.) -- [EMAIL PROTECTED] / DNRC / UMBC-LUG: http://lug.umbc.edu PGP: ID: D8C75CF5 print: 0A7D B3AD 2D10 1099 7649 AB64 04C2 05A6 --- -- I swear you must think you're some kind of god. God, root, what is difference? -- User Friendly --- --
Re: Garbled charsets
* Johan Almqvist [EMAIL PROTECTED] [05-03-02 10:27 AM EST]: Until yesterday, I used mutt installed from RedHat's RPM (1.2.5). I have now switched to mutt-1.3.27i-1.1.rhl6 (linked from www.mutt.org) and Please check the whole thread starting with [EMAIL PROTECTED]. The fix is there. Cheers, -- David Collantes - http://www.bus.ucf.edu/david/ College of Business Administration, University of Central Florida Few are those who see with their own eyes... feel with their own hearts. smime.p7s Description: application/pkcs7-signature
Re: gpg signature (was: Folder view - use file mask!)
On Tue, Mar 05, 2002 at 11:02:55AM -0500, Justin R. Miller wrote: Said John Buttery on Tue, Mar 05, 2002 at 09:24:49AM -0600: gpg --verbose --keyserver certserver.pgp.com --recv-keys 587F0CD702368857 That worked for me. I use pgp.dtype.org, though, and it wasn't there. -- [!] Justin R. Miller [EMAIL PROTECTED] PGP 0xC9C40C31 -=- http://codesorcery.net http://www.cnn.com/2002/ALLPOLITICS/01/29/inv.terror.probe/ Well, this _appears_ to validate my theory that the problem is simply that the keyservers aren't synchronizing. However, based on the fact that a user is generally not correct when facing a discrepancy with the function of a well-established service, I'm still going to assume this is a PEBKAC and try Steve's suggestion of wwwkeys.us.pgp.net as a server. So, while all of you who use servers other than that specific one could get it from there (assuming I am correct and they don't synchronize), I suppose the best thing to do in the name of research is to wait a day or two (how often are they supposed to mirror?) and see if the key shows up on your local keyserver. The key is already uploaded so the clock is ticking: % gpg --verbose --keyserver wwwkeys.us.pgp.net --send-keys 587F0CD702368857 titlePublic Key Server -- Add/titlep h1Public Key Server -- Add/h1p pre Key block added to key server database. New public keys added: 1 /pre gpg: success sending to `wwwkeys.us.pgp.net' (status=200) % gpg --verbose --keyserver wwwkeys.us.pgp.net --send-keys 587F0CD702368857 titlePublic Key Server -- Add/titlep h1Public Key Server -- Add/h1p pre Key block in add request contained no new keys, userid's, or signatures. /pre gpg: success sending to `wwwkeys.us.pgp.net' (status=200) % -- John Buttery (Web page temporarily unavailable) msg25034/pgp0.pgp Description: PGP signature
Feature request: auto_view accepts its own handler
I'm not sure I used the correct terminology in the Subject: line, but what I'm looking for is pretty easy to explain (hopefully easy to implement also :p) Basically, this is what we have now: auto_view image/tiff This line tells mutt to consult $mailcap_path and find a mailcap entry that corresponds to the MIME type and display it Well, as you can see from this particular example, you're not going to get anything useful from a TIFF file on a 80x24 terminal (and no, aaview is not an acceptable answer :)) So, what one does is create a mutt-specific mailcap file that has a line for image/tiff which, instead of calling a graphic viewer like qiv/ee/xv/etc, calls something like tiffinfo that displays some properties of the image instead, so at least you can get _something_ useful out of it Well, I like this behaviour by itself, but I think this is only one example of a whole class of cases where the viewer desired for an inline, auto_view environment is a lot different from the viewer one would normally use for a given file type In other words, I think it would be good to have something like this: auto_view image/tiff tiffinfo '%s' In theory, if any more arguments appear after the first argument (the type argument, in this case 'image/tiff') then they are assumed to be a mailcap-format capabilities line Of course, it wouldn't have/want to be a full-featured implementation, since most of the mailcap fields would be irrelevant in an auto_view context (like compose, composetyped, etc), but maybe test and notes could be used somehow *shrug* The point of all this, is that you now have a viewer specifically for auto_view, which is displaying files out of their native environment most of the time So, now when you go to the view attachments menu and select one, you can actually execute it with an image viewer or whatever, instead of having to save it to disk first and then manually run it, or take the time to use the pipe-entry function which may not work if the viewer command doesn't accept stdin By the way, I have read this from Section 53 of the manual: - cut here In addition, you can use this with Autoview to denote two commands for viewing an attachment, one to be viewed automatically, the other to be viewed interactively from the attachment menu In addition, you can then use the test feature to determine which viewer to use interactively depending on your environment text/html; netscape -remote 'openURL(%s)' ; test=RunningX text/html; lynx %s; nametemplate=%shtml text/html; lynx -dump %s; nametemplate=%shtml; copiousoutput - cut here This solution works Most Of The Time(tm), but is a bit inelegant in that it co-opts the copiousoutput flag for mutt use I think adding this extra functionality to the auto_view function would eliminate the need for a lot of the mutt-specific mailcap files that are out there, and should be implementable without a whole lot of coding; in other words, when mutt goes to autoview a particular file as a result of the auto_view command, it sees that there is already an instruction on the command line and just uses that instead of calling the function that searches the mailcap files for a corresponding line Of course, generating a compliant mailcap-style line that views the attachment in the pager without errors would be the user's responsibility; but it already is when generating mailcap files -- John Buttery (Web page temporarily unavailable) msg25035/pgp0.pgp Description: PGP signature
Re: gpg signature (was: Folder view - use file mask!)
* John Buttery [EMAIL PROTECTED] [03-05-02 11:57] crowed: On Tue, Mar 05, 2002 at 11:02:55AM -0500, Justin R. Miller wrote: Said John Buttery on Tue, Mar 05, 2002 at 09:24:49AM -0600: gpg --verbose --keyserver certserver.pgp.com --recv-keys 587F0CD702368857 .-.-.-.-.-.-.-.-.-..-.-.-.-.-.-.- so the clock is ticking: % gpg --verbose --keyserver wwwkeys.us.pgp.net --send-keys 587F0CD702368857 titlePublic Key Server -- Add/titlep h1Public Key Server -- Add/h1p pre Key block added to key server database. New public keys added: 1 /pre gpg: success sending to `wwwkeys.us.pgp.net' (status=200) % gpg --verbose --keyserver wwwkeys.us.pgp.net --send-keys 587F0CD702368857 titlePublic Key Server -- Add/titlep h1Public Key Server -- Add/h1p pre Key block in add request contained no new keys, userid's, or signatures. /pre gpg: success sending to `wwwkeys.us.pgp.net' (status=200) % pat@wahoo:~ gpg --verbose --keyserver wwwkeys.us.pgp.net --recv-keys 587F0CD702368857 gpg: requesting key 02368857 from wwwkeys.us.pgp.net ... gpg: can't get key from keyserver: eof pat@wahoo:~ gpg --verbose --keyserver certserver.pgp.com --recv-keys 587F0CD702368857 gpg: requesting key 02368857 from certserver.pgp.com ... gpg: can't get key from keyserver: eof -- Pat Shanahan Registered Linux User #207535 Registered at: http://counter.li.org
Re: Folder view - use file mask!
On 2002.03.05, in [EMAIL PROTECTED], John Buttery [EMAIL PROTECTED] wrote: What in the name of all that is holy are you _doing_ in there?! He's set save_name, probably. I only have 2000 mboxes in mine, but Sven probably sends mail more broadly than I do. -- -D.[EMAIL PROTECTED]NSITUniversity of Chicago
Re: Downloading messages
On Sun, Mar 03, 2002 at 07:37:17PM -0600, Knute wrote: press return to continue It's a small price to pay to get my email filtered for me :D Ok! However, I suggest mutt developers to implement this feature! Maybe including fetchmail support directly distribuited with the Mutt Well, I already use fetchmail + procmail + mutt I will try fetchmail + mutt with macros :-) Thanks for the Help -- Michel :: Sorry about my very bad english :o}
Re: Setting the hostname used in HELO
Would any of you know of a simple, command-line based Linux SMTP client that is as easy to use as Mutt for sending mime attachments? I really like the fact that Mutt handles all the mime encoding so I don't have to mess with it. -- Bob McLaren Internet Services Project Manager Financial Statement Services, Inc. http://www.fssi-ca.com Simon White wrote: On 03-Mar-02 at 00:24, Jonathan Irving's inspired musing was thus : * Simon White [EMAIL PROTECTED] [2002.02.28 18:02 +]: No, what I was trying to say (perhaps I wasn't clear) is that you cannot get mutt to send mail to your public SMTP server, you have to run an SMTP server on your machine in order to get mutt to send mail. There are several suggestions depending on your setup, see the mutt web pages and the manual, usually in /usr/local/doc/mutt/manual.txt. You actually need a SMTP /client/ with a sendmail commandline interface. Sorry to be a pedant. Never apologise for being picky about things like that. Using the correct language is appropriate in this case. You're right, you just need a lightweight SMTP client, and indeed running an SMTP server (which of course also functions as a client) may be overkill and cause extra unnecessary configuration. I stand corrected. -- |-Simon White |-Internet Services Manager |-MTDS S.A. / \ |-tel +212.3.767.4861# GIMPS current unit progress: 25.47% # |-fax +212.3.767.4863# (http://www.mersenne.org/prime.htm) # |-14, rue 16 novembre\ / |-Rabat, Kingdom of Morocco
Re: Setting the hostname used in HELO
On 2002.03.05, in [EMAIL PROTECTED], Bob McLaren [EMAIL PROTECTED] wrote: Would any of you know of a simple, command-line based Linux SMTP client that is as easy to use as Mutt for sending mime attachments? I really like the fact that Mutt handles all the mime encoding so I don't have to mess with it. echo Dear Mom - Here is the photo I promised you. \ | mutt -s Photo of Timmy -a little_timmy.jpg [EMAIL PROTECTED] -- -D.[EMAIL PROTECTED]NSITUniversity of Chicago
Re: Setting the hostname used in HELO
On Tue, Mar 05, 2002 at 10:17:46AM -0800, Bob McLaren wrote: Would any of you know of a simple, command-line based Linux SMTP client that is as easy to use as Mutt for sending mime attachments? I really like the fact that Mutt handles all the mime encoding so I don't have to mess with it. Why not use mutt from the command line? -- Ralf Hildebrandt (Im Auftrag des Referat V A) [EMAIL PROTECTED] Charite Campus Virchow-Klinikum Tel. +49 (0)30-450 570-155 Referat V A - Kommunikationsnetze - Fax. +49 (0)30-450 570-916 A complex system that works is invariably found to have evolved from a simple system that worked.-- John Gall
Saving a read E-Mail into an imap-folder - O-flag
Hello mutt-users, whenever I save a *read* message into an imap-folder the message is marked as old (O). What can I do against this behaviour? -- Cheers, Heiko Heil (using Mutt 1.3.27i) __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Ihre E-Mail noch individueller? - http://domains.yahoo.de
Re: Setting the hostname used in HELO
In response to both David and Ralf, The original problem is that, when I use Mutt from the command line, it uses the LOCAL smtp server to send emails. I need the client to connect to a REMOTE smtp server, and as far as I understand from Simon, Mutt cannot be configured to connect to a remote SMTP server. So now what I am looking for is a simple SMTP client that is as easy to use as Mutt, or, some alternative means of getting Mutt to talk to my remote smtp server. Any ideas? David Champion wrote: On 2002.03.05, in [EMAIL PROTECTED], Bob McLaren [EMAIL PROTECTED] wrote: Would any of you know of a simple, command-line based Linux SMTP client that is as easy to use as Mutt for sending mime attachments? I really like the fact that Mutt handles all the mime encoding so I don't have to mess with it. echo Dear Mom - Here is the photo I promised you. \ | mutt -s Photo of Timmy -a little_timmy.jpg [EMAIL PROTECTED] -- -D.[EMAIL PROTECTED]NSITUniversity of Chicago
Re: Setting the hostname used in HELO
On Tue, Mar 05, 2002 at 10:29:48AM -0800, Bob McLaren wrote: So now what I am looking for is a simple SMTP client that is as easy to use as Mutt, or, some alternative means of getting Mutt to talk to my remote smtp server ssmtp, or others Steve -- NetTek Ltd Flat 2, 43 Howitt Road, Belsize Park, London NW3 4LU, UK tel +44-(0)20 7483 1169 fax +44-(0)20 7483 2455 mob 07775 755503 SMS steve-pager (at) gbnetnet [body] gpg 1024D/468952DB 2001-09-19
Re: procmail log tailing (was Re: mutt and noatime partitions)
Cameron, et al -- ...and then Cameron Simpson said... % % On 17:15 02 Mar 2002, christophe barbé [EMAIL PROTECTED] wrote: % | It seems there is no option to avoid the use of the access time. ... % % Instead, I have my procmail recipe write a line to a log file when % interesting email arrives (i.e. only when one of a few recipes fires). % And I have a small window which tails that logfile. If I were in text mode I % could just tail that log in the background. I like this, and I've been looking for something this simple. Can you post or send your config for me to blatantly copy? :-) 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.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg25045/pgp0.pgp Description: PGP signature
Re: mutt and noatime partitions
Cameron, et al -- ...and then Cameron Simpson said... % ... % have the folder open in one mutt at a time (which I suppose is desirable % anyway - I enforce that in my wrapper script). I've heard this before and I still haven't seen a reason to worry about having multiple mutts open. Can anyone illustrate a scenario (mbox is fine, since that's what I use and what I imagine to be most vulnerable, but any format to explain will do) where having two mutts open on a well-configured system would cause a problem? 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.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg25046/pgp0.pgp Description: PGP signature
Re: Aliases won't source with MacosX
Josh -- ...and then Josh Kuperman said... % % On Sun, Mar 03, 2002 at 03:00:12AM -0500, Josh Kuperman wrote: % I installed mutt on my MacOS X (using the fink package version) and it % works fine except for the aliases. I tried different shells (tcsh is % the default shell, bash is available so I tried it, as well as sh) % with no luck. % % Let me be clearer -- I read the FAQ before I posted. Good for you :-) % % Typing % % source ~/.mailaiases Not to be persnickity, but did you put a colon first so that you put mutt into command mode? When you load your aliases file, just like sourcing any other mutt config file, what sort of output do you get? Anything? % % does nothing. At leaset when typed on the command line it does nothing % to make the aliases available. It may produce some error message % depending on which shell I'm using; I was trying different shells % because source is a shell command and that the problem might have been % the shell I was using. No, not at the shell command line; do this within mutt (see the colon part above). % % I suspect this has to do with Mac OS X or the Mac OS X port. I've used % mutt on other systems (RedHat Linux) with no problems with aliases, % set up in exactly the same way. SO you have a source ~/.mailaliases (assuming you actually spelled it correctly on your filesystem) line in your muttrc file? 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! msg25047/pgp0.pgp Description: PGP signature
Re: procmail log tailing (was Re: mutt and noatime partitions)
David, % Instead, I have my procmail recipe write a line to a log file when % interesting email arrives (i.e. only when one of a few recipes fires). % And I have a small window which tails that logfile. If I were in text mode I % could just tail that log in the background. I like this, and I've been looking for something this simple. Can you post or send your config for me to blatantly copy? :-) I don't actually use this anymore (since someone mentioned gkrellm-mailcheck), but this is the sort of thing I tried: # Here's how we send the subject to the logfile :0 * Subject: test { :0 c: logger.lock | formail -X Subject: | logger -p kern.warn :0: /var/mail/cswingle } kern.warn probably isn't exactly the right facility and level to use, but I wanted to make sure it showed up on my syslog server. Maybe mail.info, or something. Test first, I'm far from a procmail wizard. Chris -- Christopher S. Swingley phone: 907-474-2689 Computer Systems Manager email: [EMAIL PROTECTED] IARC -- Frontier Program GPG and PGP keys at my web page: University of Alaska Fairbankswww.frontier.iarc.uaf.edu/~cswingle
Re: Setting the hostname used in HELO
But this isn't a problem with the SMTP headers having bad info. This is a problem with the HELO SMTP handshake having bad info. Mutt sends the message to my local sendmail, my local sendmail attempts to send the mail, it connects to the destination mail server and begins the conversation with 'HELO intranet.fssi-ca.com' to identify itself before it begins sending the message. The problem is that many mail servers take that 'HELO' information and test the host name to see if it's a real resolvable internet address. intranet.fssi-ca.com is not a resolvable address because it's internal. If I could get my process to connect to my public SMTP server instead of trying to send it through my local sendmail, that would solve my problem. It was suggested that I look at ssmtp but I don't see much documentation or user following on the web for it, so I'm a little hesitant to use it. Knute wrote: On Wed, 27 Feb 2002, Bob McLaren wrote: Please help a mutt newbie out. I have searched through archives and I am still not able to find the answer to this. I am using Mutt inside our network to send emails out to the internet. Because it is an internal PC hidden behind a firewall, it does not have a resolvable hostname. This causes problems because many mail system refuse the email if the hostname used in HELO is not resolvable. What can I do to force the HELO generated by mutt to use my outside SMTP hostname? I ran into this same thing. Here's the line from my .muttrc file: set from=[EMAIL PROTECTED] # From: address (see send-hook my_hdr From) I don't have a my_hdr line but that can easily be set for addresses outside your network. HTH -- Knute You live, You die. Enjoy the interval! -- Clarence Part 1.2Type: application/pgp-signature
Re: Setting the hostname used in HELO
Bob McLaren [EMAIL PROTECTED] wrote: But this isn't a problem with the SMTP headers having bad info. This is a problem with the HELO SMTP handshake having bad info. Mutt sends the message to my local sendmail, my local sendmail attempts to send the mail, it connects to the destination mail server and begins the conversation with 'HELO intranet.fssi-ca.com' to identify itself before it begins sending the message. The problem is that many mail servers take that 'HELO' information and test the host name to see if it's a real resolvable internet address. intranet.fssi-ca.com is not a resolvable address because it's internal. If I could get my process to connect to my public SMTP server instead of trying to send it through my local sendmail, that would solve my problem. No, it would mask your problem (`man band-aid`). The real solution is to configure your MTA to use an acceptable argument to the HELO command, or to tell it to forward your mail to your ISP's smarthost. This is possible with sendmail or any other MTA. Charles -- --- Charles Cazabon [EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ ---
Re: Setting the hostname used in HELO
That solved it! I didn't understand the 'SmartHost' concept in sendmail before you mentioned it. I looked it up, configured it, now it works like a charm. Thanks man! Now I can use Mutt to my heart's content. ;) Charles Cazabon wrote: Bob McLaren [EMAIL PROTECTED] wrote: But this isn't a problem with the SMTP headers having bad info. This is a problem with the HELO SMTP handshake having bad info. Mutt sends the message to my local sendmail, my local sendmail attempts to send the mail, it connects to the destination mail server and begins the conversation with 'HELO intranet.fssi-ca.com' to identify itself before it begins sending the message. The problem is that many mail servers take that 'HELO' information and test the host name to see if it's a real resolvable internet address. intranet.fssi-ca.com is not a resolvable address because it's internal. If I could get my process to connect to my public SMTP server instead of trying to send it through my local sendmail, that would solve my problem. No, it would mask your problem (`man band-aid`). The real solution is to configure your MTA to use an acceptable argument to the HELO command, or to tell it to forward your mail to your ISP's smarthost. This is possible with sendmail or any other MTA. Charles -- --- Charles Cazabon [EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ ---
Re: mutt and noatime partitions
On 15:39 05 Mar 2002, David T-G [EMAIL PROTECTED] wrote: | ...and then Cameron Simpson said... | % have the folder open in one mutt at a time (which I suppose is desirable | % anyway - I enforce that in my wrapper script). | | I've heard this before and I still haven't seen a reason to worry about | having multiple mutts open. Can anyone illustrate a scenario (mbox is | fine, since that's what I use and what I imagine to be most vulnerable, | but any format to explain will do) where having two mutts open on a | well-configured system would cause a problem? Well, I guess it depend on locking and rewrite policies. Open folder in two mutts. Delete a few in one, read few other. Delete some others in the second mutt, read some more. Sync each. Unless the two mutts have some psychic connection to each other, aren't new and read flags going to get dropped? Aren't items deleted on one side going to survive if the other side is synched second? -- Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/ Dawn, V8, miles, breakfast, miles, gas, miles, miles, gas, miles, miles, milkshake, miles, shop, miles, park, M and G, happy hour, freeze-dried dinner, journals, bunk, dawn, miles, miles, ... Bruce W. Robinson [EMAIL PROTECTED]
Re: procmail log tailing (was Re: mutt and noatime partitions)
I like this, and I've been looking for something this simple Can you post or send your config for me to blatantly copy? :-) I use a modified version of a program called root-tail (wwwvarcx/root-tail) to tail -f my procmail log, /var/log/secure, and a few other files Each one is displayed in a different color, directly onto my root window (in other words, my desktop wallpaper) If you're interested, reply directly to me and i'll send you my modifications -- Mike Schiraldi VeriSign Applied Research msg25053/pgp0.pgp Description: PGP signature
Re: Garbled charsets
* Johan Almqvist [EMAIL PROTECTED] [05-03-02 10:27 AM EST]: Until yesterday, I used mutt installed from RedHat's RPM (1.2.5). I have now switched to mutt-1.3.27i-1.1.rhl6 (linked from www.mutt.org) and ... * David Collantes [EMAIL PROTECTED] [020305 16:27]: Please check the whole thread starting with [EMAIL PROTECTED]. The fix is there. this is how the thread look like in my mutt's index: 40640 X 020304 Johan Almqvist( 17) Garbled charsets 40641 X 020304 David Collantes ( 79) |- 40642 X 020304 Dominik Mierzejew ( 28) | `- 40643 X 020304 David Collantes ( 95) | `- 40644 X 020304 Dominik Mierzejew ( 42) | `- 40645 X 020304 David Collantes ( 74) | `- 40646 sX 020304 Johan Svensson( 34) `- I followed the given hints - and now I can see special characters in the pager - but not in the index. weird, huh? Sven
Re: external page: vi
Well, I switched to vi (vim, actually) as the For page a vi junkie, this is really much better (And, for a person who doesn't really understand how to use mutt right) I though I would pass along some helpful points in case anyone else wants to do this To start vi, I use the following set pager command in Muttrc: set pager=vi -c /^$/ -c / This moves the cursor to the start of the body of the email Thus, you skip all the header stuff I won't embarrass myself by telling how long it took me to figure this out Also, set prompt_after=no is handy To make it easier to read the mail, these three items in vimrc help map Z :q! --fast quit without saving anything map z z --- fast shift email to top of screen First command given after email comes up in vi I wish I could get this to happen automatically map g !}fmt ---wrap those long lines around If there are any vi newbies who want to try this, remember that to enter ^M you need to type, while in the insert mode: control-v [enter] Joel
Re: save_name - one folder for each address
* David Champion [EMAIL PROTECTED] [020305 17:52]: John Buttery [EMAIL PROTECTED] wrote: What in the name of all that is holy are you _doing_ in there?! He's set save_name, probably. I only have 2000 mboxes in mine, but Sven probably sends mail more broadly than I do. yup - i have set save_name in my muttrc. so for each new contact i reply to there's one more folder in my $folder directory. Sven
Re: Is mutt really handicapped?
Our IT group have just fixed the mail setup so that I can send mail to the outside world... On Thu, Feb 28, 2002 at 11:05:16AM -0900, [EMAIL PROTECTED] wrote: We also have a local linux user's group and a mailing list. A comment was made to the mailing list that mutt was handicapped. As you may well imagine, that comment was not received well. Is there anyone on this list that would like to contribute some comments about the advantages of switching from something like netscape mail to mutt? [snip] In comparison to Netscape... It doesn't provide that wonderful feature that when your web browser crashes, it takes your mail program with it. In the experience of my colleagues (who are following the corporate standard of Netscape), they get approx. 2-3 crashes per day. Apart from bug #939, which exists in beta versions only, I've never crashed mutt in 2+ years of constant use. Comparison: PID USERNAME THR PRI NICE SIZE RES STATETIMECPU COMMAND 193 dsmith 1 590 59M 36M sleep 37:11 0.56% netscape 23068 dsmith 1 580 3616K 3176K sleep0:19 0.00% mutt.1.3.27i.c Speaks for itself... ^ It is capable of running over a terminal (very useful when trying to read your mail from an internet cafe on the other side on the world, using SSH). Ever tried running Netscape on a remote machine displaying on the local machine? I've seen paint dry faster. It is so configurable to be laughable. It is positively speedy, despite running on a 32 MB, 486DX/2-66, with an inbox of 2.5k messages. It supports standards properly. Good GPG/PGP support. Yes, it doesn't have nice and point-and-clicky interface, but I don't like them, anyway. I guess the sort of people who would use a GUI file manager would use Netscape mail (or maybe Kmail or something like that), and people who use loads of xterms would use mutt. -- David Smith Tel: +44 (0)1454 462380 (direct) STMicroelectronicsFax: +44 (0)1454 617910 1000 Aztec WestTINA (ST only): (065) 2380 Almondsbury Home: 01454 616963 BRISTOLMobile: 07932 642724 BS32 4SQ Work Email: [EMAIL PROTECTED] Home Email: [EMAIL PROTECTED]
deleting an attachment while composing..
hey all, i was sending a message today and ran into a problem i was attaching a series of files, and attached one that i later wanted to remove before sending i checked the help, but couldn't seem to find a key-binding to do this i ended up just sending the message w/ the unnecessary file and a note :) what am i missing? btw- i'm using Mutt 125i on Mac OS X Ryan -- Ryan Singer :: http://feltpresencecom I call architecture frozen music - Goethe
Re: procmail log tailing (was Re: mutt and noatime partitions)
On 15:37 05 Mar 2002, David T-G [EMAIL PROTECTED] wrote: | % On 17:15 02 Mar 2002, christophe barb? [EMAIL PROTECTED] wrote: | % | It seems there is no option to avoid the use of the access time. | ... | % Instead, I have my procmail recipe write a line to a log file when | % interesting email arrives (i.e. only when one of a few recipes fires). | % And I have a small window which tails that logfile. If I were in text mode I | % could just tail that log in the background. | | I like this, and I've been looking for something this simple. Can you | post or send your config for me to blatantly copy? :-) Sure. Here's an example recipe: : 0 * ^(to|cc|bcc):.*cs@zip\.com\.au { : 0hc | mhdrs | { while read hdr body; do eval HDR_$hdr=\$body; done; alert -c yellow `timecode` +attn $HDR_FROM; $HDR_SUBJECT; } :0 whf | formail -A X-Label: Personal : 0w | /usr/lib/nmh/rcvstore +attn -unseen } This catches email to me. The internal part does 3 things: writes the logfile line, tags the message with an X-Label header, and drops in into my Attention mailbox with MH. You want the first bit. Mhdrs is this script: http://www.zip.com.au/~cs/scripts/mhdrs which just recites the message headers in a shell-friendly form. For example, this message gets: FROM Cameron Simpson [EMAIL PROTECTED] TO David T-G [EMAIL PROTECTED] CC Mutt Users' List [EMAIL PROTECTED] BCC SUBJECT Re: procmail log tailing (was Re: mutt and noatime partitions) REPLY_TO [EMAIL PROTECTED] IN_REPLY_TO [EMAIL PROTECTED] and the while loop just picks these up and sets $HDR_FROM, $HDR_TO etc to match. After the while loop you do whatever you like. Which could be as simple as: echo $HDR_FROM; $HDR_SUBJECT your-log-filename-here As you can see I pass it to yyet another script, but it's core purpose it to write it to my alert logfile, in yellow. Then my FVWM setup have a 3 line xterm running what is essentially tail -f of this log file. -- Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/ This article could be hazardous to your credulity. - Jim Brown [EMAIL PROTECTED]
Re: deleting an attachment while composing..
Previously, Ryan Singer wrote: % % i was sending a message today and ran into a problem i was attaching a % series of files, and attached one that i later wanted to remove before % sending i checked the help, but couldn't seem to find a key-binding to % do this i ended up just sending the message w/ the unnecessary file and % a note :) % % what am i missing? % % btw- i'm using Mutt 125i on Mac OS X From ? D detach-filedelete the current entry Hitting ? when in a mutt menu does good things Shawn -- There is no satisfaction in hanging a man who does not object to it -- George Bernard Shaw
Re: Folder view - use file mask!
--IiVenqGWf+H9Y6IX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Alas! John Buttery spake thus: http://www.math.fu-berlin.de/~guckes/mutt/setup.html =20 What in the name of all that is holy are you _doing_ in there?!=20 Looks like a website that attempts to help people with their mutt configs, John. ;) --=20 Rob 'Feztaa' Park [EMAIL PROTECTED] -- I would have made a good Pope. -- Richard Nixon --IiVenqGWf+H9Y6IX 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 iD8DBQE8hVsqPTh2iSBKeccRAoOVAJsEr4/1IqTjCfWFc9Thhz6+XSsQsACcCzxt MvLrpaDSaJwsy40PnVO8PKg= =LLND -END PGP SIGNATURE- --IiVenqGWf+H9Y6IX--
Re: external page: vi - vim / avoid dangerous mappings!
* Joel Hammer [EMAIL PROTECTED] [020305 22:13]: Well, I switched to vi (vim, actually) as the . as the ?? For page a vi junkie, this is really much better. (And, for a person who doesn't really understand how to use mutt right.) ;-) I though I would pass along some helpful points in case anyone else wants to do this. To start vi, I use the following set pager command in Muttrc: set pager=vi -c /^$/ -c / This moves the cursor to the start of the body of the email. Thus, you skip all the header stuff. I won't embarrass myself by telling how long it took me to figure this out. if you'd looked at my setup file then you'd see this and some more examples on how to use vim as the editor and some other startup examples. (see signature) Also, set prompt_after=no is handy. that one is included, too. *grin* To make it easier to read the mail, these three items in .vimrc help. map Z :q! --fast quit without saving anything. danger, will robinson! you just might mistype 'X' with 'Z' and then all your changes are lost. you had better leave out the CR which sends of this command. then you can still back out from a typo with ESC. besides, ZZ is the vanilla vi to exit quickly. dunno why almost no description mentions that one. map z z --- fast shift email to top of screen. First command given after email comes up in vi. well, why not add this to the startup, too, then? ;-) again - you had better not map away a single key. after all, you are then missing the commands zz and zb to redisplay the current line the middle and at the bottom of the windows, respectively. I wish I could get this to happen automatically. map g !}fmt ---wrap those long lines around. automatic reformatting can easily be done. however, it is not always a good idea. trust me on this one. besides, this won't work for the windows version. (then again, what does work with windows at all?) better use the builtin text formating with gq. you might enjoy using CTRL-J for adjusting paragraphs: Formatting the current paragraph according to the current 'textwidth' with ^J (control-j): imap C-J C-Ogqap too dangerous for my editing ;-) nmap C-J gqap vmap C-J gq NOTE: This might require adjusting of the 'comments' variable. If there are any vi newbies who want to try this, remember that to enter ^M you need to type, while in the insert mode: control-v [enter] see also: :help c_CTRL-V Sven -- Sven [EMAIL PROTECTED] Sample Setup with lots of comments: MUTT http://www.math.fu-berlin.de/~guckes/setup/muttrc WOOF!,, MUTT http://www.math.fu-berlin.de/~guckes/setup/muttrc.forall(__/'. MUTT http://www.math.fu-berlin.de/~guckes/setup/mutt.personal/| |\
Re: Saving a read E-Mail into an imap-folder - O-flag
Heiko Heil [EMAIL PROTECTED] wrote: whenever I save a *read* message into an imap-folder the message is marked as old (O). What can I do against this behaviour? This is documented as a known bug in IMAP: * Server copy currently doesn't take into account uncommitted changes in messages about to be copied. Sync first. The advice works. When you sync (hit $) the folder, the changes made by Mutt are sent to the server (Messages are marked as Read), and then when you ask Mutt to save/copy the message to another folder, the flags will be correct. This annoys me, too. -- David DeSimone | The doctrine of human equality reposes on this: [EMAIL PROTECTED] | that there is no man really clever who has not Hewlett-Packard | found that he is stupid. -- Gilbert K. Chesterson Richardson IT|PGP: 5B 47 34 9F 3B 9A B0 0D AB A6 15 F1 BB BE 8C 44
Re: webpages without doctype decloration harmful?
* Thomas Hurst [EMAIL PROTECTED] [020228 23:51]: http://www.math.fu-berlin.de/~guckes/faq/maillist.html ;-) Hmm, I should do a nice long rant on why laying out stuff using tables, font tags, all the stupid style attributes and not including doctype declorations is concidered harmful ;) go on - make my day! *grin* I've completely replaced my use of ncftp with lftp. list of reasons? send it! Sven [who will present mutt in a demo on the next Linux event] Don't forget to leave the machine mutt is running on half way around the world ;) no problem! Sven
Re: mutt is not for everyone
* Will Yardley [EMAIL PROTECTED] [020301 09:20]: i love mutt, and wouldn't switch for the world, but i don't think that it's the mail client for everyone. i'd even be hesitant to recommend it to many of my (fairly computer-literate as a rule) co-workers. that's fine. dont give mutt to people who are not able to configure it. if they cannot be bothere by an editor inteface for configuration and if they wont ever learn the concept of regular expressions - forget it! give GUI mailer to those who would rather click on a menu than going through a list of commands and reading the manual to understand them. and dont waste your time on explaining threading to those who quote in full and reply to all. DONT! i do think that if the mutt developers and the mutt user community want to make mutt a more popular choice, that there should be more effort put into making mutt usable without so much configuration. mutt does not strive to be popular with everyone. after all, all those bad mailers were written to *fit* some people - and they certainly do! so dont take them away from those - they deserve it! Sven -- Everybody uses the editor/mailer/program/OS that he deserves.
Re: Aliases won't source with MacosX
On Tue, Mar 05, 2002 at 03:45:45PM -0500, David T-G wrote: Josh -- ...and then Josh Kuperman said... % % On Sun, Mar 03, 2002 at 03:00:12AM -0500, Josh Kuperman wrote: % I installed mutt on my MacOS X (using the fink package version) and it Not to be persnickity, but did you put a colon first so that you put mutt into command mode? When you load your aliases file, just like sourcing any other mutt config file, what sort of output do you get? Anything? You are not being persnickity. I simply misunderstood the documentation. As was wisely pointed out to me the 'source ~/mailaliases' command needs to be inside the .muttrc - so that mutt executes it, or as you suggest, by putting mutt into command mode. I foolishly was simply issueing the source command on a command line in a tcsh source, which is a perfectly valid shell command that chokes on the totally invalied (as far as being tcsh ) mutt alias file. I do wish I had read the documentation more carefully, but I suspect I would still have been able to misunderstand it. -- Josh Kuperman [EMAIL PROTECTED]
Article Re Mutt (re: ..handicapped.. )
Hello All: Earlier I posted an email to this list soliciting comments about mutt. Many of those comments were used in an article that I wrote in our webzine about ncurse/s-lang/command-line tools for linux. The article(s) is/are at http://www.frozen-north-linuxonline.com/ under Tim's Bytes. Enjoy. Thanks so much for the comments. -- Tim Johnson [EMAIL PROTECTED] http://www.alaska-internet-solutions.com http://www.johnsons-web.com
Re: gpg signature (was: Folder view - use file mask!)
* John Buttery [EMAIL PROTECTED] [02/03/05 20:42]: I uploaded my key to certserver.pgp.com. I've also successfully retrieved my key from this server. Is this one not in the rotation? Is there some other server I should be using? I have successfully retrieved (almost) everyone else's key from that server as well. Would you mind querying that server directly and see if you get the key? Now everything works allright: thomas@hogwarts:~$ gpg --verbose --keyserver wwwkeys.de.pgp.net --recv-keys 587F0CD702368857 gpg: Schlüssel 02368857 von wwwkeys.de.pgp.net wird angefordert ... gpg: ASCII-Hülle: Version: 5.0 gpg: ASCII-Hülle: Comment: PGP Key Server 0.9.4 gpg: pub 1024D/02368857 2002-02-06 John Buttery [EMAIL PROTECTED] gpg: Schlüssel 02368857: Nicht geändert gpg: Anzahl insgesamt bearbeiteter Schlüssel: 1 gpg: unverändert: 1 It seems that the synchronizing lasts up some days. When I uploaded my last key on www.keyserver.net, it took two days until I got the key from wwwkeys.de.pgp.net. For not vasting so much bandwidth, it is recommended to use a server nearby. A list of these you can get with thomas@hogwarts:~$ host -l pgp.net | grep www HTH and sorry for the intervenience, Thomas -- Thomas Hümmler * [EMAIL PROTECTED] * http://www.huemmler.de msg25068/pgp0.pgp Description: PGP signature
Re: unable to send mails....
I am confused too, but: My linux box uses sendmail with mutt I don't know how to configure mutt to use another mail server! It looks like your mail relay machine can't figure out who 1921681130 is, which I assume is the machine sending the mail Do you have a static ip? Is there a DNS which ought to be resolving your ip address for your mail server? If you have access to the gateway machine, and you have static ips: 1 You might add your host to the /etc/hosts file of the gateway machine 2 Try to get the DNS configured to do reverse lookups 3 You may have to get the gateway machine to allow relying from your machine For sendmail, that is in /etc/mail/relay-domains Joel
Re: external page: vi
On Tue, Mar 05, 2002 at 05:13:27PM -0500, Joel Hammer wrote: map z z --- fast shift email to top of screen. First command given after email comes up in vi. I wish I could get this to happen automatically. Joel Well, I'm pretty much a vi newbie myself but someone showed me a command called normal which lets you specify characters to pass arbitrarily to vi. I'm not sure exactly what you're trying to do there, since you seem to be mapping a key back to itself (map z to z) but that's probably just because I don't know enough about vim rc syntax. Anyway, try something like this: normal z^M ...or whatever you would normally physically type to vi to get it to do whatever. Oh yeah, and yes vi=vim in this email. :) 5.8 specifically, and yes I plan to upgrade soon. -- John Buttery (Web page temporarily unavailable) msg25070/pgp0.pgp Description: PGP signature
How to get mutt bark for new created mbox?
Hi, Now I have a mail system with 7 mboxes. Some of them are usually cleared to empty and removed by mutt. I found that if procmail feeds new mail into such mboxes and creates them, mutt will not get aware of the new mails. Is it a feature? best regards, charlie
Re: Article Re Mutt (re: ..handicapped.. )
On Tue, Mar 05, 2002 at 06:11:30PM -0900, Tim Johnson wrote: Hello All: Earlier I posted an email to this list soliciting comments about mutt. Many of those comments were used in an article that I wrote in our webzine about ncurse/s-lang/command-line tools for linux. The article(s) is/are at http://www.frozen-north-linuxonline.com/ under Tim's Bytes. Enjoy. Thanks so much for the comments. -- Tim Johnson [EMAIL PROTECTED] http://www.alaska-internet-solutions.com http://www.johnsons-web.com - cut here (from web page) Mutt quotes: (The mindlessly zealous and blindly elitist were weeded out) - cut here (from web page) But apparently not weeded well enough... - cut here (from web page) not everyone needs folder- and send- and pgp-hooks and 6 layers of mailcap fallthrough logic etc etc. - cut here (from web page) ...because there I am, blind elitism and all! :) wh This post is all in good fun, I hope nobody thinks I'm thumbing my nose at them. -- John Buttery (Web page temporarily unavailable) msg25072/pgp0.pgp Description: PGP signature
Re: How to get mutt bark for new created mbox?
On Wed, Mar 06, 2002 at 03:25:04PM +0800, Charles Jie wrote: Now I have a mail system with 7 mboxes. Some of them are usually cleared to empty and removed by mutt. I found that if procmail feeds new mail into such mboxes and creates them, mutt will not get aware of the new mails. Is it a feature? I don't know about that, but you can fix the problem of mutt removing empty mailboxes by set save_empty Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Spokane, Washington, USA http://www.spocom.com/users/gjohnson/mutt/ |
Re: How to get mutt bark for new created mbox?
On Wed, Mar 06, 2002 at 03:25:04PM +0800, Charles Jie wrote: Hi, Now I have a mail system with 7 mboxes. Some of them are usually cleared to empty and removed by mutt. I found that if procmail feeds new mail into such mboxes and creates them, mutt will not get aware of the new mails. Is it a feature? best regards, charlie I don't know the answer to your actual question, but have you looked into the $save_empty variable? Perhaps a workaround could be to not have mutt remove the mailboxes in the first place... -- John Buttery (Web page temporarily unavailable) msg25074/pgp0.pgp Description: PGP signature