Re: Matching message headers in mutt hooks

2012-07-11 Thread Eddie G.O'Connor Jr-I
On 07/11/2012 04:20 AM, Suvayu Ali wrote: Hi Paul and Heinz, On Tue, Jul 10, 2012 at 11:51:50PM +0200, Heinz Diehl wrote: On 10.07.2012, Paul W. Frields wrote: I'm no mutt expert, but I keep my configs here for public copying/use: http://pfrields.fedorapeople.org/configs/mutt/ My config, in

Re: Matching message headers in mutt hooks

2012-07-11 Thread Suvayu Ali
Hi Paul and Heinz, On Tue, Jul 10, 2012 at 11:51:50PM +0200, Heinz Diehl wrote: > On 10.07.2012, Paul W. Frields wrote: > > > I'm no mutt expert, but I keep my configs here for public copying/use: > > http://pfrields.fedorapeople.org/configs/mutt/ > > My config, including keybind, colours and o

Re: Matching message headers in mutt hooks

2012-07-10 Thread Heinz Diehl
On 10.07.2012, Paul W. Frields wrote: > I'm no mutt expert, but I keep my configs here for public copying/use: > http://pfrields.fedorapeople.org/configs/mutt/ My config, including keybind, colours and other stuff is here: http://www.fritha.org/dot-muttrc.tar.xz -- users mailing list users@lis

Re: Matching message headers in mutt hooks

2012-07-10 Thread Paul W. Frields
On Tue, Jul 10, 2012 at 04:34:01PM +0200, Suvayu Ali wrote: > Hi Alex, > > On Tue, Jul 10, 2012 at 04:23:21PM +0200, Alexander Volovics wrote: > > > > I should probably have indicated that 'copiousoutput' should be > > on the SAME line as "application/pdf; pdftotext %s %s.txt \; cat %s.txt > > \;

Re: Matching message headers in mutt hooks

2012-07-10 Thread Suvayu Ali
Hi Alex, On Tue, Jul 10, 2012 at 04:23:21PM +0200, Alexander Volovics wrote: > > I should probably have indicated that 'copiousoutput' should be > on the SAME line as "application/pdf; pdftotext %s %s.txt \; cat %s.txt > \; rm -f %s.txt ;" > > I don't use it myself anymore so I tried it now and

Re: Matching message headers in mutt hooks

2012-07-10 Thread Alexander Volovics
On Tue, Jul 10, 2012 at 03:34:12PM +0200, Suvayu Ali wrote: > > You could do something like the following: > > Create in ~/ the files .mime.types and .mailcap > > > > ~/.mime.types > > application/pdf pdf > > > > ~/.mailcap > > application/pdf; evince %s; test=test -n "$DISPLAY" > > application

Re: Matching message headers in mutt hooks

2012-07-10 Thread Suvayu Ali
Hi Alex, On Mon, Jul 09, 2012 at 02:02:39PM +0200, Alexander Volovics wrote: > On Mon, Jul 09, 2012 at 11:37:37AM +0200, Suvayu Ali wrote: > > > How does one handle attachments? I saw the pipe command and tried to > > pipe a pdf file to Evince, but it didn't seem to work as I had expected. > > D

Re: Matching message headers in mutt hooks

2012-07-09 Thread Eddie G.O'Connor Jr-I
On 07/08/2012 10:57 PM, Edward M wrote: On 07/08/2012 06:07 PM, Eddie G.O'Connor Jr-I wrote: (stuck trying to decide if I want to go the C, C#, C++ route...or the Python way)!.any tips there?... when I went to vist some people i knew from ixsystems, freebsd foundation, netbsd projec

Re: Matching message headers in mutt hooks

2012-07-09 Thread Heinz Diehl
On 09.07.2012, Suvayu Ali wrote: > Actually several years back I looked into Wanderlust. Then I ran into > those dependencies which I couldn't resolve. I filed an RFE on the > Redhat bugzilla for inclusion into Fedora. Someone picked it up and was > working on it for a while[1], but that was clos

Re: Matching message headers in mutt hooks

2012-07-09 Thread Suvayu Ali
Hi Paul, On Mon, Jul 09, 2012 at 10:03:11AM -0400, Paul W. Frields wrote: > > You might find these posts helpful, where I describe a set of mail > handling apps using mutt, offlineimap, and postfix: > > http://paul.frields.org/2009/07/12/best-in-show/ > http://paul.frields.org/2009/07/18/best-in

Re: Matching message headers in mutt hooks

2012-07-09 Thread Suvayu Ali
On Mon, Jul 09, 2012 at 02:49:48PM +0200, Heinz Diehl wrote: > > Gnus is great. Another alternative is wanderlust, which handles IMAP > _very_ fast, but has some flaws with displaying certain charsets. I > used it ca. 6 months and gave up. This was the only problem, however, > so things could have

Re: Matching message headers in mutt hooks

2012-07-09 Thread Paul W. Frields
On Sun, Jul 08, 2012 at 05:02:55PM +0200, Heinz Diehl wrote: > On 08.07.2012, suvayu ali wrote: > > > Thanks a lot for the confirmation! I am liking mutt a lot. I think > > I'll fiddle some more. :) > > You're welcome! Mutt has served me as a mail client over a long time, > and though I've looke

Re: Matching message headers in mutt hooks

2012-07-09 Thread Heinz Diehl
On 09.07.2012, Suvayu Ali wrote: > I'm a very intense Emacs user. :) In my search for IMAP capable email > clients, Mutt and Gnus (another Emacs based news/email reader) were on > the top. I'll include Mew to that. Gnus is great. Another alternative is wanderlust, which handles IMAP _very_ fast,

Re: Matching message headers in mutt hooks

2012-07-09 Thread James Wilkinson
ny6...@gmail.com wrote: > I've been using mutt for years as my only email client, and I can tell you > from personal experience that mutt is _much_ faster to get around in and > read and process mail than one with a gui. In fact, that's it's chief > selling point. Mailing lists like this one are o

Re: Matching message headers in mutt hooks

2012-07-09 Thread Alexander Volovics
On Mon, Jul 09, 2012 at 11:37:37AM +0200, Suvayu Ali wrote: > How does one handle attachments? I saw the pipe command and tried to > pipe a pdf file to Evince, but it didn't seem to work as I had expected. > Do I need an old school viewer like gv for this to work? It's also > possible I didn't sp

Re: Matching message headers in mutt hooks

2012-07-09 Thread Suvayu Ali
On Mon, Jul 09, 2012 at 12:40:24PM +0200, Heinz Diehl wrote: > On 09.07.2012, Suvayu Ali wrote: > > > How does one handle attachments? I saw the pipe command and tried to > > pipe a pdf file to Evince, but it didn't seem to work as I had expected. > > Do I need an old school viewer like gv for th

Re: Matching message headers in mutt hooks

2012-07-09 Thread Heinz Diehl
On 09.07.2012, Suvayu Ali wrote: > How does one handle attachments? I saw the pipe command and tried to > pipe a pdf file to Evince, but it didn't seem to work as I had expected. > Do I need an old school viewer like gv for this to work? Press "v" and save your attachments on disk. Then you can

Re: Matching message headers in mutt hooks

2012-07-09 Thread Suvayu Ali
On Mon, Jul 09, 2012 at 11:20:47AM +0200, Alexander Volovics wrote: > On Mon, Jul 09, 2012 at 08:48:09AM +0200, Heinz Diehl wrote: > > > There are a lot of filters; maildrop, mailfilter.. Though procmail > > seems not to be maintained anymore, I'm using it, because I have > > experience in writin

Re: Matching message headers in mutt hooks

2012-07-09 Thread Alexander Volovics
On Mon, Jul 09, 2012 at 08:48:09AM +0200, Heinz Diehl wrote: > There are a lot of filters; maildrop, mailfilter.. Though procmail > seems not to be maintained anymore, I'm using it, because I have > experience in writing procmail recipes and have been using it all my > life. You can feed your mai

Re: Matching message headers in mutt hooks

2012-07-08 Thread Heinz Diehl
On 09.07.2012, ny6...@gmail.com wrote: > I've been using mutt for years as my only email client, and I can tell you > from personal experience that mutt is _much_ faster to get around in and > read and process mail than one with a gui. In fact, that's it's chief > selling point. And it has by fa

Re: Matching message headers in mutt hooks

2012-07-08 Thread Edward M
On 07/08/2012 06:07 PM, Eddie G.O'Connor Jr-I wrote: (stuck trying to decide if I want to go the C, C#, C++ route...or the Python way)!.any tips there?... when I went to vist some people i knew from ixsystems, freebsd foundation, netbsd project couple months ago I brought up that i

Re: Matching message headers in mutt hooks

2012-07-08 Thread ny6p01
On Sun, Jul 08, 2012 at 06:27:25PM -0400, Eddie G.O'Connor Jr-I wrote: > On 07/08/2012 04:37 PM, Edward M wrote: > >On 07/08/2012 01:27 PM, Eddie G.O'Connor Jr-I wrote: > >>If I may?...exactly what IS "mutt"?is it something I should > >>concern myself with? > > > >mutt is a text based email

Re: Matching message headers in mutt hooks

2012-07-08 Thread Eddie G.O'Connor Jr-I
On 07/08/2012 07:18 PM, Dave Ihnat wrote: Once, long ago--actually, on Sun, Jul 08, 2012 at 06:27:25PM -0400--Eddie G.O'Connor Jr-I (eoconno...@gmail.com) said: HmmmI guess it's because I've never used something like it, but I imagine it's pretty hard to move around in if it's all text base

Re: Matching message headers in mutt hooks

2012-07-08 Thread Dave Ihnat
Once, long ago--actually, on Sun, Jul 08, 2012 at 06:27:25PM -0400--Eddie G.O'Connor Jr-I (eoconno...@gmail.com) said: > HmmmI guess it's because I've never used something like it, but > I imagine it's pretty hard to move around in if it's all text > based?no icons to click on for deleting

Re: Matching message headers in mutt hooks

2012-07-08 Thread Eddie G.O'Connor Jr-I
On 07/08/2012 06:37 PM, Heinz Diehl wrote: On 09.07.2012, Eddie G.O'Connor Jr-I wrote: HmmmI guess it's because I've never used something like it, but I imagine it's pretty hard to move around in if it's all text based? It's actually quite easy, I just need my right hand and nothing else.

Re: Matching message headers in mutt hooks

2012-07-08 Thread Eddie G.O'Connor Jr-I
On 07/08/2012 06:30 PM, Heinz Diehl wrote: On 09.07.2012, Heinz Diehl wrote: Mutt is a console/textbased MUA, see http://www.mutt.org . It is highly customizeable/configurable, but for the most common cases you want to run a local mailserver and POP3-client (e.g. fetchmail) to be able to use i

Re: Matching message headers in mutt hooks

2012-07-08 Thread Heinz Diehl
On 09.07.2012, Eddie G.O'Connor Jr-I wrote: > HmmmI guess it's because I've never used something like it, but I > imagine it's pretty hard to move around in if it's all text based? It's actually quite easy, I just need my right hand and nothing else. This is freely configurable, you can writ

Re: Matching message headers in mutt hooks

2012-07-08 Thread Heinz Diehl
On 09.07.2012, Heinz Diehl wrote: > Mutt is a console/textbased MUA, see http://www.mutt.org . > It is highly customizeable/configurable, but for the most common cases > you want to run a local mailserver and POP3-client (e.g. fetchmail) > to be able to use it fully. You can see three snapshots

Re: Matching message headers in mutt hooks

2012-07-08 Thread Eddie G.O'Connor Jr-I
On 07/08/2012 04:37 PM, Edward M wrote: On 07/08/2012 01:27 PM, Eddie G.O'Connor Jr-I wrote: If I may?...exactly what IS "mutt"?is it something I should concern myself with? mutt is a text based email client. HmmmI guess it's because I've never used something like it, but I imag

Re: Matching message headers in mutt hooks

2012-07-08 Thread Heinz Diehl
On 09.07.2012, Eddie G.O'Connor Jr-I wrote: > If I may?...exactly what IS "mutt"?is it something I should concern > myself with? Mutt is a console/textbased MUA, see http://www.mutt.org . It is highly customizeable/configurable, but for the most common cases you want to run a local mailserve

Re: Matching message headers in mutt hooks

2012-07-08 Thread Edward M
On 07/08/2012 01:27 PM, Eddie G.O'Connor Jr-I wrote: If I may?...exactly what IS "mutt"?is it something I should concern myself with? mutt is a text based email client. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fed

Re: Matching message headers in mutt hooks

2012-07-08 Thread Eddie G.O'Connor Jr-I
On 07/08/2012 08:47 AM, suvayu ali wrote: On Sun, Jul 8, 2012 at 12:59 PM, Heinz Diehl wrote: On 08.07.2012, suvayu ali wrote: However I used `\\.' instead of `\.', I believe the former should match a literal `.' just like `\\+'? Yes, of course. I simply overlooked the second slash here, so

Re: Matching message headers in mutt hooks

2012-07-08 Thread Heinz Diehl
On 08.07.2012, suvayu ali wrote: > Thanks a lot for the confirmation! I am liking mutt a lot. I think > I'll fiddle some more. :) You're welcome! Mutt has served me as a mail client over a long time, and though I've looked at other clients as well, none could really convince me. When I need acce

Re: Matching message headers in mutt hooks

2012-07-08 Thread suvayu ali
On Sun, Jul 8, 2012 at 12:59 PM, Heinz Diehl wrote: > On 08.07.2012, suvayu ali wrote: > >> However I used `\\.' instead of `\.', I believe the former >> should match a literal `.' just like `\\+'? > > Yes, of course. I simply overlooked the second slash here, sorry! > If the expression only shoul

Re: Matching message headers in mutt hooks

2012-07-08 Thread Heinz Diehl
On 08.07.2012, suvayu ali wrote: > However I used `\\.' instead of `\.', I believe the former > should match a literal `.' just like `\\+'? Yes, of course. I simply overlooked the second slash here, sorry! If the expression only should match on a single point, you have to double-escape the "." h

Re: Matching message headers in mutt hooks

2012-07-08 Thread suvayu ali
On Sun, Jul 8, 2012 at 10:52 AM, Heinz Diehl wrote: > reply-hook '~h "Delivered-To: +mygmailid\\+keyword@gmail\.com"''my_hdr From: > emai...@otherdomain.com' This works! However I used `\\.' instead of `\.', I believe the former should match a literal `.' just like `\\+'? Thanks a lot! -- Suv

Re: Matching message headers in mutt hooks

2012-07-08 Thread Heinz Diehl
On 08.07.2012, suvayu ali wrote: > This is what I have tried: > > reply-hook "~h 'Delivered-To: mygmailid+keyword@gmail\.com'" \ >"set from = 'emai...@otherdomain.com'" It's the other way 'round (look at your ' and "): reply-hook '~h "Delivered-To: +mygmailid\\+keyword@gmail\.com

Matching message headers in mutt hooks

2012-07-07 Thread suvayu ali
Hi mutt using Fedora users, I am trying to set the from name based on the "Delivered-To:" message header. In my case, the header has values like this: Delivered-To: mygmailid+keyw...@gmail.com This is what I have tried: reply-hook "~h 'Delivered-To: mygmailid+keyword@gmail\.com'" \