Re: Setting default from address according to recipients
On Tue, Sep 26, 2006 at 09:42:54AM +0200, Christian Ebert wrote:
> set realname="Matthew R. Dempsky"
> set from="mrd@xxxxxxxxxxx"
> set use_from
> % by default do not use my_hdr From:
> send-hook ~A unmy_hdr From:
> % for certain recipients use my_hdr From:
> send-hook '~t @utdallas\.edu$ !~t ^utdlug@utdallas\.edu$' '\
> my_hdr From: matthew.dempsky@xxxxxxxxxxxxxxxxxxxx'
Oh, neat. I didn't realize $realname is still used when you use
``my_hdr From: ....''.
Thanks, it's working now.