Re: send hooks again .. not working

2002-10-14 Thread Toby Coleridge

On Sat, Oct 12, 2002 at 09:26:19AM -0500, Aaron Schrab wrote:
 At 15:18 +0200 12 Oct 2002, Sven Guckes [EMAIL PROTECTED] wrote:
  * David Champion [EMAIL PROTECTED] [2002-10-12 00:06]:
   I thought that you need to use set from= in send-hooks
   instead of using my_hdr, but I might misremember.
 
 No, it's the other way around.  By the time send-hooks are applied to a
 message $from has already been fetched and it won't be looked at again
 for that message.  my_hdr on the other hand can still override the From:
 header that mutt generates.
 
  yep - the From: as set by reverse_name feature will
  be overridden by all From: lines as set with my_hdr.
  9yet another entry for the faq...)
 
 This is correct, except for the first word.
 
so what would this mean with respect to this sendhook:

I have the following so far:
send-hook . unmy_hdr From: [EMAIL PROTECTED]
send-hook '~C @lboro.ac.uk' 'my_hdr From: me@myuniaddress'

Thanks
Toby.



Re: send hooks again .. not working

2002-10-14 Thread Toby Coleridge

On Mon, Oct 14, 2002 at 01:11:17PM +0200, Michael Tatge wrote:
 Toby Coleridge ([EMAIL PROTECTED]) muttered:
  send-hook . unmy_hdr From: [EMAIL PROTECTED]
  ^^^
 
 Leave that out.
 
  send-hook '~C @lboro.ac.uk' 'my_hdr From: me@myuniaddress'
 
 That should work.
 
 Michael
 -- 
 Avoid the Gates of Hell.  Use Linux
 (Unknown source)
 
 PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key

Hi Guys,

I have an update the send-hook works when replying to an email sent to me at any 
address, however when I create a new email if the address contains an @lboro then it 
doesnt rewrite the from: field any ideas or is this intended if so how can I work 
round it?

Thanks
Toby.



send hooks again .. not working

2002-10-11 Thread Toby Coleridge

i have the following:

send-hook . my_hdr From: [EMAIL PROTECTED]
send-hook @student\.lboro\.ac\.uk my_hdr From: me@myuniemailadrress

however when I send mail to [EMAIL PROTECTED] I get it from [EMAIL PROTECTED] 
not the send-hook as I believe I should .. any ideas?

Thanks
Toby



Re: send hooks again .. not working

2002-10-11 Thread Toby Coleridge

Hi Michael,

nope still doesnt work I noticed that I have set from at the top of my muttrc is this 
causing problems for send hooks?

Thanks
Toby.

On Fri, Oct 11, 2002 at 11:42:44AM +0200, Michael Tatge wrote:
 Toby Coleridge ([EMAIL PROTECTED]) muttered:
  i have the following:
  
  send-hook . my_hdr From: [EMAIL PROTECTED]
  send-hook @student\.lboro\.ac\.uk my_hdr From: me@myuniemailadrress
 
 send-hook '~C student.lboro.ac.uk' 'my_hdr From: me@myuniemailadrress'
 
 HTH,
 
 Michael
 -- 
 ...Deep Hack Mode--that mysterious and frightening state of
 consciousness where Mortal Users fear to tread.
 (By Matt Welsh)
 
 PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: send hooks again .. not working

2002-10-11 Thread Toby Coleridge

No the email address in the compose window is still wrong ... ?

Toby

On Fri, Oct 11, 2002 at 01:10:05PM +0200, René Clerc wrote:
 * Toby Coleridge [EMAIL PROTECTED] [11-10-2002 12:50]:
 
  I do however have this in my sendmail.mc / cf :
  
  define(`confDOMAIN_NAME', `4mationnet.com')dnl
  
  because I am behind a private network and I get lots of 550 returned mail.
  
  would this make a difference?
 
 I don't know, I know nothing of sendmail. However, you should be able
 to verify if your send-hook works by checking the From: entry in the
 compose menu (just before you press 'y' to send the mail). Does that
 show the correct from?
 
 -- 
 René Clerc  - ([EMAIL PROTECTED])
 
 Retteb sif lahd, noces ehttub, but the second half is better.
 -A palindrome





Re: send hooks again .. not working

2002-10-11 Thread Toby Coleridge

I do however have this in my sendmail.mc / cf :

define(`confDOMAIN_NAME', `4mationnet.com')dnl

because I am behind a private network and I get lots of 550 returned mail.

would this make a difference?

Thanks
Toby.
On Fri, Oct 11, 2002 at 11:10:11AM +0100, Toby Coleridge wrote:
 Nope no other send hooks defined ..
 
 On Fri, Oct 11, 2002 at 11:59:37AM +0200, René Clerc wrote:
  * Toby Coleridge [EMAIL PROTECTED] [11-10-2002 11:55]:
  
  [Michael]
send-hook '~C student.lboro.ac.uk' 'my_hdr From: me@myuniemailadrress'
  
   nope still doesnt work I noticed that I have set from at the top of
   my muttrc is this causing problems for send hooks?
  
  Do you have other send-hooks, defined _after_ this one that override
  this setting?
  
  -- 
  René Clerc  - ([EMAIL PROTECTED])
  
  Ik ben niet droknen.
  -Rachel Pieterse
 



Re: send hooks again .. not working

2002-10-11 Thread Toby Coleridge

Nope no other send hooks defined ..

On Fri, Oct 11, 2002 at 11:59:37AM +0200, René Clerc wrote:
 * Toby Coleridge [EMAIL PROTECTED] [11-10-2002 11:55]:
 
 [Michael]
   send-hook '~C student.lboro.ac.uk' 'my_hdr From: me@myuniemailadrress'
 
  nope still doesnt work I noticed that I have set from at the top of
  my muttrc is this causing problems for send hooks?
 
 Do you have other send-hooks, defined _after_ this one that override
 this setting?
 
 -- 
 René Clerc  - ([EMAIL PROTECTED])
 
 Ik ben niet droknen.
 -Rachel Pieterse





Re: list of key bindings

2002-10-10 Thread Toby Coleridge

type a question mark ie shift + / should give you what you want ..

Cheers
Toby

On Thu, Oct 10, 2002 at 03:54:21PM -0400, Susan Kleinmann wrote:
 Hello,
 
 I could have sworn that somewhere in the documentation (man page/manual/faqs)
 I saw something that showed what mutt command could be used to get a list of 
 all the key bindings that were active in the current menu.  But now I can't find
 that reference any more.
 
 So, is there a command that will show all the current key bindings, and if so,
 what is it?
 
 The reason I'm interested is that, as a mutt newbie, I'm presuming one needs to 
 know what key bindings already exist in order _not_ to write a macro that will 
 write all over some important command.  
 
 TIA,
 Susan



Send Hooks ..

2002-10-10 Thread Toby Coleridge

If I setup two send hooks as follows:

send-hook . my_hdr From: [EMAIL PROTECTED] ;
send-hook blah my_hdr From: [EMAIL PROTECTED] ; 

am i right in thinking that the second send hook will be activated on any To: or Cc: 
(or Bcc?) that contains  blah in the address,  does this behave in a reg exp manner?

will it match all of the following :

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

or does it only match after the @ ?

Thanks
Toby