Re: send-hook question
Okay, well I think I'm dong the correct thing but it still does not achieve
the desired behavior.
e.g.
send-hook . my_hdr X-Message-Flag: foo bar foo bar
send-hook bob.smith@xxxxxxxxxxxx unmy_hdr X-Message-Flag:
If I send a msg to bob.smith@xxxxxxxxxxxx it still contains the
X-Message-Flag: header. This is not desired behaviour.
Shouldn't the second send-hook instruction undo the X-Message-Flag: header ?
- aW
0n Fri, Sep 03, 2004 at 04:40:22PM +0930, David Yitzchak Cohen wrote:
On Wed, Sep 01, 2004 at 01:01:40AM EDT, Wilkinson, Alex wrote:
> I have a customised header of:
>
> my_hdr X-Message-Flag: foo bar foo bar foo bar
>
> All messages sent will have this header, however I need to *not* add
this
> header for a subset of email addresses. I thought this is what I would
need
> to do:
>
> send-hook bob.smith@xxxxxxxxxxxx unmy_hdr X-Message-Flag:
>
> and any messages sent to bob.smith@xxxxxxxxxxxx would not contain the
> X-Message-Flag header.
That'll do the right thing. However, you don't have anything that'll
reset that header when you send a mail to somebody else afterwards.
> This is not working.
That's not strictly a correct statement, as we noted above.
> Can someone confirm that I'm doing the correct thing here.
No ;-P
Try searching archives for default send-hooks :-)