Re: send hooks again .. not working

2002-10-15 Thread Rafael C. Gawenda

* Toby Coleridge [EMAIL PROTECTED] [2002-10-11 10:54 (CEST)]

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

Lookup use_from in the manual. Perhaps you're mixing things up,
where you have to choose only one way (my_hdr)

-- 
Rafael C. Gawenda
 2:346/7.549@fidonet
Registered LiNUX user #93375


Computers are useless. They can only give you answers (Pablo
Picasso)



msg31841/pgp0.pgp
Description: PGP signature


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 Michael Tatge

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



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.



Re: send hooks again .. not working

2002-10-12 Thread Sven Guckes

* David Champion [EMAIL PROTECTED] [2002-10-12 00:06]:
 * On 2002.10.11, in [EMAIL PROTECTED],
 * Toby Coleridge [EMAIL PROTECTED] wrote:
  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?

 I thought that you need to use set from= in send-hooks
 instead of using my_hdr, but I might misremember.

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...)

Sven



Re: send hooks again .. not working

2002-10-12 Thread Aaron Schrab

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.

-- 
Aaron Schrab [EMAIL PROTECTED]  http://www.schrab.com/aaron/
 [It is] best to confuse only one issue at a time.  -- KR



Re: send hooks again .. not working

2002-10-12 Thread David Champion

* On 2002.10.11, in [EMAIL PROTECTED],
*   Toby Coleridge [EMAIL PROTECTED] wrote:
 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?

I thought that you need to use set from= in send-hooks instead of
using my_hdr, but I might misremember.

-- 
 -D.We establised a fine coffee. What everybody can say
 Sun Project, APC/UCCO  TASTY! It's fresh, so-mild, with some special coffee's
 University of Chicago  bitter and sourtaste. LET'S HAVE SUCH A COFFEE! NOW!
 [EMAIL PROTECTED]   Please love CAFE MIAMI. Many thanks.



Re: send hooks again .. not working

2002-10-11 Thread Michael Tatge

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

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 Sven Guckes

* Toby Coleridge [EMAIL PROTECTED] [2002-10-11 10:10]:
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?
 Nope no other send hooks defined ..

set envelope_from and do *not* let
the MTA rewrite your from lines, ok?

and if you keep top-posting then
we will simply ignore you...

rewriting the messages so that other users can be
reading them as hints from the archive costs time.
so put your answers *after* the question.  got that?

Sven

-- 
Sven Guckes  [EMAIL PROTECTED]
LEARN TO Please do not quote in full - I keep a mail log.
EDIT YOURInstead, edit your reply to make it easy to read.
MESSAGES Please http://learn.to/edit_messages - thanks!  :-)



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 Michael Tatge

Toby Coleridge ([EMAIL PROTECTED]) muttered:
 On Fri, Oct 11, 2002 at 11:42:44AM +0200, Michael Tatge wrote:
  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?

Hm, change the default send-hook to unmy_hdr From?

HTH,

Michael
-- 
Oh, I've seen copies [of Linux Journal] around the terminal room at The
Labs.
(By Dennis Ritchie)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: send hooks again .. not working

2002-10-11 Thread René Clerc

* 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



msg31734/pgp0.pgp
Description: PGP signature


Re: send hooks again .. not working

2002-10-11 Thread René Clerc

* 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



msg31736/pgp0.pgp
Description: PGP signature


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