On Tue, Oct 20, 2020 at 06:51:15PM +0200, Pau wrote: > thanks a lot! Is there a way to have several email addresses in a > single hook, or do I have to repeat the hook for every single email > address? > > On Tue, Oct 20, 2020 at 6:25 PM ಚಿರಾಗ್ ನಟರಾಜ್ <mailingl...@chiraag.me> wrote: > > > > Hi Pau, > > > > You can use a send-hook with something like this: > > > > send-hook '~t <insert email address here>' 'my_hdr Reply-To: Alternate > > Email <alternate.em...@domain.tld>' > >
Something like this is working for me: set my_ChGrp='^(aa@chdom1\.com|bb@chdom2\.com|cc@chnet\.net)$' send-hook '~t $my_ChGrp' 'my_hdr Reply-To: Me Me <m...@my.com>' If they all have the same domain, or one that can be expressed by a regular expression, something like this might work also: send-hook '~t ^.*@chdom\.com$' 'my_hdr Reply-To: Me Me <m...@my.com>' Jon -- Jon H. LaBadie j...@labadie.us 11226 South Shore Rd. (703) 787-0688 (H) Reston, VA 20190 (703) 935-6720 (C)