Re: Organization revisited...
With set query_command=lbdbq %s# calling lbdbq macro alias Q !lbdbq .lbdb query How do you use your Q macro? I tried !lbdb . from the alias menu and couldn't figure out what to do with the result, short of copying and pasting a line. It would seem more useful to do an address query directly instead of going to the alias menu first. Er... Well... Now that you say this... I don't know! In fact I just pasted one setup I made long ago, but now can't remember what its rationale was. Indeed, it does not seem really useful. Ok, removed! in your muttrc and the following recipe on top of your procmailrc, :0hc | lbdb-fetchaddr Very convenient when you don't recall the exact name. I don't really want _everyone's_ address, so instead of a procmail recipe I've been using the following macros: macro index A :unset wait_key\n|lbdb-fetchaddr\n:set wait_key\n add address to lbdb database macro pager A :unset wait_key\n|lbdb-fetchaddr\n:set wait_key\n add address to lbdb database Now, _that_'s an interesting one. But in fact, even with thousands of addresses filled by the procmail recipe, I still find the use of lbdb convenient: there's not that many people sharing the same name, and I don't bother if there's a little more than the people I was searching for in the results. The problem with adding only one person at a time (like with the aliases), is that when making a query I often find that... well, I forgot to add this folk. Eventually, to remediate this, you find yourself hitting 'A' a lot more than needed because you're not sure if this person is in the db. Thus, just in case... I think, I'll keep my good old procmail recipe. :) -- Cedric
Re: folders ?
Prahlad Vaidyanathan on 31/01/2002 at 04:08 opined thusly: Hmm .. I thought fetchmail injected things into your MTA. So, it should have the same route as if you called it from the command-line. ie : fetchmail - MTA - procmail - folder(s) You are correct. That is the default behavior of fetchmail but fetchmail can be configured to bypass the MTA and deliver straight to your MDA, procmail for most of us. From the fetchmail man page: -m command, --mda command (Keyword: mda) You can force mail to be passed to an MDA directly (rather than forwarded to port 25) with the --mda or -m option. To avoid losing mail, use this option only with MDAs like procmail or sendmail that return a nonzero status on disk-full and other resource exhaustion errors; the nonzero status tells fetchmail that delivery failed and prevents the message from being deleted off the server. If fetchmail is running as root, it sets its userid to that of the target user while delivering through an MDA. Some possible MDAs are sendmail -oem -f %F %T, /usr/bin/deliver and /usr/bin/procmail -d %T (but the latter is usually redundant as it's what SMTP listeners usually forward to). Local delivery addresses will be inserted into the MDA command where you place an %F. Do not use an MDA invocation like sendmail -oem -t that dispatches on the contents of To/Cc/Bcc, it will create mail loops and bring the just wrath of many postmasters down upon your head. -- Ken Wahl [EMAIL PROTECTED] http://www.kenwahl.org/mutt/ PGP/GPG Key C225AA5A: http://www.kenwahl.org/pubkey.gpg Mutt: All mail clients suck, this one just sucks less.. Weaponized Linux Kernel 2.4.9-12 Uptime: 1 day, 22:52 msg24015/pgp0.pgp Description: PGP signature
Why is this an attachment?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Can anyone tell me why this was received as an attachment? **Headers** - From [EMAIL PROTECTED] Thu Jan 31 14:54:42 2002 Date: Thu, 31 Jan 2002 14:54:42 +0100 From: 'Nick Wilson' [EMAIL PROTECTED] To: Studenterne [EMAIL PROTECTED] Subject: Re: Ossetelse Message-ID: [EMAIL PROTECTED] Reply-To: Nick Wilson [EMAIL PROTECTED] References: 61DDCC7522E4D411915600A0C99E9CE6230239@localhost Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 61DDCC7522E4D411915600A0C99E9CE6230239@localhost User-Agent: Mutt/1.3.27i X-PGP-Key: http://www.explodingnet.com/pgp/key.txt Much thanks - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8WVBFHpvrrTa6L5oRAiRXAKCghUOcGWj7k5/X2tuiyCtQtiF0RwCdGNjt KI/3d0ZGa0CXsf+O8qrusYE= =1STa -END PGP SIGNATURE-
Re: is it possible to have color reversed indicator?
On Jan 31, parv [[EMAIL PROTECTED]] wrote: i am using mutt 1.3.27i, and i tried... color indicator reverse ...which, of course, doesn't work as desired. what i want/wish is to have indicator in reverse colors in the index. mono reverse is, well, not colored. possible? Not currently. You can only use color commands with colors, and mono commands with other attributes. msg24017/pgp0.pgp Description: PGP signature
Re: is it possible to have color reversed indicator?
...which, of course, doesn't work as desired. what i want/wish is to have indicator in reverse colors in the index. mono reverse is, well, not colored. I'm not 100% sure what you want, but if it's the following, try the latest mutt out of CVS. If the indicator bar is defined as mono indicator reverse (the default), this is now treated as a special case. Mutt looks up what colors the message would be drawn in if it were -not- the currently selected message, and it reverses those. So if a message is drawn in the index as red on green when it is not selected, it will be green on red when it is selected. Or were you looking for some other kind of behavior? -- Mike Schiraldi VeriSign Applied Research smime.p7s Description: application/pkcs7-signature
Pity that mutt doesn't read news - what's the best match?
I have been a netscape user. Now I'm satisfied with mutt and will not go back to netscape except one thing - reading news groups. Could any Mutter suggest a good news reader of mutt style? (Highly customizable) thanks, charlie
Re: Pity that mutt doesn't read news - what's the best match?
On Fri, Feb 01, 2002 at 01:30:33AM +0800, Charles Jie wrote: I have been a netscape user. Now I'm satisfied with mutt and will not go back to netscape except one thing - reading news groups. Could any Mutter suggest a good news reader of mutt style? (Highly customizable) slrn -- 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 Why you can't find your system administrator: Busy sitting in the middle of a pentagram with black candles putting a curse on the air-head executive that started circulating the warnings about the e-mail virus.
Re: Pity that mutt doesn't read news - what's the best match?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Charles Jie blurted I have been a netscape user. Now I'm satisfied with mutt and will not go back to netscape except one thing - reading news groups. Apparently it does. I believe their is a patch for it, probably on the links section of mutt.org I'm sure someone else will provide more details. - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8WYFhHpvrrTa6L5oRAhZUAJ4xUwVDP6KnytJtJYgpWmB4s2/qLgCfXCli xiFkY1yE++QF+IHtvD53Yu0= =uGiO -END PGP SIGNATURE-
Re: Pity that mutt doesn't read news - what's the best match?
On Feb 01, Charles Jie [[EMAIL PROTECTED]] wrote: I have been a netscape user. Now I'm satisfied with mutt and will not go back to netscape except one thing - reading news groups. Could any Mutter suggest a good news reader of mutt style? (Highly customizable) SLRN. Much of Mutt's user interface was based on SLRN originally. http://slrn.sourceforge.net/ Also, there are various patches to make Mutt do NNTP, if that's your thing. See http://www.mutt.org/links.html#patch. Most people seem to use Vsevolod Volkov's. msg24022/pgp0.pgp Description: PGP signature
Remove lbdb entries
I just started using lbdb and it is cool the way it collects addresses from everyone sending me mail. But I'd like a way to prune the list cause I am a member of several mailing lists and I don't think that all those addresses need to be in my database. I can't seem to delete an entry tho. How would one do that? -- Michael Montagne [EMAIL PROTECTED] http://www.boora.com
Re: Pity that mutt doesn't read news - what's the best match?
Jeremy Blosser wrote: SLRN. Much of Mutt's user interface was based on SLRN originally. http://slrn.sourceforge.net/ This is not exactly true. The interface for Mutt was most influenced by MUSH (Mail User's SHell) and ELM. I didn't start using SLRN until quite some time after I started Mutt (was using trn at the time). The note on the web page says that at present it most closely resembles slrn. That's why it's not a surprise that lots of Mutt users use SLRN to read news.
Moving (not saving) a message to another folder
I think that it would be nice to have the ability to move (not [S]ave) a message to another folder in a single atomic operation, without having to [$]Synchronize. (Assuming that the current folder is a Maildir, where moving a message is just moving a file.) In my conceptual model of e-mail, I view each message as a task to be done (e.g. I have to reply to the mail, or the mail is telling me to do something, etc.). So, it makes sense for me to keep my inbox clean so that it only contains messages that I still have to do something about. Any messages that I have finished, I move them into my done folder. It would be convenient to be able to use a Move command in mutt that immediately moves the message into the done folder (on the filesystem level, it's just an mv from one Maildir to another) and immediately makes it disappear from the message list of the current folder. Right now, I have to [S]ave then [$]Synchronize, which takes longer. Thoughts?
Iconv question
I just built and installed Mutt 1.3.27i. I have iconv in my C library with all MIME character set names supported. I'm running mutt in a UTF-8 xterm with my LC_* variables all set to en_US.utf8. Given this setup and the new iconv support, my expectation was that when I displayed a Latin-1 message (marked as such in the Content-Type: header via charset=ISO-8859-1) mutt would convert it from Latin-1 to UTF-8 so it would display properly in my terminal window. But it's not doing so - it's just outputting the bytes from the message with no conversion. Could anyone tell me what I'm missing? Thanks! -- Mark REED| CNN Internet Technology 1 CNN Center Rm SW1032C | [EMAIL PROTECTED] Atlanta, GA 30348 USA | +1 404 827 4754 -- Every path has its puddle.
Re: Moving (not saving) a message to another folder
On Thu, Jan 31, 2002 at 01:03:32PM -0500, Philip Mak wrote: So, it makes sense for me to keep my inbox clean so that it only contains messages that I still have to do something about. Any messages that I have finished, I move them into my done folder. I also deal with my mail this way - that's why I've such hook in muttrc: folder-hook . bind index d delete-message folder-hook . bind pager d delete-message folder-hook mbox macro index d 'save-message=archive\n' 'archive message' folder-hook mbox macro pager d 'save-message=archive\n' 'archive message' But I'm not sure is this what are you looking for. If you want to, you could add 'synchronize' at the end of this macro, but I prefer not to - I tend to delete sometimes some mail by mistake. HTH -- _.|._ |_ _. | Adam Byrtek, [EMAIL PROTECTED] (_|||_)| |(_| | gg 1802819 |
Re: Pity that mutt doesn't read news - what's the best match?
Great! Thank you all. And I need some further suggestions: * Which is better for me to start? Using slrn or using the patch for mutt? * After a long time, which would be more probable for my working mode? mutt + slrn, or mutt + patches? (ie ultimate mode of using mail/news) best regards, charlie On Thu, Jan 31, 2002 at 11:44:24AM -0600, Jeremy Blosser wrote: On Feb 01, Charles Jie [[EMAIL PROTECTED]] wrote: I have been a netscape user. Now I'm satisfied with mutt and will not go back to netscape except one thing - reading news groups. Could any Mutter suggest a good news reader of mutt style? (Highly customizable) SLRN. Much of Mutt's user interface was based on SLRN originally. http://slrn.sourceforge.net/ Also, there are various patches to make Mutt do NNTP, if that's your thing. See http://www.mutt.org/links.html#patch. Most people seem to use Vsevolod Volkov's.
Re: Moving (not saving) a message to another folder
On Thu, Jan 31, 2002 at 07:25:41PM +0100, Adam Byrtek wrote: On Thu, Jan 31, 2002 at 01:03:32PM -0500, Philip Mak wrote: So, it makes sense for me to keep my inbox clean so that it only contains messages that I still have to do something about. Any messages that I have finished, I move them into my done folder. folder-hook mbox macro index d 'save-message=archive\n' 'archive message' folder-hook mbox macro pager d 'save-message=archive\n' 'archive message' But I'm not sure is this what are you looking for. If you want to, you could add 'synchronize' at the end of this macro, but I prefer not to - I tend to delete sometimes some mail by mistake. That's not quite what I wanted to do. I wouldn't want to save *every* message to the archive (some messages are not useful to keep around, e.g. spam etc.). Making a hook macro to save the message to the archive mailbox would make it slightly faster, but the synchronize part is also a problem. Right now, in order to make the moved message disappear immediately from the message listing, I would have to synchronize, which would also delete any messages (and also takes a second or two; synchronize is not instantaneous). I suspect what I'm talking about would not be possible without hacking the mutt source code. Anyone have ideas on how to do this (and how many other people are interested in having such a feature? :).
Re: Remove lbdb entries
On Thu, Jan 31, 2002 at 09:50:16AM -0800, Michael Montagne wrote: I just started using lbdb and it is cool the way it collects addresses from everyone sending me mail. But I'd like a way to prune the list cause I am a member of several mailing lists and I don't think that all those addresses need to be in my database. I can't seem to delete an entry tho. How would one do that? You should be able to simply edit m_inmail.list in ~/.lbdb/ or wherever you decided to put it, using your favorite editor. Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Spokane, Washington, USA http://www.spocom.com/users/gjohnson/mutt/ |
Re: Moving (not saving) a message to another folder
On Thu, Jan 31, 2002 at 12:46:03PM -0600, Knute wrote: Right now, in order to make the moved message disappear immediately from the message listing, I would have to synchronize, which would also delete any messages (and also takes a second or two; synchronize is not instantaneous). Have you tried to simply set the color for deleted messages to black on black (or whatever bg color you are using)? Here's what I have in mine: color index black black ~D # Deleted It's quick, easy to set up, and removes it from sight. Then once you are done, you can synchronise your box, and get rid of them. Interesting. That almost does exactly what I wanted, except that it leaves a hole on the screen. I guess I'll use that if I can't come up with anything better. Thanks.
Re: is it possible to have color reversed indicator?
in message [EMAIL PROTECTED], wrote Mike Schiraldi thusly... ...which, of course, doesn't work as desired. what i want/wish is to have indicator in reverse colors in the index. mono reverse is, well, not colored. I'm not 100% sure what you want, but if it's the following, try the latest mutt out of CVS. If the indicator bar is defined as mono indicator reverse (the default), this is now treated as a special case. Mutt looks up what colors the message would be drawn in if it were -not- the currently selected message, and it reverses those. So if a message is drawn in the index as red on green when it is not selected, it will be green on red when it is selected. yes, exactly that mike. and that was also exactly the how i imagined/hoped mono indicator reverse to work when i tried. as far as building from cvs goes, i will wait until that version is released to the masses. it's a gushy gooey feeling that above behaviour will be available from the mutt itself. did i thank the developers of mutt yet? well, thank you developers maintainers of the mailer that sucks the least. - parv --
Re: Pity that mutt doesn't read news - what's the best match?
On Fri, Feb 01, 2002 at 02:34:38AM +0800, Charles Jie wrote: * Which is better for me to start? Using slrn or using the patch for mutt? * After a long time, which would be more probable for my working mode? mutt + slrn, or mutt + patches? (ie ultimate mode of using mail/news) To both of these questions, my answer would be Mutt+SLRN. I prefer using separate clients for email and newsgroups. Mutt is very powerful and flexible for email, while SLRN is very powerful and flexible for newsgroups. But what's best for you is strictly up to you. -- Lorin Winchester [EMAIL PROTECTED] msg24035/pgp0.pgp Description: PGP signature
Re: is it possible to have color reversed indicator?
as far as building from cvs goes, i will wait until that version is released to the masses. it's a gushy gooey feeling that above behaviour will be available from the mutt itself. Well, you can always apply the attached patch to any recent version of mutt. I'd post a URL, but it'd probably be bigger than the patch itself. :) Open source: Implementing the features you want before you even want them. -- Mike Schiraldi VeriSign Applied Research indicator.patch.gz Description: application/gunzip smime.p7s Description: application/pkcs7-signature
Re: Moving (not saving) a message to another folder
On Thu, Jan 31, 2002 at 01:38:53PM -0500, Philip Mak wrote: Making a hook macro to save the message to the archive mailbox would make it slightly faster, but the synchronize part is also a problem. Right now, in order to make the moved message disappear immediately from the message listing, I would have to synchronize, which would also delete any messages (and also takes a second or two; synchronize is not instantaneous). If all you really care about is not seeing the deleted messages, how about limiting your view to only non-deleted messages, e.g., macro index d delete-messagelimit!~D^M Of course that limits your use of the limit function for other things, but it's an option. HTH, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Spokane, Washington, USA http://www.spocom.com/users/gjohnson/mutt/ |
Character display problems
Hi! I have the following problem: I have my locale settings set to the standard LANG=C and LC_ALL=C as on the computer I ususally prefer to have everything in English. Sometimes I receive mail from friends and family from Hungary, with the character set of iso-8859-2. Now int the index display ? marks appear for certain special character, whereas in the body there are tons of quotes characters like \364 etc. If I set my locale to Hungarian (hu_HU) then everything works beautifully. But _everything_ including the menues are now in Hungarian. Which is kinda nice, but as I said I'd prefer to keep them in English. Is there a way to somehow keep the locales to the standard English but nevertheless display the messages correctly? Many thanks for yout help in advance! best regards, Balazs
how best to forward attachments
Generally, I want to forward all attachments along with any message I am forwarding. What's the best way to configure mutt to achieve this? -- Mark Johnson [EMAIL PROTECTED]
Re: Remove lbdb entries
On Thu, Jan 31, 2002 at 09:50:16AM -0800, Michael Montagne wrote: I just started using lbdb and it is cool the way it collects addresses from everyone sending me mail. But I'd like a way to prune the list cause I am a member of several mailing lists and I don't think that all those addresses need to be in my database. I can't seem to delete an entry tho. How would one do that? How did you attempt to delete an entry? I think you'll find that you can simply edit ~/.lbdb/m_inmail.list and remove the entries you don't want. -- Dave Pearson: | lbdb.el - LBDB interface. http://www.davep.org/ | sawfish.el - Sawfish mode. Emacs: | uptimes.el - Record emacs uptimes. http://www.davep.org/emacs/ | quickurl.el - Recall lists of URLs.
Re: Remove lbdb entries
On 31/01/02, from the brain of Dave Pearson tumbled: On Thu, Jan 31, 2002 at 09:50:16AM -0800, Michael Montagne wrote: I just started using lbdb and it is cool the way it collects addresses from everyone sending me mail. But I'd like a way to prune the list cause I am a member of several mailing lists and I don't think that all those addresses need to be in my database. I can't seem to delete an entry tho. How would one do that? How did you attempt to delete an entry? I think you'll find that you can simply edit ~/.lbdb/m_inmail.list and remove the entries you don't want. Yep, that'll woik. I thought there might be a keystroke as your browsing matches in mutt. Thanks both. -- Michael Montagne [EMAIL PROTECTED] http://www.boora.com
Re: how best to forward attachments
On Jan 31, Mark Johnson [[EMAIL PROTECTED]] wrote: Generally, I want to forward all attachments along with any message I am forwarding. What's the best way to configure mutt to achieve this? see the manual entry for mime_forward. msg24044/pgp0.pgp Description: PGP signature
Re: Move deleted messages to trash
* Rob 'Feztaa' Park [EMAIL PROTECTED] [2002-10-01 20:15 -0700]: Alas! Andreas Reinhold spake thus: On Thu, Jan 10, 2002 at 07:59:59PM -0500, Justin R. Miller wrote: macro pager d save-message=trashenter move message to trash folder Thanks, this really works fine! Unless you happen to try to delete a message in the trash folder, then things get really goofy :) I haven't tested it with these macros, but when I save a message to the same folder it's in, it deletes the original message and appends the message to the mailbox (so it immediately appears in the index). Nothing goofy about it. -- [EMAIL PROTECTED] / DNRC / UMBC-LUG: http://linux.umbc.edu PGP: ID: D8C75CF5 print: 0A7D B3AD 2D10 1099 7649 AB64 04C2 05A6 --- -- Any system of 'justice' in which ignorance of the law is no exception, but in which there are too many laws for any one person to know and remember, _is by definition unjust_. -- McCandlish's Law of Unjust Bureaucracy, Stanton McCandlish, EFF online activist; 1993. --- --
Re: how best to forward attachments
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thus spake Jeremy Blosser ([EMAIL PROTECTED]): Generally, I want to forward all attachments along with any message I am forwarding. What's the best way to configure mutt to achieve this? see the manual entry for mime_forward. Also, I have this setting for messages without attachments: message-hook . set mime_forward=no message-hook ~h multipart set mime_forward=ask-yes Then normal messages are forwarded inline. - -- [!] Justin R. Miller [EMAIL PROTECTED] PGP 0xC9C40C31 -=- http://codesorcery.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8WcCh94d6K8nEDDERAjwGAJ4+DF4H2EPdhL6h41eNE1/GN1yA8QCglPVM H5OXAQ1hlRT/ACV9LzUwzyA= =u+d/ -END PGP SIGNATURE-
imap folders not listing
When I hit the 'c' key from the index and then 'Shift-?' I see 1 INBOX. 2 INBOX. I also have a set of folders called LISTSERV. How can I also have this appear so that when I click on it I see a list of my listservs as well? 1 INBOX 2 LISTSERV Lance -- Lance Hoffmeyer [EMAIL PROTECTED] --- It gives me great pleasure indeed to see the stubbornness of an incorrigible nonconformist warmly acclaimed. - Albert Einstein
Re: Moving (not saving) a message to another folder
Hi Philip, Philip Mak wrote: Have you tried to simply set the color for deleted messages to black on black (or whatever bg color you are using)? Here's what I have in mine: color index black black ~D # Deleted It's quick, easy to set up, and removes it from sight. Then once you are done, you can synchronise your box, and get rid of them. Interesting. That almost does exactly what I wanted, except that it leaves a hole on the screen. I guess I'll use that if I can't come up with anything better. Thanks. I use dark grey on black which, although the message is still visible, clearly indicates that it's deleted. Works pretty well for me. color index black lightblack default ~D HTH, Viktor -- Viktor Rosenfeld WWW: http://www.informatik.hu-berlin.de/~rosenfel/ msg24048/pgp0.pgp Description: PGP signature
Re: Remove lbdb entries
On Thu, Jan 31, 2002 at 10:40:06AM -0800, Gary Johnson wrote: On Thu, Jan 31, 2002 at 09:50:16AM -0800, Michael Montagne wrote: I just started using lbdb and it is cool the way it collects addresses from everyone sending me mail. But I'd like a way to prune the list cause I am a member of several mailing lists and I don't think that all those addresses need to be in my database. I can't seem to delete an entry tho. How would one do that? You should be able to simply edit m_inmail.list in ~/.lbdb/ or wherever you decided to put it, using your favorite editor. The way I keep email addresses from mailing lists not showing up in the lbdb list is to place the entry for it in my .procmailrc file after I have sorted out the various mailing lists that I have subscribed to. -- Frank Hahn The trouble with a kitten is that When it grows up, it's always a cat -- Ogden Nash.
Re: Pity that mutt doesn't read news - what's the best match?
On 02/01/02, 01:30:33AM +0800, Charles Jie wrote: I have been a netscape user. Now I'm satisfied with mutt and will not go back to netscape except one thing - reading news groups. Could any Mutter suggest a good news reader of mutt style? (Highly customizable) Slrn, as others have said. My model is Mutt/Slrn/Vim. Fabulous all around. The threading can not be beat, IMHO :) -- John P. Verel Living Proof That Low Tech Beats High Tech!
#/messages in imap folder
Is there a way to set folder format so I can count the number of old or new+old messages in an imap folder? right now I have: set folder_format=%4C %4N %8s %d %f but this does not display the total number of messages in a folder. -- Lance Hoffmeyer [EMAIL PROTECTED] --- The propagandist's purpose is to make one set of people forget that certain other sets of psople are human - Aldous Huxley
Re: Move deleted messages to trash
Phil -- ...and then Phil Gregory said... % % * Rob 'Feztaa' Park [EMAIL PROTECTED] [2002-10-01 20:15 -0700]: % Alas! Andreas Reinhold spake thus: % On Thu, Jan 10, 2002 at 07:59:59PM -0500, Justin R. Miller wrote: %macro pager d save-message=trashenter move message to trash folder ... % Unless you happen to try to delete a message in the trash folder, then % things get really goofy :) % % I haven't tested it with these macros, but when I save a message to the % same folder it's in, it deletes the original message and appends the % message to the mailbox (so it immediately appears in the index). Nothing % goofy about it. How do you delete a message from the trash folder if you have those macros bound without resorting to something wonky like saving to /dev/null? % % -- % [EMAIL PROTECTED] / DNRC / UMBC-LUG: http://linux.umbc.edu :-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! msg24052/pgp0.pgp Description: PGP signature
Re: #/messages in imap folder
Lance -- ...and then Lance Hoffmeyer said... % % Is there a way to set folder format so I can count the number of old or new+old messages in an imap folder? Nope. % % right now I have: % % set folder_format=%4C %4N %8s %d %f % % but this does not display the total number of messages in a folder. See section 6.3.49 and note the conspicuous absence of any expandos relating to the actual contents of the folders. mutt does not peek in when generating the list. Imagine how long it could take :-) % % % -- % % Lance Hoffmeyer % [EMAIL PROTECTED] :-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! msg24053/pgp0.pgp Description: PGP signature
fetchmail to MTA to procmail (WAS Re: folders ?)
Hi, On Wed, 30 Jan 2002 Knute spewed into the ether: [-- snip --] fetchmail - MTA - procmail - folder(s) or am I missing something ? What I meant was that when you hit G for the default getmail function that mutt has, it doesn't run it thru procmail, it just gets it. And my question is, Why does it *not* run it through procmail ? Does this mean that fetchmail is writing to the spool folder ? AFAIK, fetchmail does not do that. Hence, I am guessing, fetchmail hands the mail over to your MTA, and your MTA doesn't pass the mail on to procmail. Could you check the mail headers and see whether fetchmail is handing over mail to the MTA or not. I wish I could check this functionality myself, but I don't have fetchmail installed right now, and am feeling too lazy to install it ;-) pv. -- Prahlad Vaidyanathan [EMAIL PROTECTED] Remember Darwin; building a better mousetrap merely results in smarter mice. msg24054/pgp0.pgp Description: PGP signature
Re: Moving (not saving) a message to another folder
Hi, On Thu, 31 Jan 2002 Philip Mak spewed into the ether: On Thu, Jan 31, 2002 at 07:25:41PM +0100, Adam Byrtek wrote: On Thu, Jan 31, 2002 at 01:03:32PM -0500, Philip Mak wrote: So, it makes sense for me to keep my inbox clean so that it only contains messages that I still have to do something about. Any messages that I have finished, I move them into my done folder. folder-hook mbox macro index d 'save-message=archive\n' 'archive message' folder-hook mbox macro pager d 'save-message=archive\n' 'archive message' But I'm not sure is this what are you looking for. If you want to, you could add 'synchronize' at the end of this macro, but I prefer not to - I tend to delete sometimes some mail by mistake. That's not quite what I wanted to do. I wouldn't want to save *every* message to the archive (some messages are not useful to keep around, e.g. spam etc.). Well, you could use the same idea, but just map it to a different key, then. ie. macro index some-unbound-key 'save-message=archive\nsync-mailbox' Alternatively, you could map some commonly used key (like space or 'r'eply), to sync the mailbox, before performing their default operation. ie : macro index space 'sync-mailboxdisplay-message' Both these are untested, but this problem seems like something that can be achieved using the already existing macros/hooks available in mutt. IMHO, you don't need to implement a patch. pv. -- Prahlad Vaidyanathan [EMAIL PROTECTED] One way to stop a runaway horse is to bet on him.
Re: coloring ~N by way of external file query?
On 23:54 31 Jan 2002, Brian Clark [EMAIL PROTECTED] wrote: | What I'm asking is, is there a way to query an external file full of | addresses in order to determine if the message should be a certain color | in the index? | | IOW, I'm trying to replace these (a lot more than 3): | | color index yellow default ~f feefee ~N | color index yellow default ~f geegee ~N | color index yellow default ~f heehee ~N | | With one line that gets the list from a file (via grep?). A wrapper for mutt? Which generates a line like this: color index yellow default ~f (feefee|geegee|heehee) ~N Again we fall into the things too rich for mutt category. Idea: how about: an eval which ran a mutt string, eg: eval `cmd-to-make-the-above-color-command` BTW, to make an OR like the above one of my shell scripts goes: ptn=`echo $* | tr ' ' '|'` egrep ($ptn) ... i.e. echo the words, turn space into '|', put in () and use. -- Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/ My housemates have a Dumbfucks Killed by Avalanche thermometer next to the television. They're hoping for 30 this winter, and nothing seems to get them a-smilin' more than watching the 10:00 news and grabbing that red magic marker. - Dan Hillman
Re: coloring ~N by way of external file query?
* Cameron Simpson ([EMAIL PROTECTED]) [Feb 01. 2002 00:04]: On 23:54 31 Jan 2002, Brian Clark [EMAIL PROTECTED] wrote: | IOW, I'm trying to replace these (a lot more than 3): | | color index yellow default ~f feefee ~N | color index yellow default ~f geegee ~N | color index yellow default ~f heehee ~N | | With one line that gets the list from a file (via grep?). A wrapper for mutt? Which generates a line like this: color index yellow default ~f (feefee|geegee|heehee) ~N Again we fall into the things too rich for mutt category. Ack, yes, I do believe that would be going to far to keep me lazy. g I guess I was just trying to save myself from having to add a few lines each time I need to color that family. Plus, the .muttrc isn't as fit as he used to be. I figured it was worth a shot. Thanks for lending a hand. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 I intend to live forever - so far, so good.
Re: fetchmail to MTA to procmail (WAS Re: folders ?)
On Feb 01, Prahlad Vaidyanathan [[EMAIL PROTECTED]] wrote: On Wed, 30 Jan 2002 Knute spewed into the ether: [-- snip --] fetchmail - MTA - procmail - folder(s) or am I missing something ? What I meant was that when you hit G for the default getmail function that mutt has, it doesn't run it thru procmail, it just gets it. And my question is, Why does it *not* run it through procmail ? Does this mean that fetchmail is writing to the spool folder ? AFAIK, You're missing the point. fetchmail is not involved when you use Mutt's built in POP fetch-mail function, even though the names are similar. That function just brings the mail directly into the folders, it bypasses the system's normal MTA/MDA system entirely. This is, of course, one of the main reasons to not use Mutt's limited POP support, and to use an external program such as fetchmail instead. fetchmail does not do that. Hence, I am guessing, fetchmail hands the mail over to your MTA, and your MTA doesn't pass the mail on to procmail. msg24060/pgp0.pgp Description: PGP signature
Re: coloring ~N by way of external file query?
On 2002.01.31, in 20020201045411.GB18136@ganymede, Brian Clark [EMAIL PROTECTED] wrote: IOW, I'm trying to replace these (a lot more than 3): color index yellow default ~f feefee ~N color index yellow default ~f geegee ~N color index yellow default ~f heehee ~N With one line that gets the list from a file (via grep?). How about: $ cat addrs.txt feefee geegee heehee $ cat dynacolor.sh #!/bin/sh awk '{printf(color index yellow default \~f %s ~N\\n, $1);}' addrs.txt $ tail -1 .muttrc source dynacolor.sh| -- -D.[EMAIL PROTECTED]NSITUniversity of Chicago
Re: coloring ~N by way of external file query?
* David Champion ([EMAIL PROTECTED]) [Feb 01. 2002 00:20]: [...] With one line that gets the list from a file (via grep?). How about: $ cat addrs.txt feefee geegee heehee $ cat dynacolor.sh #!/bin/sh awk '{printf(color index yellow default \~f %s ~N\\n, $1);}' addrs.txt $ tail -1 .muttrc source dynacolor.sh| El neato. That's super! I had to wrap %s in escaped double quotes, but exactly what I'm looking for. And I guess I've learned about `source' now. *Sigh* (the sig fits!) -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 I have learned to use the word 'impossible' with the greatest caution.
Re: coloring ~N by way of external file query?
* Brian Clark ([EMAIL PROTECTED]) [Feb 01. 2002 00:33]: $ cat dynacolor.sh #!/bin/sh awk '{printf(color index yellow default \~f %s ~N\\n, $1);}' addrs.txt By the way, if anyone else wants to do this and the lines in addrs.txt have spaces, use $0 rather than $1. awk '{printf(color index yellow default \~f \\\%s\\\ ~N\\n, $0);}' addrs.txt Thank, David. Neat trick. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 It's never too late to panic.
s/mime questions
so i am trying to learn a bit about s/mime and i've been playing around with s/mime support in 1.5.0. i used the smime_keys.pl script to import my keys. should this file be setting the default permissions on my private key thus? zugzug% ls -al d4cbff8d.0 -rw-r--r--1 william william 1920 Jan 31 21:47 d4cbff8d.0 zugzug% pwd /home/william/.smime/keys presumably the private key should be 0600, and maybe the directory 0700? w
Exporting a message?
How do I save a message to a file (like the [E]xport command in pine) such that all text attachments are included, as well as the headers of the message? The best way I've found is to press [e]dit, then use the :w command in vi to write it out to a file. That takes a few more keystrokes than it should though, and also includes all the headers of the message (instead of just the my_hdr ones).
Re: Exporting a message?
Philip Mak wrote: How do I save a message to a file (like the [E]xport command in pine) such that all text attachments are included, as well as the headers of the message? The best way I've found is to press [e]dit, then use the :w command in vi to write it out to a file. That takes a few more keystrokes than it should though, and also includes all the headers of the message (instead of just the my_hdr ones). If your $mbox_type is set to mbox, then a simple C (copy-message) will do what you want. Otherwise you will need to create a macro like such: macro E index pipe-messagecat and just append the filename you want to the end of the command. This is one of those places where scriptability would be nice, since what you'd really want is something like: function export-message () { $path = prompt save to: copy-message $path }
Re: Pity that mutt doesn't read news - what's the best match?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then John P Verel blurted Slrn, as others have said. My model is Mutt/Slrn/Vim. Fabulous all around. The threading can not be beat, IMHO :) Well, I'm sold. Is slrn as tricky as mutt in the beggining? - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8WkZAHpvrrTa6L5oRArg8AJ4l8ZhfYkD8WKQQIVS+MSWxBo1gCQCfXnol bYzO4QGzQfjXN5yXXLN0byQ= =WrM4 -END PGP SIGNATURE-
Re: Exporting a message?
On Thu, Jan 31, 2002 at 11:29:57PM -0800, Michael Elkins wrote: How do I save a message to a file (like the [E]xport command in pine) such that all text attachments are included, as well as the headers of the message? If your $mbox_type is set to mbox, then a simple C (copy-message) will do what you want. Otherwise you will need to create a macro like such: macro E index pipe-messagecat and just append the filename you want to the end of the command. It should be macro index E, not macro E index, BTW. (I'm using Maildir, not mbox.) That's a bit better than pressing e and using the vi :w command to save the message. It's still not as good as pine's [E]xport command, though. It will write out all the uninteresting headers of the message (Return-Path, Delivered-To, Received, Message-ID, etc.) rather than only the ones I've defined in the my_hdr configuration option. When I export a message, I'm doing it for the purpose of printing it or including it in a document I'm writing so I wouldn't want all those extra headers. I don't suppose there's a command like pipe-message, except that it filters headers (the header filtering code is already available in the pager, after all)? Or would I have to write an external header filtering program and then do something like: macro index E pipe-message perl filter_header.pl which isn't exactly the optimal solution, since an external program does not have ready access to my configuration file my_hdr settings, but would work I suppose.
Re: Exporting a message?
Philip Mak wrote: I don't suppose there's a command like pipe-message, except that it filters headers (the header filtering code is already available in the pager, after all)? Or would I have to write an external header filtering program and then do something like: macro index E pipe-message perl filter_header.pl which isn't exactly the optimal solution, since an external program does not have ready access to my configuration file my_hdr settings, but would work I suppose. Yes, there is a pipe-message. If you set $pipe_decode, it will weed out the headers and the message you get will look just like it does in the pager, which should be suitable for printing.