Re: Getting pgp to work
On Mon, Dec 31, 2001 at 07:08:57PM -0500, Ian P. Thomas wrote: Here is the error message that appears after I try and sign my mail with my gpg key: Can't open PGP subprocess!: No such file or directory (errno = 2) I figured that it couldn't find the ~/.gnupg directory, but it's there. I have set pgp_sign_as=my key id in my muttrc. Here are the steps leading up to the error: 1. Enter contents of message 2. Hit p 3. Hit s, my key id appears 4. prompted for passphrase. I enter the passphrase 5. the error comes up Any suggestions? Ian If you're using the standard gpg.rc supplied with mutt, then the problem would be not finding the gpg executable in your path. Can you run gpg from the shell ok? -- Benjamin Smith [EMAIL PROTECTED], [EMAIL PROTECTED] msg22067/pgp0.pgp Description: PGP signature
Re: Using message-hook to run messages through a filter
(Neat feature: tagged reply) On Mon, Dec 31, 2001 at 01:36:03PM +0100, Andre Majorel wrote: On 2001-12-28 18:22 +0100, Roman Neuhauser wrote: I thought that message-hook ~f joe@blow\.com pipe-message /usr/local/bin/unmangle would do the trick but Mutt says pipe-message: unknown command. It's pipe-message (incl. the angle brackets) isn't it? I've tried that too and Mutt doesn't like it either. If you're trying to call a function you need to push or exec it onto the keyboard buffer ie. message-hook ~f joe@blow\.com push 'pipe-message/usr/local/bin/unmangleReturn' (untested) or message-hook ~f joe@blow\.com exec pipe-message /usr/local/bin/unmangle (untested) Although the method I use is in the next message as works 100%: On Mon, Dec 31, 2001 at 01:37:39PM +0100, Andre Majorel wrote: On 2001-12-28 17:15 +0100, Nicolas Rachinsky wrote: On Fri, Dec 28, 2001 at 05:09:05PM +0100, Andre Majorel [EMAIL PROTECTED] wrote: I thought that message-hook ~f joe@blow\.com pipe-message /usr/local/bin/unmangle would do the trick but Mutt says pipe-message: unknown command. I would try message-hook . unset display_filter message-hook ~f joe@blow\.com set display_filter=/usr/local/bin/unmangle but this is untested. Thanks, this works fine, at least for the viewing part of the deal. I guess we need a reply_filter variable. -- Benjamin Smith [EMAIL PROTECTED], [EMAIL PROTECTED] msg22068/pgp0.pgp Description: PGP signature
Outlook pgp compatability patch
I've had a good look in the archives, but I've been unable to find the URL for the outlookpatch, does anyone know where to find it? -- Benjamin Smith [EMAIL PROTECTED], [EMAIL PROTECTED] msg22069/pgp0.pgp Description: PGP signature
Hope the patch for X-label editing can be merged into mutt soon
Hi,thank you all, That's exactly the function I want. But because it's a sourcer-level patch that I need to patch-compile-install. I'm afraid that might cause trouble with my current installation from rpm package by Mandrake 8.1. I'll wait some while for that rpm comes. Thank you. best regards, charlie On Sat, Dec 29, 2001 at 11:49:20PM -0500, David T-G wrote: I *highly* recommend these patches (as appropriate for your version of mutt). The X-Label: header is invaluable. The one thing I don't know whether or not it can do is be used in a fcc expando like fcc-save-hook . =archive/%y or some such.
Where's the MAIL FROM line?
Is it possible to see the SMTP MAIL FROM line of a message in my mailbox, or does Maildir format strip that information out before storing it?
Signature and send-hooks
hi all, Until now I have used the program signature (by Ian McDonald) launched at the startup via .bash_profile for creating a dynamic .signature file (something like this: signature -q .quotefile -r -t .templatefile) Obviously in my .muttrc I have put set signature = .signature Now I want to customize my DYNAMIC signature based upon the recipient. So it's the time to extend my use of the send-hook... but how send-hook '~t ^mamma@home\.com' 'set signature = ..' (Inserting the shell command followed by | doesn't seem to work) TIA francesco PS: happy new euro to all european people :-) -- Linux is | E' assolutamente evidente che l'arte del cinema si ispira Better ! | alla vita mentre la vita si ispira alla tv. [Woody Allen] Try it! | Free and | Open |
Re: Getting pgp to work
On Tue, Jan 01, 2002 at 09:53:15AM +, Benjamin Smith wrote: On Mon, Dec 31, 2001 at 07:08:57PM -0500, Ian P. Thomas wrote: Here is the error message that appears after I try and sign my mail with my gpg key: Can't open PGP subprocess!: No such file or directory (errno = 2) I figured that it couldn't find the ~/.gnupg directory, but it's there. I have set pgp_sign_as=my key id in my muttrc. Here are the steps leading up to the error: 1. Enter contents of message 2. Hit p 3. Hit s, my key id appears 4. prompted for passphrase. I enter the passphrase 5. the error comes up Any suggestions? Ian If you're using the standard gpg.rc supplied with mutt, then the problem would be not finding the gpg executable in your path. Can you run gpg from the shell ok? -- Benjamin Smith [EMAIL PROTECTED], [EMAIL PROTECTED] I don't have a gpg.rc. I installed mutt using the package system on NetBSD. What is the variable you need to set in mutt to tell it the path to gpg? I can run gpg fine from the shell. Ian -- Of Course It Runs On NetBSD www.netbsd.org _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
[Announce] SECURITY: mutt-1.2.5.1 and mutt-1.3.25 released.
mutt-1.2.5.1 and mutt-1.3.25 have just been released. These releases both fix a security hole which can be remotely exploited. The problem was found and a fix suggested by Joost Pol [EMAIL PROTECTED]. Thanks for that. mutt-1.2.5.1 is released as an update to the last stable version of mutt, mutt-1.2.5. The ONLY relevant change in this version is the fix mentioned above. No other bugs present in 1.2.5 have been fixed. You only want to upgrade to this version of mutt if you absolutely have to stick with the mutt-1.2 series. mutt-1.3.25 is the latest BETA version of mutt, and very close to what will eventually become mutt-1.4. Personally, I'd recommend that you download and use this version. The tar balls, with detached PGP signatures, will be available from ftp://ftp.mutt.org/pub/mutt/ in some minutes. As an alternative, you can apply the patch available from ftp://ftp.mutt.org/pub/mutt/patch-1.2,3.rfc822_terminate.1 to any 1.2 or 1.3 series mutt source code, and rebuild. I apologize for the problem, and wish all of you a happy new year. -- Thomas Roesslerhttp://log.does-not-exist.org/ msg22074/pgp0.pgp Description: PGP signature
Re: Getting pgp to work
On Tue, Jan 01, 2002 at 03:21:09PM -0500, Ian P. Thomas wrote: If you're using the standard gpg.rc supplied with mutt, then the problem would be not finding the gpg executable in your path. Can you run gpg from the shell ok? I don't have a gpg.rc. I installed mutt using the package system on NetBSD. What is the variable you need to set in mutt to tell it the path to gpg? I can run gpg fine from the shell. The variables you need to set are in the manual, see pgp_*_command. To help I've attached a gzip'ed copy of gpg.rc (997 bytes) as it's very small. -- Benjamin Smith [EMAIL PROTECTED], [EMAIL PROTECTED] gpg.rc.gz Description: application/gunzip msg22075/pgp0.pgp Description: PGP signature
Re: process substitution (was: Re: Searching big gobs of e-mail)
On Mon, Dec 17, 2001 at 07:12:32PM +0100, Gregor Zattler wrote: Hi Peter, Hi Gregor, hi mutt users, [...] mutt -f (grepmail -h cco@ *) i see mutt reading messages from /dev/fd/63, a few messages from grepmaiol and then: the mutt index which first looks fine but when I hit enter to read a message the pager was empty... Sorry, I seem to have properly tested it with zsh only. I assumed that bash does it the same way (create a temp file), and changed the =( syntax to ( for my posting. Thanks Christian and Vineet for the recherche. Peter -- VFS: Busy inodes after unmount. Self-destruct in 5 seconds. Have a nice day...
narrow_tree patch for mutt 1.3.25
Here's the narrow_tree patch for mutt 1.3.25. Daniel Eisenbud originally wrote this patch for old versions of Mutt (before 1.0). Then, this patch wasn't supported any longer. But as I still need it, I modify it each time it need be, but with the risk of breaking things... I've tested it only with my configuration, and I don't know about specific configurations. Use it at your own risks... -- Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ - 100% validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des Jeux Mathématiques et Logiques, TETRHEX, etc. Work: CR INRIA - computer arithmetic / SPACES project at LORIA diff -ru mutt-1.3.25.old/hdrline.c mutt-1.3.25/hdrline.c --- mutt-1.3.25.old/hdrline.c Mon Dec 17 11:04:48 2001 +++ mutt-1.3.25/hdrline.c Wed Jan 2 01:08:52 2002 @@ -200,6 +200,50 @@ return h-recipient; } +/* do_subject returns the pointer it is given for tree or subject if + * the respective one of them is all the subject that needs to be + * printed. otherwise, it copies the appropriate string into buf + * and returns that. + */ +char *do_subject (char *dest, size_t destlen, char *subject, char *tree, int flags, +char *buf, size_t bufsize) +{ + char *dst; + + if (option (OPTNARROWTREE)) + { +dst = buf; + +while (bufsize 1) +{ + *dst = *tree; + bufsize--; + dst++; + if (!(*(tree + 1))) + break; + tree += 2; +} +if (*(tree - 1) == '\010') + *(dst - 2) = '\010'; + +if (flags M_FORMAT_FORCESUBJ) +{ + mutt_format_s (dest, destlen, , NONULL (subject)); + snprintf (dst, bufsize, %s, dest); +} +else + *dst = 0; +return (buf); + } + else if (flags M_FORMAT_FORCESUBJ) + { +mutt_format_s (dest, destlen, , NONULL (subject)); +snprintf (buf, bufsize, %s%s, tree, dest); +return (buf); + } + else +return (tree); +} + /* %a = address of author * %b = filename of the originating folder * %B = the list to which the letter was sent @@ -528,16 +572,8 @@ case 's': if (flags M_FORMAT_TREE !hdr-collapsed) - { - if (flags M_FORMAT_FORCESUBJ) - { - mutt_format_s (dest, destlen, , NONULL (hdr-env-subject)); - snprintf (buf2, sizeof (buf2), %s%s, hdr-tree, dest); - mutt_format_s_tree (dest, destlen, prefix, buf2); - } - else - mutt_format_s_tree (dest, destlen, prefix, hdr-tree); - } + mutt_format_s_tree (dest, destlen, prefix, + do_subject (dest, destlen, hdr-env-subject, hdr-tree, flags, buf2, sizeof +(buf2))); else mutt_format_s (dest, destlen, prefix, NONULL (hdr-env-subject)); break; diff -ru mutt-1.3.25.old/init.h mutt-1.3.25/init.h --- mutt-1.3.25.old/init.h Mon Dec 10 11:09:03 2001 +++ mutt-1.3.25/init.h Wed Jan 2 01:08:52 2002 @@ -1093,6 +1093,14 @@ { msg_format, DT_SYN, R_NONE, UL message_format, 0 }, /* */ + { narrow_tree, DT_BOOL, R_BOTH, OPTNARROWTREE, 0 }, + /* + ** .pp + ** This variable controls the width of the thread tree when sorting by + ** threads. When set, it makes the tree approximately twice as narrow, + ** to allow more room the tree and message subjects. This is useful on + ** narrow screens. + */ { pager, DT_PATH, R_NONE, UL Pager, UL builtin }, /* ** .pp diff -ru mutt-1.3.25.old/mutt.h mutt-1.3.25/mutt.h --- mutt-1.3.25.old/mutt.h Thu Dec 13 13:10:49 2001 +++ mutt-1.3.25/mutt.h Wed Jan 2 01:08:52 2002 @@ -363,6 +363,7 @@ OPTMETOO, OPTMHPURGE, OPTMIMEFORWDECODE, + OPTNARROWTREE, OPTPAGERSTOP, OPTPIPEDECODE, OPTPIPESPLIT,
Re: Outlook pgp compatability patch
Benjamin - ...and then Benjamin Smith said... % % I've had a good look in the archives, but I've been unable to find the % URL for the outlookpatch, does anyone know where to find it? It's by Shane Wegener, and he has his copy at ftp://ftp.cm.nu/pub/people/shane and I have a copy in my cocktail at http://mutt.justpickone.org/mutt-build-cocktail/ as well. % % -- % Benjamin Smith [EMAIL PROTECTED], [EMAIL PROTECTED] HTH HAND Happy New Year to all! :-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! msg22078/pgp0.pgp Description: PGP signature
Re: Where's the MAIL FROM line?
Philip -- Hey, what are you doing still using PINE??! ...and then Philip Mak said... % % Is it possible to see the SMTP MAIL FROM line of a message in my % mailbox, or does Maildir format strip that information out before storing % it? If you mean the ^From_ line that looks about like From user@domain Day Mon NN TT:TT:TT then you won't find it; that's part of the mbox format. If not, I'm interested in what it is also, since I haven't heard of 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.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg22079/pgp0.pgp Description: PGP signature
Re: Hope the patch for X-label editing can be merged into mutt soon
Charles -- ...and then Charles Jie said... % % Hi,thank you all, % % That's exactly the function I want. Happy to help! % % But because it's a sourcer-level patch that I need to % patch-compile-install. I'm afraid that might cause trouble with my % current installation from rpm package by Mandrake 8.1. Hmmm... That may cause you some problems. % % I'll wait some while for that rpm comes. Thank you. Don't hold your breath... From Mr. Champion's patch download page: ... Although the basic X-Label idea and code were absorbed into 1.3, these extended features were not, so you should expect to re-apply this patch each time you upgrade Mutt. % % best regards, % charlie HTH HAND Happy New Year to all! :-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! msg22080/pgp0.pgp Description: PGP signature
Re: Where's the MAIL FROM line?
On Tue, Jan 01, 2002 at 10:53:39PM -0500, David T-G wrote: Philip -- Hey, what are you doing still using PINE??! ...and then Philip Mak said... % % Is it possible to see the SMTP MAIL FROM line of a message in my % mailbox, or does Maildir format strip that information out before storing % it? If you mean the ^From_ line that looks about like From user@domain Day Mon NN TT:TT:TT then you won't find it; that's part of the mbox format. If not, I'm interested in what it is also, since I haven't heard of it. I don;t think he means that, and you can see what you refer to, viz: From [EMAIL PROTECTED] Wed Jan 2 04:57:29 2002 I think he means the MAIL FROM that is part of the SMTP dialog that goes on between MTA's. As in... cliff@tanya:~ telnet localhost 25 Trying ::1... Trying ::1... Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 tanya.raggedclown.local ESMTP helo sailor 250 tanya.raggedclown.local MAIL FROM: baggins 250 Ok RCPT TO: frodo 250 Ok DATA 354 End data with CRLF.CRLF Hello sailor . QUIT 221 Bye Connection closed by foreign host. Well, since it is not part of the message, I guess you cannot. -- Regards Cliff