Re: send-hook and my_hdr

2001-10-25 Thread Lars Becker
On Thu, Oct 11, 2001 at 02:53:29PM +0200, Thomas Roessler wrote: >>See that header in this mail. That is from a send-hook. Problem >>is that once that hook is activated, the header ends up in all >>mails (like this one). >>How to fix? > Add a hook matching all messages which unmy_hdrs the

Re: send-hook and my_hdr

2001-10-26 Thread Lars Becker
On Fri, Oct 26, 2001 at 10:28:20AM +0200, Thomas Roessler wrote: >>That won't work in all cases. If i set unmy_hdr in a sent-hook, >>all from-headers set by a folder-hook are removed too, and not >>only the hooks which were set by send-hooks. > I'd set the $from variable from folder-hooks and

Re: send-hook and my_hdr

2001-10-26 Thread Lars Becker
On Thu, Oct 25, 2001 at 11:44:12PM -0700, Gary Johnson wrote: > folder-hook . unhook send-hook > folder-hook . 'unmy_hdr From:' > folder-hook folder1 send-hook . 'my_hdr From: default_for_folder1' > folder-hook folder2 send-hook . 'my_hdr From: default_for_folder2' > folder-hoo

Minor annoyance with fcc-save-hooks

2002-07-02 Thread Lars Becker
Hi all, i've set up a lot of fcc-save-hooks to set the default folders for certain people ("~L pattern folder"). This works quite good if there's only one recipient in the headers or one person to whom i send mail. If there are many recipients in the headers or me doing a group-reply, the hook m

Trouble with macros

2002-07-02 Thread Lars Becker
Hi everybody, i've got some problems with setting the attributions lines in dependence of the folder and the reply-function used (e.g. reply, group-reply and list-reply). My goal is to set up separate attributions for replies to personal mails (which should be personalised), for group-replies (w