Re: send-hook and forward_format

2010-03-24 Thread Alexandre
Le dimanche 14 mars de l'année 2010, vers 21 heures et 04 minutes, Michael Elkins écrivait: > send-hook's will not match the alias name, but it will match what the > alias expands to. Alias expansion occurs prior to send-hook's being > executed. ok > The problem here is that $forward_format is

i'm rubbish at writing hook patterns

2010-03-24 Thread Jamie Griffin
Hello I'm having a small probelm getting a pattern to match and was hoping for a bit of guidance. my pattern is trying to match either of two domains in one pattern, the two domains in question are: cs.man.ac.uk and manchester.ac.uk So when replying to mail sent to my university

Re: i'm rubbish at writing hook patterns

2010-03-24 Thread Michael Elkins
Hi Jamie, On Wed, Mar 24, 2010 at 03:22:20PM +, Jamie Griffin wrote: > my pattern is trying to match either of two domains in one pattern, the two > domains in question are: > >cs.man.ac.uk and manchester.ac.uk > > So when replying to mail sent to my university cs account, or to

Re: i'm rubbish at writing hook patterns

2010-03-24 Thread Jamie Griffin
Hello Michael > I do not understand why you are running the send-hook inside of the > folder-hook. Do you have some other hooks that are removing the effect > of the send-hook elsewhere? I'm not entirely sure why I adopted this way if i'm honest. Over the last year or so i've changed the way

Re: i'm rubbish at writing hook patterns

2010-03-24 Thread Michael Elkins
On Wed, Mar 24, 2010 at 05:39:31PM +, Jamie Griffin wrote: >send-hook . 'my_hdr From: Jamie Griffin ; > \ > my_hdr Reply-To: ja...@fantomatic.co.uk' Setting the Reply-To the same as your From: address is ok, but redundant. I would just do 'unmy_hdr reply-to' in

Re: i'm rubbish at writing hook patterns

2010-03-24 Thread Jamie Griffin
> You would be able to accomplish this, but only if you replace your > default send-hook with: > set from=ja...@fantomatic.co.uk #default address > alternates myusern...@cs.man.ac.uk > set reverse_name #use alternate when replying > > ..followed by and send-h

[SOLVED] Re: Bozo Filter

2010-03-24 Thread Freeman
On Mon, Mar 22, 2010 at 10:11:52AM -0700, Michael Elkins wrote: > On Sun, Mar 21, 2010 at 08:19:12PM -0700, Freeman wrote: > > When I type "l" at the command prompt, I get a request for a limit pattern. > > Then I type "~ n >1" to limit view to a score greater than 1. This works > > precisely. > >

Re: i'm rubbish at writing hook patterns

2010-03-24 Thread Michael Elkins
On Wed, Mar 24, 2010 at 06:12:17PM +, Jamie Griffin wrote: > Ah!, i see now. Thank you so much, that does make things much better > for me. I have already got an alternates file with that address in it, > so do I still need to add the alternates command to the send-hook. And > similarly, if I s

Re: i'm rubbish at writing hook patterns

2010-03-24 Thread Jamie Griffin
> All you need is two reply-hooks to add the Reply-To header when you are > replying to a message addressed to your .ac.uk address, so the > complete solution would be: > set from=ja...@fantomatic.co.uk #default address > alternates myusern...@cs.man.ac.uk > set reverse_name

Re: Mailing list and To:

2010-03-24 Thread Jostein Berntsen
On 23.03.10,08:45, Michael Elkins wrote: > On Tue, Mar 23, 2010 at 04:20:04PM +0100, Matthias Apitz wrote: > > El día Tuesday, March 23, 2010 a las 11:13:00PM +0800, Jostein Berntsen > > escribió: > > > When I receive a mail from a mailing list, is it an easy way im Mutt to > > > see which of my

Re: Mailing list and To:

2010-03-24 Thread Patrick Shanahan
* Jostein Berntsen [03-24-10 15:33]: > > Thanks. It seems like this header can also give the right result: > > fgrep 'Original-recipient' | less > This is rare. I ran it on a folder with an accumulation of mostly non email list traffic and had one hit out of 1395 messages. -- Patrick Shanah

Macro: pipe message and forward it

2010-03-24 Thread Alexandre
Dear mutt-users, how could I pipe message, grep some patterns, and forward the results ? I have already written this macro: macro index,pager z ":set mime_forward=no\n:ignore *\n:unignore subject\ngrep -v SomePatterns\n" With ignore and unignore I can select headers I want to forward. But the me

Re: OT: sendmail && UTF-8

2010-03-24 Thread Jostein Berntsen
On 23.03.10,15:24, Matthias Apitz wrote: > > Hello, > > Perhaps a bit off-topic, but maybe someone of the mutt-Gurus has a > pointer for me: > > I want to sendout mail the following way: > > sendmail -t < filename > > where the file 'filename' contains some header lines, especially To: >