Output of UNIX commands
Hi, there! The output of UNIX commands traditionally will be substituted before the line is parsed. For the example my_hdr X-Operating-System: `uname -a` this is ok. But is there a solution to get the output of commands which change often, for example my_hdr X-Date: `date` I tried to put it into a send_hook for ., this doesn't work, too. Thanks in advance for hints, -volker -- http://die-Moells.de/ * http://Stama90.de/ * http://ScriptDale.de/
Insertion of .signature
Hello Is it possible to associate a particular message signature to a particular mail-folder and/or recipient ? ..apart from editing it that is ! -- Regards Cliff
cygwin terminal messes up when loggin in from remote
Hi, when I use a cygwin terminal to log in to my linux box from windows, the terminal is set to cygwin. As there are no termcap entries for cygwin on my linux machine, I set the $TERM to 'ansi' which works nicely and gives correct output for 'ls', 'vim', 'slrn' for example. Unfortunately mutt doesn't work correctly with this setting. What should I do to get the correct output ? -- Johannes
Re: Insertion of .signature
* Cliff Sarginson [EMAIL PROTECTED] [09-Fri-01 00:53 -0700]: Is it possible to associate a particular message signature to a particular mail-folder and/or recipient ? yeah. i just did it today :) the example for recepient is in the userguide ('sept they set the 'from' header there, and not signature) http://www.mutt.org/doc/manual/manual-4.html#ss4.4 For example, if you wanted to set your return address based upon sending mail to a specific address, you could do something like: send-hook '~t ^me@cs\.hmc\.edu$' 'my_hdr From: Mutt User user@host' for the signature, based on folder: (i am also setting 'from' based on folder) # default signature. i think you need this as a means of 'resetting # your sig for the rest of the folders, other then the one you need # to change folder-hook . 'set signature=~/.signature' # and this is how i set signature. folder-hook =nomadix 'set signature=~/.signature.nomadix' to do the .sig based on 'to', just combine what's in the manual with example above disclaimer i am fairly new to mutt, so the way i do things may not be *THE* way to do things, but this i just tested today and it works :) /disclaimer denis -- // mailto: Denis Perelyubskiy [EMAIL PROTECTED] // icq : 12359698 // PGP : http://www.cs.ucla.edu/~denisp/files/pgp.asc
Re: cygwin terminal messes up when loggin in from remote
Johannes Zellner wrote: when I use a cygwin terminal to log in to my linux box from windows, the terminal is set to cygwin. As there are no termcap entries for cygwin on my linux machine, I set the $TERM to 'ansi' which works nicely and gives correct output for 'ls', 'vim', 'slrn' for example. Unfortunately mutt doesn't work correctly with this setting. What should I do to get the correct output ? you might just use putty instead... putty looks pretty nice with mutt. i experimented a little and 'xterm-color' seemed to work ok for me - it probably depends on what the terminfo / termcap stuff is set like on your linux machine. you could try scping over the terminfo file for cygwin perhaps someone who knows more about this stuff could suggest a better solution? w -- Sintax error in config file! (line 378) aborted! GPG Public Key: http://infinitejazz.net/will/pgp/
Re: cygwin terminal messes up when loggin in from remote
Johannes Zellner wrote: when I use a cygwin terminal to log in to my linux box from windows, the terminal is set to cygwin. As there are no termcap entries for cygwin on my linux machine, I set the $TERM to 'ansi' which works nicely and gives correct output for 'ls', 'vim', 'slrn' for example. Unfortunately mutt doesn't work correctly with this setting. What should I do to get the correct output ? sorry for the second post on this issue. i'm sure thomas will explain why i'm an idiot, but copying the cygwin terminfo entry from /usr/lib/terminfo/c to /etc/terminfo/c on my linux mail machine seemed to do the trick. i'm sure that's not ideal, but it seemed to work. if your machine uses termcap instead of terminfo, you could presumably edit the termcap file (keeping a backup of course) and add the definition for cygwin. or just use putty as i mentioned before : w -- Sintax error in config file! (line 378) aborted! GPG Public Key: http://infinitejazz.net/will/pgp/
sourcing a file in a macro
I am trying to do something like this: macro index y !vim /home/eric/.muttrc\nexec source /home/eric/.muttrc The first part I have been using for years - very useful by the way especially when you have the following autocommand autocmd BufRead * normal ` (returns you to where you were in the file when last edited) Problem is I want to source the muttrc directly. how? -- Eric Smith
Re: sourcing a file in a macro
Am Fre, 14 Sep 2001, schrieb Eric Smith: I am trying to do something like this: macro index y !vim /home/eric/.muttrc\nexec source /home/eric/.muttrc The first part I have been using for years - very useful by the way especially when you have the following autocommand autocmd BufRead * normal ` (returns you to where you were in the file when last edited) Problem is I want to source the muttrc directly. This macro works fine for me to edit my aliases file I think you should be able to adapt it. macro index \ea !vim ~/.mutt/aliases\n:source ~/.mutt/aliases\n \ Edit aliases file and reload it Christoph -- Christoph Maurer - Paul-Röntgen-Straße 7 - D - 52072 Aachen mailto:[EMAIL PROTECTED] - http://www.christophmaurer.de On my Homepage: SuSE 7.0 on an Acer Travelmate 508 T Notebook
[1.3.22.1] history bug
With Mutt 1.3.22.1, when I type 's' to save a message to a mailbox: The up arrow (history-up) seems to behave correctly, going backward through the history. But when I use the down arrow (history-down), instead of going forward, it still goes backward. -- 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
Re: unmapped keys
Steve -- Sorry for the delay in responding... ...and then Steve said... % On Mon, Sep 10, 2001 at 08:44:01AM -0400, David T-G wrote: % % ...and then Steve said... % % I'm having a problem finding the relevant entry or `how to' in the % % manual on doing the following: % % % % mapping check-mail. % % Hmmm... I'm not exactly sure what you mean, since I can't find a % check-mail function anywhere. I see that you're using 1.3.21, so you % probably don't even mean check-new, which was in 1.2 but isn't in 1.3 % (or so it seems to me, but I haven't followed the 1.3 tree much at all). % % Can you give us more detail or rephrase the question? % % Sure in my pager, at the bottom is a listing showing unmapped funtions - % check-mail is one of them. Son of a gun; I just can't find it. I actually *did* find check-new in 1.3, but I still don't see check-mail. I guess one of the developers is going to have to step up to this part. % % % % % I've found how to alter an already mapped entry, but not how to ceate % % one. Suggestions? % % If you mean creating a new function, then you need to whip out your % editor and compiler :-) % % You can bind any function to any key, be either already bound or not, % with a simple :bind command (or in your muttrc file). % % Ok I tried to do this from within mutt, as the manual says one can do to % *re-map*, so logically I figured one could *map* unmapped keys as well. Yep. % % Well I would think a command to check for new mail, would be basic. Am I % missing something here? For some reason with my configuration, I have to Maybe that's why I'm confused. If you mean to pop down new mail, the pop function is bound by default to 'G' -- but it's also generally recommended that you use fetchmail or the like instead. Meanwhile, if you're using IMAP or reading a regular spool file or dir and simply want to know when new mail arrives for you ... just don't do anything! How basic is that? :-) % do an operation before mutt tells me there is new mail, it doesn't tell % me if I leave it sitting static. So when looking through the pager to Ahhh... Your $timeout is probably set to zero or you're not waiting the full 600 seconds of the default setting. [I'm annoying; I have mine cranked down to 60 :-] That variable controls how long it should take for mutt to give up on your doing anything (when, as you have seen, it will also check) and check for new mail anyway. % see what the key command would be to check for new mail, I see that at % it's unmapped - but mentioned specifically. Surely one can map this % command from within mutt similar to remapping? I should think you could. % % I guess I'm overlooking something obvious - just can't see the forest % for the trees at this point? g Perhaps *now* we're on track :-) HTH HAND again :-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! PGP signature
Re: nfrm/frm in mutt ?
Paul, et al -- ...and then Paul de Weerd said... % Hi list, % % I recently switched to using Mutt for all my mail. Sure % do like it ! But I do miss some tools I had back when Good for you! % using ELM, namely frm and nfrm. frm listed all mails Yeah. I happen to like elm's alias file format and listalias lookup tool, too; to this day I edit my aliases in the elm file (though it is, I admit, getting kinda big at 1400 lines) and pump it through a perl convert script posted here long ago... [I have started to explore lbdb but haven't put much time into it. If anyone out there wants to sell me on the newest alias management tool, which must feature - easy, easy, easy data entry; no forms and tab keys and whatnot - alias.name, Full Name, email@address, *and* comment association - quick, flexible lookup to be useful to me, I'm all ears and would happily hear suggestions and then post a summary of what I've found if there is further interest.] % in a specified mailbox (or $MAIL if none was specified) % and nfrm listed all new mails (I think nfrm was a % specialized form of frm, but I'm not sure). Yep. Interestingly enough, though, nfrm never displayed proper results for mailboxes not my main spool file; ffrm and nfrm were equivalent. Odd. % % Where are these great tools ? Can I simply run mutt % with some commandline options - I did not find these % in mutt(1). Should I build these from the source tree % with some special make target (make nfrm) ? Do they % not exist (but WHY !? ;-) ? Because, although they're cool and handy, they aren't part of the mailreader -- and that's what you get with mutt. Search the archives for 'code bloat' to see many fervent discussions of features, tools, and add-ons that aren't in the mutt package and why :-) % % Current solution would be downloading elm, compiling % these tools and installing them by hand. That's the way to get them as it stands today. Of course, you could always hack it like the shell script in another reply or write your own standalone tool -- and if you do, I'm sure you could get such a package into the contrib directory at ftp.mutt.org for everyone else! % % Any thoughts ? Many, many, many this week. My prayers are with the world. % % Paul 'WEiRD' de Weerd 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! PGP signature
Re: cygwin terminal messes up when loggin in from remote
On Fri, Sep 14, 2001 at 09:58:05AM +0200, Johannes Zellner wrote: Hi, when I use a cygwin terminal to log in to my linux box from windows, the terminal is set to cygwin. As there are no termcap entries for cygwin on my linux machine, I set the $TERM to 'ansi' which works nicely and gives correct output for 'ls', 'vim', 'slrn' for example. Unfortunately mutt doesn't work correctly with this setting. What should I do to get the correct output ? generally - generate a termcap entry using infocmp and paste it into termcap. however, it's unlikely that you are using termcap on linux, especially for mutt, but more likely that your terminfo database is old. see ftp://invisible-island.net/ncurses/terminfo.src.gz This is current (from that source): # Reconstructed via infocmp from file: /usr/local/ncurses/share/terminfo/c/cygwin cygwin|ansi emulation for Cygwin, am, eo, in, msgr, xon, colors#8, cols#80, it#8, lines#25, ncv#3, pairs#64, acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z, nel=^M^J, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmpch=\E[10m, rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R, sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, sgr0=\E[0;10m, smir=\E[4h, smpch=\E[11m, smso=\E[7m, smul=\E[4m, u6=\E[%i%d;%dR, u7=\E[6n, u9=\E[c, vpa=\E[%i%p1%dd, -- Thomas E. Dickey [EMAIL PROTECTED] http://invisible-island.net ftp://invisible-island.net
Re: cygwin terminal messes up when loggin in from remote
On Fri, Sep 14, 2001 at 01:31:52AM -0700, Will Yardley wrote: Johannes Zellner wrote: when I use a cygwin terminal to log in to my linux box from windows, the terminal is set to cygwin. As there are no termcap entries for cygwin on my linux machine, I set the $TERM to 'ansi' which works nicely and gives correct output for 'ls', 'vim', 'slrn' for example. Unfortunately mutt doesn't work correctly with this setting. What should I do to get the correct output ? sorry for the second post on this issue. i'm sure thomas will explain why i'm an idiot, but copying the cygwin terminfo entry from /usr/lib/terminfo/c to /etc/terminfo/c on my linux mail machine seemed to do the trick. i'm sure that's not ideal, but it seemed to work. if that would work. (It may have some errors, depending on version - the newer cygwin terminal doesn't match, for instance, the b19.1 that I originally tested on). your machine uses termcap instead of terminfo, you could presumably edit the termcap file (keeping a backup of course) and add the definition for cygwin. or just use putty as i mentioned before : PuTTY's fine (but there are a lot of settings for it, so I wouldn't bother trying to make terminfo entries for all of the combinations). Out-of-the-box, I don't think its display is very legible (requires some tweaking of fonts and colors to make it usable), and iirc, the function-keys out-of-the-box don't match any of the terminfo's I use. If I want to use something that doesn't require much tinkering, I use Tera Term. -- Thomas E. Dickey [EMAIL PROTECTED] http://invisible-island.net ftp://invisible-island.net
OT: Trying to install mailman
Hi, trying to get off-line IMAP up and running (on RedHat 7.0/i386). Tried isync, but it unfortunately use maildir format for mailboxes (I prefer standard mbox). So, I found a mailsync (on http://mailsync.sourceforge.net). However, I have no success with its compilation. First, I tried to compile it with imap-devel-2001.3 package by setting up particular variables to /usr/include, but it failed saying that it is not possible *or, and *not in the names of variables with C++. Therefore, I tried to compile original c-library from imap-2001.BETA.SNAP-0107221451 from UW IMAP homepage. No, success (the same mistake -- only it complained also about *and, to make it complete :-). Does anybody have succeeded with compilation of mailsync and could he send me working .src.rpm, please? Or would anybody advice, what should I do to be able to compile (preferably, over imap-devel) mailsync? Or is it possible to persuade insync to use mbox folders? Thank you very much Matej Cepl
OT: Trying to install mailman
Hi, trying to get off-line IMAP up and running (on RedHat 7.0/i386). Tried isync, but it unfortunately use maildir format for mailboxes (I prefer standard mbox). So, I found a mailsync (on http://mailsync.sourceforge.net). However, I have no success with its compilation. First, I tried to compile it with imap-devel-2001.3 package by setting up particular variables to /usr/include, but it failed saying that it is not possible *or, and *not in the names of variables with C++. Therefore, I tried to compile original c-library from imap-2001.BETA.SNAP-0107221451 from UW IMAP homepage. No, success (the same mistake -- only it complained also about *and, to make it complete :-). Does anybody have succeeded with compilation of mailsync and could he send me working .src.rpm, please? Or would anybody advice, what should I do to be able to compile (preferably, over imap-devel) mailsync? Or is it possible to persuade insync to use mbox folders? Thank you very much Matej Cepl g++ -g -I../imap-2001.BETA.SNAP-0107221451/c-client -g -fno-omit-frame-pointer -O6 -c -o mailsync.o mailsync.c In file included from mailsync.c:17: ../imap-2001.BETA.SNAP-0107221451/c-client/c-client.h:27:9: and cannot be used as a macro name in C++ ../imap-2001.BETA.SNAP-0107221451/c-client/c-client.h:28:9: or cannot be used as a macro name in C++ ../imap-2001.BETA.SNAP-0107221451/c-client/c-client.h:29:9: not cannot be used as a macro name in C++ make: *** [mailsync.o] Error 1
Re: send-hook, folder-hook
Peter -- ...and then Peter Lavender said... % Hi everyone, Hello again! % % I thought I had this working, but seems that I have broken something, % and I'm not sure I'm using send and folder-hook correctly. Did my hook examples and muttrc.* files help you? I was going to go back to a note I sent out recently in response to a similar request -- but it was to you! :-) % % What I need to have happen is that my .sig changes, my From address is % correct (which it is) and the reply-to: header is correct, and remove % the vanitity headers. Shouldn't be too tough. Let's see, here... % % Thanks... % % = % # Setup the rest as defaults. % folder-hook .set signature=~/.signature % % folder-hook .unmy_hdr * Brutal, eh? :-) % folder-hook .my_hdr From: Peter Lavender [EMAIL PROTECTED] % % send-hook .my_hdr X-Operating-System: Linux/`uname -r` (`uname % -m`) % send-hook .my_hdr X-Uptime: \`uptime\` This will do, but you might want to make these folder-hook calls instead of using send-hook 'cuz you want to change them based on folder. You also might look at wrapping the my_hdr side in single quotes; I believe you'll find with this setup that uptime gets evaluated once and then, even if you have mutt running for three days, it never changess. The single quotes will force it to be evaluated when you expect it to be. You might also check through the archives; this is only from memory. % % # Maxware config % folder-hook maxware unmy_hdr * While this will undo headers as you expect, they won't stay that way; anything that's a send-hook will get executed when you start to send a new message. % folder-hook maxware set sort=reverse-date-received That will do -- though that's the LookOut! way of sorting ;-) % % #folder-hook maxware reply-to= % folder-hook maxware my_hdr From: Peter Lavender % [EMAIL PROTECTED] % folder-hook maxware my_hdr Organization:MaXware Australia Those should do since you can safely set such things at the folder level. % % #send-hook maxware unmy_hdr X-Operating-System: Linux/`uname -r` % (`uname -m`) % #send-hook maxware unmy_hdr X-Uptime: \`uptime\` Your first posting was better, I think, since you'll need to undo these headers for every mail -- unless you unhook them when you enter the folder. To wipe a header, though, you need only unmy_hdr X-Hook-Name: without the RHS data that you provide when you create it. % folder-hook maxware set signature=~/mail/maxware.sig That ought to work just fine; the folder-hook here matches the folder-hook above. % % fcc-hook maxware ~/mail/maxware-sent That ought to do well, too, though you might want to make a directory ~/mail/maxware and then save under it just as you do your regular mail (assuming you'd use save_name instead of just one big =sent). See the %O expando for more if you don't want to reset $folder for your maxware mail. % % % Regards, HTH HAND again % % Pete. % % -- % Due to a lack of imagination, % this signature will remain % under construction indefinately. ^ I can't take it any more. It's right here ---+ :-) :-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! PGP signature
Re: Fix for PGP copyright thing...
Jean-Sebastien -- ...and then Jean-Sebastien Morisset said... % I don't know about you guys, but I got tired of PGP's (version 6.5.8) % copyright message. Here's a little script I wrote called % 'pgp-no-copyright': Cool; thanks. Sec Zehl had written a patch back in the 0.95 days which condensed the PGP output and was very nice, but I've had to abandon it because mutt has changed too much. Anyone feel like taking it up again? ${1+$@} % % ---BEGIN--- % #!/bin/sh ... % pgp $* 2$PGP_ERR 1$PGP_OUT BTW, you might want to modify your script to protect any arguments with embedded spaces. Change the line above to pgp ${1+$@} 2$PGP_ERR 1$PGP_OUT and you're golden. [BTW, I haven't *yet* found this in any shell documentation since I saw it in a shell programming tip; can anyone provide me a pointer for further research?] :-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! PGP signature
Re: esc t ..why doesn't work when a message is displayed?
Cliff -- ...and then Cliff Sarginson said... % Hello % The esct toggle thread tagging only works when only the index Er, toggle-thread? I have that as 'tag-thread' in my keybindings... % is displayed, not if you have the index above and a message % below in the screen. Right; it's bound in the index but not in the pager. % Is there a reason for this ? % Seems a bit odd. I'd think that it's because you'd want to tag a whole thread only from the index, since you [probably] can't get a picture of the whole thread from the single-message pager view. % % -- % Regards % Cliff % % Sending an email as follows will get you my public gpg key... % % To: [EMAIL PROTECTED] % Subject: send public key % 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! PGP signature
Re: [OT] Content-Disposition: inline?
Justin -- ...and then Justin R. Miller said... ... % Mutt problem, but I'd like to learn what the deal is either way and this % list has the kind of people who tend to know this stuff :- *grin* % % I send my mail with Mutt and I always sign it with GnuPG. That results Good for you! % in the message going out as two (or more) parts -- the message, and the % signature. Both have a 'Content-Disposition: inline' header, which I % take it means that the MUA is supposed to display the attachment inline, % since both are of type text/plain. Yep. % % Anyway, I just got a mail from a user on a rather low-tech mailing list % complaining that all of my mail comes up blank with two attachments -- % the two parts mentioned above. She's using: % % X-Mailer: Microsoft Outlook Express 5.00.3018.1300 Ha ha ha hahahahaha ;-) % % I'll bet my life savings on which one of us has the real problem :-D % Regardless, I was wondering if anyone would be able to confirm for me % what exactly that is? LookOut! is just stupid; you're right. If you know you're sending to Outhouse users, you can set your $pgp_create_traditional to help, but they still won't be able to see the message in the preview pane, IIRC. Shane Wegener's pgp_outlook_compat patch is excellent for this, and I've used it quite happily. It manages to so brutally mangle your outgoing message that it's visible on the other end. See my posting of a few minutes ago for a URL. % % Thanks in advance! HTH HAND % % -- % | Justin R. Miller / [EMAIL PROTECTED] / 0xC9C40C31 % | Of all the things I've lost, I miss my pants the most. % -- :-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! PGP signature
Re: Output of UNIX commands
Volker -- ...and then Volker Moell said... % Hi, there! Hello! % % The output of UNIX commands traditionally will be substituted before % the line is parsed. For the example % my_hdr X-Operating-System: `uname -a` % this is ok. Yep. % % But is there a solution to get the output of commands which change % often, for example % my_hdr X-Date: `date` Yep :-) % % I tried to put it into a send_hook for ., this doesn't work, too. Wrap it in single quotes, IIRC, to force evaluation at call-time instead of load-time (as it's read in the muttrc file). % % % Thanks in advance for hints, HTH HAND % % -volker % % -- % http://die-Moells.de/ * http://Stama90.de/ * http://ScriptDale.de/ :-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! PGP signature
Re: Output of UNIX commands
I wrote: But is there a solution to get the output of commands which change often, for example my_hdr X-Date: `date` Anser to myself: Quote the backticks. \`...\` (Thanks to Peter due to his send-hook . my_hdr X-Uptime: \`uptime\`!) -volker -- http://die-Moells.de/ * http://Stama90.de/ * http://ScriptDale.de/ God is real, unless declared integer.
Re: Outlook patch...
J-S -- ...and then Jean-Sebastien Morisset said... % I've read about the 'outlook patch' in a few messages, but haven't been % able to find it anywhere. Can someone point me to a URL with the patch for % mutt v1.2.5? Surf over to http://mutt.sector13.org/mutt-build-cocktail/Old/ and look for patch-1.2.5.sw.pgp-outlook.1* (or back up one for the 1.3.15 version). % % Thanks, % js. % -- % Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED] % Personal Homepage http://jsmoriss.mvlan.net/ % This is Linux Country. On a quiet night you can hear Windows NT reboot! % please pgp encrypt all correspondence For that we'd need an encrypting mailing list -- the idea of which I like, I must say, but which I haven't seen. :-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! PGP signature
Re: repeat a command x times
David -- ...and then David said... % Sorry for the double mail I sent it prematurely. I wondered about that... % % Is there a way to repeat a command [n] times? (again, mimicing the % vi number modifiers to most any command). I'd say that you ought to look into tagging, or perhaps limiting and then tagging, messages and then applying your command to all of them at once. % % /db 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! PGP signature
Re: esc t ..why doesn't work when a message is displayed?
On Fri, Sep 14, 2001 at 07:08:46AM -0400, David T-G wrote: ...and then Cliff Sarginson said... % Hello % The esct toggle thread tagging only works when only the index I'd think that it's because you'd want to tag a whole thread only from the index, since you [probably] can't get a picture of the whole thread from the single-message pager view. Oh, you can, if having set (in .muttrc or manually) set pager_index_lines=7 (something greater 1) But (at least in mutt 12.5i) trying to type ':tag-thread' while in the pager has no effect. Maybe it's a problem with the programming logic behind it that makes it impossible to have tag-thread available in the pager? Olaf
Re: mutt exchange
On Wed, Sep 12, 2001 at 04:05:26PM +0530, Suresh Ramasubramanian wrote: Johannes Zellner mutt [12/09/01 12:04 +0200]: how do I use mutt with an EXCHANGE server ? Actually I can already READ mail by having set imap_user=my name set imap_pass=my pass but if I try to SEND mail, it tells me Error 127 .. Exec error. Mutt doesn't have a builtin smtp client of any kind. See if you can compile Masqmail / Nullmailer on cygwin (or download Mercury from http://www.pmail.com) and config that to smarthost through your exchange box (or if you have a NAT'ted connection to the 'net, use mercury to send direct to MX) If someone has any EXCHANGE related tips, please share them with me! (Using mutt / UNIX since quite a while, my job forces me now to work on this OS-wannabe). hmm. I've installed ssmtp from cygwin now, configured it and succeed in doing: # echo fred | ssmtp some@address ssmtp is not running as daemon. Now I've configured mutt with sendmail=ssmtp but I still get the message Error sending message, child exited 127 (Exec error.). To summarize: I can send mails with ssmtp from command line but not from mutt. -- Johannes
Re: esc t ..why doesn't work when a message is displayed?
On Fri, Sep 14, 2001 at 01:54:45PM +0200, Olaf Schulz wrote: On Fri, Sep 14, 2001 at 07:08:46AM -0400, David T-G wrote: ...and then Cliff Sarginson said... % Hello % The esct toggle thread tagging only works when only the index I'd think that it's because you'd want to tag a whole thread only from the index, since you [probably] can't get a picture of the whole thread from the single-message pager view. Oh, you can, if having set (in .muttrc or manually) set pager_index_lines=7 (something greater 1) But (at least in mutt 12.5i) trying to type ':tag-thread' while in the pager has no effect. Maybe it's a problem with the programming logic behind it that makes it impossible to have tag-thread available in the pager? Olaf Mmm. I have my mutt set up a-la-Olaf, I see some of the message and some of the index..I think it would definitely be useful to tag-thread when in the pager, In a sense in this case you are both in the pager and in the index after all.. -- Regards Cliff
Re: esc t ..why doesn't work when a message is displayed?
Olaf, et al -- ...and then Olaf Schulz said... % On Fri, Sep 14, 2001 at 07:08:46AM -0400, David T-G wrote: % % I'd think that it's because you'd want to tag a whole thread only from % the index, since you [probably] can't get a picture of the whole thread % from the single-message pager view. % % Oh, you can, if having set (in .muttrc or manually) % set pager_index_lines=7 % (something greater 1) Well, yeah; I have that, too. But try seeing the whole thread on, say, the edit_threads patch thread ;-) % % But (at least in mutt 12.5i) trying to type ':tag-thread' while in the pager % has no effect. Maybe it's a problem with the programming logic behind it that % makes it impossible to have tag-thread available in the pager? I have no answer for that, since I'm no coder by far. But perhaps that's why it's not bound in the pager by default :-) Yes, it seems to me that just about every function should be available just about everywhere. Go figure. % % Olaf :-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! PGP signature
Re: Mutt + PGP
Ailbhe, et al -- ...and then Ailbhe Leamy said... % ... % Query: why do people pgp-sign mail to mailing lists? Why not? You put your home page in your signature, for instance; you have a mailing address that you list that is suitable for replies. It is my not-so-humble opinion that everyone everywhere should be signing and encrypting all of the time, except as required (don't sign if you want to be anonymous or don't encrypt if the message is for mass distribution -- you get the idea). Everything I can do to encourage such behavior and raise everyone's awareness is thus a good thing. Since I don't often have to post anonymously (though I generally don't have a problem with those who do), I can sign everything. Here, of all places, it should be no biggie; mutt can handle GPG/PGP with ease, and procmail/formail could strip out the signature entirely, and this is the group that would know how to do it. % % Ailbhe % % -- % Homepage: http://ailbhe.ossifrage.net/ :-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! PGP signature
Re: Mutt + PGP
On (14/09/01 09:41), David T-G wrote: ...and then Ailbhe Leamy said... % % Query: why do people pgp-sign mail to mailing lists? Why not? You put your home page in your signature, for instance; you have a mailing address that you list that is suitable for replies. Having a valid From: address is hardly the same as adding a pgp-signature to things. Having a sigfile doesn't seem like the same thing to me, either. It is my not-so-humble opinion that everyone everywhere should be signing and encrypting all of the time, except as required (don't sign if you want to be anonymous or don't encrypt if the message is for mass distribution -- you get the idea). Yes, but _why_? In what way is it useful to pgp-sign or encrypt a mail that is for distribution to a mailing list? You are aware of the fact that there are archives? Everything I can do to encourage such behavior and raise everyone's awareness is thus a good thing. Since I don't often have to post anonymously (though I generally don't have a problem with those who do), I can sign everything. OK. That's really useful. I see this. Er. Where's your public key? And how do I verify that it _is_ your public key? If I can't, what possible use could it be? Here, of all places, it should be no biggie; mutt can handle GPG/PGP with ease, and procmail/formail could strip out the signature entirely, and this is the group that would know how to do it. I repeat: archives? http://groups.yahoo.com/group/mutt-users/message/21394 Ailbhe -- Homepage: http://ailbhe.ossifrage.net/
Re: Mutt + PGP
On Fri, Sep 14, 2001 at 04:04:55PM +0100, Ailbhe Leamy wrote: In what way is it useful to pgp-sign or encrypt a mail that is for distribution to a mailing list? You are aware of the fact that there are archives? Because someone can send an email to a mailing list purpoting to be from you that can cause a lot of damage, e.g. some form of hoax. A signed email can only be from you (assuming web of trust works as intended). -- * TRiG feels his eyes rejecting his head PGP signature
Re: send-hook, folder-hook
Peter Lavender muttered: I thought I had this working, but seems that I have broken something, and I'm not sure I'm using send and folder-hook correctly. What I need to have happen is that my .sig changes, my From address is correct (which it is) and the reply-to: header is correct, and remove the vanitity headers. = # Setup the rest as defaults. send-hook .my_hdr X-Operating-System: Linux/`uname -r` (`uname -m`) send-hook .my_hdr X-Uptime: \`uptime\` These send-hooks will always apply regardless what to specify in the folder-hooks. folder-hook maxware unmy_hdr * #send-hook maxware unmy_hdr X-Operating-System: Linux/`uname -r` (`uname -m`) #send-hook maxware unmy_hdr X-Uptime: \`uptime\` As I understand the manual you're not using the unmy_hdr function correcly. The manual section 3.12. unmy_hdr field To remove user defined header fields, use the ``unmy_hdr'' command. You may specify an asterisk (``*'') to remove all header fields, or the fields to remove. For example, to remove all ``To'' and ``Cc'' header fields, you could use: unmy_hdr to cc unmy_hdr X-Uptime X-Operating-System Is what you need here. HTH, Michael -- We come to bury DOS, not to praise it. (Paul Vojta, [EMAIL PROTECTED], paraphrasing a quote of Shakespeare) PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key
Re: serial mail
Matthias LOITSCH muttered: just another question :) i want to send a mail to many persons, but they shouldnt see that they mail is not sent only to them. with the Bcc i have to specify a To Adress... No, you don't. Well, sort off. :) alias bcc undisclosed-recipients: ; And enter bcc at the To: Prompt. quite the same question : can i change one word in each mail ? for example : hello name1 hello name2 Tricky if you use the Bcc: header to write to multiple recipients. Sendmail experts, anyone? HTH, Michael -- PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key
Re: Mutt + PGP
Thus spake Andy Smith ([EMAIL PROTECTED]): Because someone can send an email to a mailing list purpoting to be from you that can cause a lot of damage, e.g. some form of hoax. A signed email can only be from you (assuming web of trust works as intended). And I would add that although many people don't normally send them, patches and other attachments are included in the verification process. It can't hurt to have their content verified to assure that they weren't changed during sending. -- | Justin R. Miller / [EMAIL PROTECTED] / 0xC9C40C31 | Of all the things I've lost, I miss my pants the most. -- PGP signature
More on .signatures
Hello I am using send-hooks for different signatures. For example # Default signature # send-hook . 'set signature=~/.signature' # Dutch signature # send-hook .*\.nl 'set signature=~/.signature.nl' The second one signs my mail with a dutch signature if sending to a Dutch address. However I want to make an exception for certain people..for example.. # Personal signature # send-hook [EMAIL PROTECTED] 'set signature=~/.signature.duivel' This does not work, whatever order I put them in. It still sends the .signature.nl Hints ? -- Regards Cliff
Re: More on .signatures
Cliff -- ...and then Cliff Sarginson said... % Hello % I am using send-hooks for different signatures. ... % % This does not work, whatever order I put them in. % It still sends the .signature.nl Various hooks are handled differently; send-hooks, IIRC, stop at the first match. Are you sure you've tried default duivel nl in that order (sorry, but...)? Nothing else looks out of the ordinary... % % Hints ? HTH HAND % % -- % Regards % Cliff % :-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! PGP signature
Re: Mutt + PGP
Ailbhe, et al -- ...and then Ailbhe Leamy said... % On (14/09/01 09:41), David T-G wrote: % % ...and then Ailbhe Leamy said... % % % % Query: why do people pgp-sign mail to mailing lists? % % Why not? You put your home page in your signature, for instance; you % have a mailing address that you list that is suitable for replies. % % Having a valid From: address is hardly the same as adding a % pgp-signature to things. % % Having a sigfile doesn't seem like the same thing to me, either. I accept both of those points. I also reserve the right to draw the same thing line anywhere I please. % % It is my not-so-humble opinion that everyone everywhere should be % signing and encrypting all of the time, except as required (don't sign % if you want to be anonymous or don't encrypt if the message is for % mass distribution -- you get the idea). % % Yes, but _why_? Why use PGP/GPG? Because it should be mainstream and available to all, it should be easy to use and familiar to all, and private communication should be both avaiable and commonplace rather than challenging and noteworthy. % % In what way is it useful to pgp-sign or encrypt a mail that is for I can't think of a time I'd encrypt a mail to a mailing list, since I don't know of any encryption-aware mailing list servers (though such things have been discussed even here). It's useful to sign a message so that others can confirm that the message came from me as they see it -- whether because I am concerned about forgery, concerned about a patch or piece of code being maliciously modified, or concerned about my messages being accidentally munged in transmission (found on this list only a month or two ago and bought to my attention by a guy -- whose name I have now forgotten but whose attention is still appreciated -- who wondered why my messages kept saying bad signature and eventually tracked down to an added space and newline, IIRC). % distribution to a mailing list? You are aware of the fact that there are % archives? Yes. I must admit that I don't see your point here, though. % % Everything I can do to encourage such behavior and raise everyone's % awareness is thus a good thing. Since I don't often have to post % anonymously (though I generally don't have a problem with those who % do), I can sign everything. % % OK. That's really useful. I see this. Er. Where's your public key? And At the moment I'm in transition, so you'll not find a public key for [EMAIL PROTECTED] out there; sorry about that, but you can find it if you look for [EMAIL PROTECTED] and messages sent there will get to me. You can, however, find my key on the public key servers as well as at my web site; just ask. % how do I verify that it _is_ your public key? If I can't, what possible % use could it be? It's a start. I haven't been to any signing parties, I admit, but there are those who have bothered to contact me directly and exchange keys. % % Here, of all places, it should be no biggie; mutt can handle GPG/PGP % with ease, and procmail/formail could strip out the signature % entirely, and this is the group that would know how to do it. % % I repeat: archives? % http://groups.yahoo.com/group/mutt-users/message/21394 Looks fine to me. I still don't see your point. You can't be arguing that I shouldn't sign my messages because the archive server can't read 'em, and I can't imagine that you'd argue that signing is useless because the archive doesn't retain it (but if you are my answer is So what? I have no particular interest in the archives and can't help that the signature is stripped.). % % Ailbhe % % -- % Homepage: http://ailbhe.ossifrage.net/ Thanks for the discussion. I'm happy to continue, since I feel that I have a position that can be logically defended, but I don't have to and certainly don't have to on the list to the borement of most or all. I welcome your reply. :-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! PGP signature
Re: More on .signatures
On Fri, Sep 14, 2001 at 02:44:38PM -0400, David T-G wrote: Cliff -- ...and then Cliff Sarginson said... % Hello % I am using send-hooks for different signatures. ... % % This does not work, whatever order I put them in. % It still sends the .signature.nl Various hooks are handled differently; send-hooks, IIRC, stop at the first match. Are you sure you've tried default duivel nl in that order (sorry, but...)? Nothing else looks out of the ordinary... Yes they are in that order. If I remove the normal Dutch signature, then my duivel signature is used as expected. Yup send hooks stop at the first match (I perused manual for any gotcha's) So... ?? Bug ? (I am a programmer, and I am the last to cry bug ! lol) -- Regards Cliff
Re: Mutt + PGP
Thus spake David T-G ([EMAIL PROTECTED]): concerned about my messages being accidentally munged in transmission (found on this list only a month or two ago and bought to my attention by a guy -- whose name I have now forgotten but whose attention is still appreciated -- who wondered why my messages kept saying bad signature and eventually tracked down to an added space and newline, IIRC). That'd be me :-D At the moment I'm in transition, so you'll not find a public key for [EMAIL PROTECTED] out there; sorry about that, but you can find it if you look for [EMAIL PROTECTED] and messages sent there will get to me. You can, however, find my key on the public key servers as well as at my web site; just ask. If my GnuPG setup doesn't find the key on the automatic retrieve (either because it hasn't mirrored across or isn't on the keyservers at all), then I will often email the person requesting it from them. I've found 100% cooperation in about two dozen occurances of this. Sometimes, also, a URL will be named in their signature and/or their headers. % how do I verify that it _is_ your public key? If I can't, what possible % use could it be? It's a start. I haven't been to any signing parties, I admit, but there are those who have bothered to contact me directly and exchange keys. Ailbhe, you should read up on the web of trust. While it is the weak point in public key crypto, it answers your question. Please keep in mind that I don't mean these comments to be inflammatory, and I don't think David does either. I just foresee that everyone will at some point be using crypto, and that leaving a digital signature off of a message will be seen with the same disdain as failing to add a subject header. -- | Justin R. Miller / [EMAIL PROTECTED] / 0xC9C40C31 | Of all the things I've lost, I miss my pants the most. -- PGP signature
Bouncing messages from a specific email
Hi, Is there a way to have mutt automatically bounce a message from a specific email address. The only reference to bouncing email is 'bounce_delivered' and I don't think it's the option I'm looking for. Any suggestions are welcome? -- Gord Mc.Pherson| chmod a+x /bin/laden -- Found on Slashdot.com | GPG Key ID: 0xC6427B28 -- http://gmc.org/gpg.html | | Seti@Home Stats: 1424 WU's processed in 2.563 years. | System Uptime: 49 days 5 hours 45 minutes. PGP signature
Re: strange mail header (was Re: package or patch?)
El Thu, Sep 13, 2001 at 01:27:13AM +, Daniel Biddle va escriure: Your message said: In-Reply-To: [EMAIL PROTECTED]; de [EMAIL PROTECTED] sobre Sun, +Sep 09, % Y a les 06:48 +-0400~? ¡¢£ñ¥ª§¿ª«¬¡«»°±²µ¶·º»11¿ÄÅÆÇ+ÉÑÖÜßàáâäåæçèéêëìíîïñòóôö÷°ùúûü²ÿ Any idea how that happened? Not at all, however, this is what I can tell you: joan:/home/joan # printenv | grep ca_ES LC_ALL=ca_ES LANG=ca_ES LANGUAG=ca_ES joan:/home/joan # mutt -v Mutt 1.2.5i (2000-07-28) Copyright (C) 1996-2000 Michael R. Elkins and others. Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. Mutt is free software, and you are welcome to redistribute it under certain conditions; type `mutt -vv' for details. System: Linux 2.4.3 [using ncurses 5.2] Compile options: -DOMAIN -DEBUG -HOMESPOOL -USE_SETGID +USE_DOTLOCK +USE_FCNTL -USE_FLOCK -USE_IMAP -USE_GSS -USE_SSL +USE_POP +HAVE_REGCOMP -USE_GNU_REGEX +HAVE_COLOR +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS +ENABLE_NLS SENDMAIL=/usr/sbin/sendmail MAILPATH=/var/mail SHAREDIR=/usr/share SYSCONFDIR=/etc -ISPELL I replied with L, and [EMAIL PROTECTED] is sourced in .muttrc Hope it satisfies you curiosity... -- pica
Re: More on .signatures
Cliff -- ...and then Cliff Sarginson said... % On Fri, Sep 14, 2001 at 02:44:38PM -0400, David T-G wrote: % % ...and then Cliff Sarginson said... % ... % % % % This does not work, whatever order I put them in. % % It still sends the .signature.nl % % Various hooks are handled differently; send-hooks, IIRC, stop at the % first match. Are you sure you've tried % %default %duivel %nl % % in that order (sorry, but...)? Nothing else looks out of the ordinary... % % Yes they are in that order. % If I remove the normal Dutch signature, then my duivel signature is % used as expected. Hmmm... % Yup send hooks stop at the first match (I perused manual for any gotcha's) That's good to confirm. % So... ?? It's beyond me; perhaps someone else can step in. % Bug ? (I am a programmer, and I am the last to cry bug ! lol) *grin* % % -- % Regards % Cliff % :-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! PGP signature
Re: Bouncing messages from a specific email
Gord -- ...and then Gord Mc.Pherson said... % Hi, % %Is there a way to have mutt automatically bounce a message from a % specific email address. The only reference to bouncing email is % 'bounce_delivered' and I don't think it's the option I'm looking for. The only thing of which I can think for mutt would be a macro that searches for and tags messages matching that email address and then uses tag-bounce (;b) to send 'em on, but that's frought with holes in the event of no matching messages and ain't terribly convenient. I'd use procmail and feed the offending to sendmail, personally, perhaps even adding X-Resent-Automatically-By: headers of some sort. % %Any suggestions are welcome? HTH HAND % % -- % % Gord Mc.Pherson| chmod a+x /bin/laden -- Found on Slashdot.com %| GPG Key ID: 0xC6427B28 -- http://gmc.org/gpg.html %| %| Seti@Home Stats: 1424 WU's processed in 2.563 years. %| System Uptime: 49 days 5 hours 45 minutes. :-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! PGP signature
Re: More on .signatures
On Fri, Sep 14, 2001 at 09:25:18PM +0200, Cliff Sarginson wrote: Various hooks are handled differently; send-hooks, IIRC, stop at the first match. Are you sure you've tried default duivel nl in that order (sorry, but...)? Nothing else looks out of the ordinary... Yes they are in that order. If I remove the normal Dutch signature, then my duivel signature is used as expected. Yup send hooks stop at the first match (I perused manual for any gotcha's) So... ?? Bug ? (I am a programmer, and I am the last to cry bug ! lol) Been using Mutt for ages but never played around with hooks (except the basic fcc-save) before but recently started using send/folder hooks to set various stuff. I had some problems at first with order, hooks over- riding each other, etc. but finally got this configured and working. FWIW, I found this in the docs (and it seems to work this way for me) Usage: send-hook [!]pattern command This command can be used to execute arbitrary configuration commands based upon recipients of the message. pattern is a regular expression matching the desired address. command is executed when regexp matches recipients of the message. When multiple matches occur, commands are executed in the order they are specified in the muttrc. It doesn't appear they stop at the first match, I use this and it works for me: send-hook . 'my_hdr From: Michael Hall [EMAIL PROTECTED]' send-hook @.*some.domain 'my_hdr From: ...' send-hook @.*other.domain 'my_hdr From: ...' If it did stop at the first match it'd never get any farther than the first one which sets a default for all addresses. I don't know maybe I'm missing something but it works for me. -- Why look at the DOC's, nurses are better looking !! Mike Hall, Unix Admin - Rock Island Communications [EMAIL PROTECTED] System Admin - riverside.org[EMAIL PROTECTED]
shell escape (!) oddity
I press ! to execute a shell command, and if I press enter at the prompt instead of a command, it kicks me out of mutt without saving. If this is the desirable behavior, will someone explain why? -- Drew
Re: shell escape (!) oddity
On Fri, Sep 14, 2001 at 04:02:58PM -0500, Drew Raines wrote: I press ! to execute a shell command, and if I press enter at the prompt instead of a command, it kicks me out of mutt without saving. If this is the desirable behavior, will someone explain why? You don't get kicked out - mutt forks a new shell. Type 'exit' or ctrl-D to return to your previous mutt enjoyment. d. -- Drew
Re: shell escape (!) oddity
Drew Raines wrote: I press ! to execute a shell command, and if I press enter at the prompt instead of a command, it kicks me out of mutt without saving. Not really: Type exit and you get back to mutt. It's just a sub shell. If this is the desirable behavior, will someone explain why? Don't know... -volker -- http://die-Moells.de/ * http://Stama90.de/ * http://ScriptDale.de/ Don't go surfing in South Dakota for a while.
inline GnuPG signature
hi. i noticed that on going out my gpg signed emails are sent as another mime attachments which could be annoying to users who have gui mua's. how can i setup mutt so that gpg signs all appear together with the body of the message? thanks. -- In is out and out is in. But out is out and in is in. -- Pumbaa PGP signature
Re: shell escape (!) oddity
* Danny O'Brien [EMAIL PROTECTED]: You don't get kicked out - mutt forks a new shell. Type 'exit' or ctrl-D to return to your previous mutt enjoyment. Ah. That would explain why one day when I was confirming this behavior, there were many, many mutt processes running :) Thanks. -- Drew
Re: shell escape (!) oddity
On Fri, Sep 14, 2001 at 04:02:58PM -0500, Drew Raines wrote: I press ! to execute a shell command, and if I press enter at the prompt instead of a command, it kicks me out of mutt without saving. If this is the desirable behavior, will someone explain why? it doesn't actually kick you out of mutt... it just gives you a shell.. type exit, you'll find yourself back in good 'ol mutt :) -- Dan Boger [EMAIL PROTECTED] PGP signature
Re: shell escape (!) oddity
On Fri, Sep 14, 2001 at 04:02:58PM -0500, Drew Raines wrote: I press ! to execute a shell command, and if I press enter at the prompt instead of a command, it kicks me out of mutt without saving. If this is the desirable behavior, will someone explain why? It is the logical behaviour! -- Drew xi It has just started a shell for you.. Type exit and you will be back in mutt. -- Regards Cliff
Re: New mail 'N' flag not showing up
dont really like replying to my own posts, but just more info, in case someone cares. it looks like the problem is still there in 1.3.22i also, it looks like it works fine, until i quit mutt. if i quit mutt, and then come back, i dont get the 'new mail' indicator. this could, i suppose, be expected behavior ... denis * Denis Perelyubskiy [EMAIL PROTECTED] [09-Thu-01 21:24 -0700]: hello, i dont think i have any biff-like programs running. i have mutt 1.2.5i when i am in the folder view, i see 'N' message indicator, but it seems as if after a while those disappear. i am not sure if i can tie that to something i do does this problem ring a bell for anyone? is it something i am doing/not setting? thank you, denis -- // mailto: Denis Perelyubskiy [EMAIL PROTECTED] // icq : 12359698 // PGP : http://www.cs.ucla.edu/~denisp/files/pgp.asc denis -- // mailto: Denis Perelyubskiy [EMAIL PROTECTED] // icq : 12359698 // PGP : http://www.cs.ucla.edu/~denisp/files/pgp.asc
Re: Mutt and GnuPG
On Wed, Sep 12, 2001 at 12:33:51AM +0200, Björn Lindström wrote: I am using Mutt 1.3.20i and GnuPG 1.0.6. My problem is that when i view a message, like this; --- [-- PGP output follows (current time: Wed Sep 12 00:26:53 2001) --] gpg: encrypted with 1024-bit ELG-E key, ID 6CAD430E, created 2001-09-11 Björn Lindström [EMAIL PROTECTED] gpg: Signature made Wed Sep 12 00:26:40 2001 CEST using DSA key ID EF778F9A gpg: Good signature from Björn Lindström [EMAIL PROTECTED] [-- End of PGP output --] [-- The following data is PGP/MIME encrypted --] test [-- End of PGP/MIME encrypted data --] --- I still get an error message saying 'PGP signature could NOT be verified.' I use the settings in the file gpg.rc file that came with the Mutt Debian package. I guess this should be the interesting line: set pgp_verify_command=gpg --no-verbose --batch --output - --verify %s %f Any ideas? sounds like basig gpg key signing stuff... you have gotten the key from a key server, website, or email but have not told gpg that you want to sign it as being authentic. you would want to sign the key if you got it from a _TRUSTED_ source such as a cdrom or ssl website, OR if you confirmed they fingerprint of the key (say in person or over the phone) with the key's owner. to list keys: [donfede@ywing donfede]$ gpg --list-keys /home/donfede/.gnupg/pubring.gpg pub 1024D/DB42A60E 1999-09-23 Red Hat, Inc [EMAIL PROTECTED] sub 2048g/961630A2 1999-09-23 to identify a key, use the email address ([EMAIL PROTECTED]) or even better the hex unique key identifier (DB42A60E). once you have identified the key you can chekc its finger print with: [donfede@ywing donfede]$ gpg --fingerprint DB42A60E pub 1024D/DB42A60E 1999-09-23 Red Hat, Inc [EMAIL PROTECTED] Key fingerprint = CA20 8686 2BD6 9DFC 65F6 ECC4 2191 80CD DB42 A60E sub 2048g/961630A2 1999-09-23 once you trust the key you can sign it with, as you exchange your key with people, you will build a web of trust such that if your trusted friend has signed someone else's key then you can assume that it is good: gpg --sign-key DB42A60E if you sort of kind of trust the key, you can sign it such that it will not leave your keyring signed with: gpg --lsign-key DB42A60E good luck, donfede
Re: inline GnuPG signature
On Sat, Sep 15, 2001 at 05:24:51AM +0800, Rino Mardo wrote: hi. i noticed that on going out my gpg signed emails are sent as another mime attachments which could be annoying to users who have gui mua's. how can i setup mutt so that gpg signs all appear together with the body of the message? thanks. -- In is out and out is in. But out is out and in is in. -- Pumbaa hi Pumbaa, set pgp_create_traditional=yes from the man page: pgp_create_traditional Type: quadoption Default: no This option controls whether Mutt generates old- style PGP encrypted or signed messages under cer tain circumstances. Note that PGP/MIME will be used automatically for messages which have a character set different from us-ascii, or which consist of more than a single MIME part. Also note that using the old-style PGP message for mat is strongly deprecated. some other pgp questions, mutt (1.2.5i) does a wonderful job of automatically verifying MIME/pgp signed messages. However it does not automatically verify inline pgp messages, unless i pipe them to gpg --verify. is there a better way (i checked my docs but have not yet searched the list archives)? donfede
Re: inline GnuPG signature
On Fri, Sep 14, 2001 at 08:46:49PM -0400, Federico Grau wrote: some other pgp questions, mutt (1.2.5i) does a wonderful job of automatically verifying MIME/pgp signed messages. However it does not automatically verify inline pgp messages, unless i pipe them to gpg --verify. is there a better way (i checked my docs but have not yet searched the list archives)? If you use procmail, add this to the top of your procmailrc: ---BEGIN--- :0 * !^Content-Type: message/ * !^Content-Type: application/pgp { :0 fBw * ^-BEGIN PGP MESSAGE- * ^-END PGP MESSAGE- | formail -i Content-Type: application/pgp; format=text; x-action=encrypt :0 fBw * ^-BEGIN PGP SIGNED MESSAGE- * ^-BEGIN PGP SIGNATURE- * ^-END PGP SIGNATURE- | formail -i Content-Type: application/pgp; format=text; x-action=sign } ---END--- LateR! js. -- Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED] Personal Homepage http://jsmoriss.mvlan.net/ This is Linux Country. On a quiet night you can hear Windows NT reboot! please pgp encrypt all correspondence PGP signature
Re: New mail 'N' flag not showing up
On Fri, Sep 14, 2001 at 04:45:37PM -0700 or thereabouts, Denis Perelyubskiy wrote: dont really like replying to my own posts, but just more info, in case someone cares. it looks like the problem is still there in 1.3.22i also, it looks like it works fine, until i quit mutt. if i quit mutt, and then come back, i dont get the 'new mail' indicator. this could, i suppose, be expected behavior ... have you checked the set mark_old in your ~/.muttrc ? i have 1.3.22i and don't experience the problem you're having. -- In is out and out is in. But out is out and in is in. -- Pumbaa PGP signature
Re: inline GnuPG signature
On Fri, Sep 14, 2001 at 08:46:49PM -0400 or thereabouts, Federico Grau wrote: hi Pumbaa, set pgp_create_traditional=yes from the man page: pgp_create_traditional Type: quadoption Default: no This option controls whether Mutt generates old- style PGP encrypted or signed messages under cer? tain circumstances. Note that PGP/MIME will be used automatically for messages which have a character set different from us-ascii, or which consist of more than a single MIME part. Also note that using the old-style PGP message for? mat is strongly deprecated. some other pgp questions, mutt (1.2.5i) does a wonderful job of automatically verifying MIME/pgp signed messages. However it does not automatically verify inline pgp messages, unless i pipe them to gpg --verify. is there a better way (i checked my docs but have not yet searched the list archives)? hehe. if it's strongly deprecated i'd rather stay with what the default settings of mutt. -- In is out and out is in. But out is out and in is in. -- Pumbaa PGP signature
Re: New mail 'N' flag not showing up
* Rino Mardo [EMAIL PROTECTED] [09-Fri-01 19:56 -0700]: On Fri, Sep 14, 2001 at 04:45:37PM -0700 or thereabouts, Denis Perelyubskiy wrote: [ ..snip.. ] have you checked the set mark_old in your ~/.muttrc ? i have 1.3.22i and don't experience the problem you're having. yeah, i have the following line in my file: unset mark_old further, i think it said in teh docs that it does not matter for 'mbox' mailboxes do you also use 'mbox', or mh/maildir stuff? thanks, denis -- // mailto: Denis Perelyubskiy [EMAIL PROTECTED] // icq : 12359698 // PGP : http://www.cs.ucla.edu/~denisp/files/pgp.asc
Re: inline GnuPG signature
On Sat, Sep 15, 2001 at 10:20:30AM +0800, Rino Mardo wrote: On Fri, Sep 14, 2001 at 08:46:49PM -0400 or thereabouts, Federico Grau wrote: hi Pumbaa, set pgp_create_traditional=yes from the man page: pgp_create_traditional Type: quadoption Default: no This option controls whether Mutt generates old- style PGP encrypted or signed messages under cer? tain circumstances. Note that PGP/MIME will be used automatically for messages which have a character set different from us-ascii, or which consist of more than a single MIME part. Also note that using the old-style PGP message for? mat is strongly deprecated. some other pgp questions, mutt (1.2.5i) does a wonderful job of automatically verifying MIME/pgp signed messages. However it does not automatically verify inline pgp messages, unless i pipe them to gpg --verify. is there a better way (i checked my docs but have not yet searched the list archives)? hehe. if it's strongly deprecated i'd rather stay with what the default settings of mutt. yeah, unfortunately the mountains of ms outlook lemmings at my job bitch about MIMI/PGP because they have to double click on the email to read it... so I am leaning towards using the option myself, or I believe there is is a way to configure mutt to only use this option for X users (I have yet to dig through the archives). donfede