<<< Date Index >>>     <<< Thread Index >>>

Re: setting sender address dependent on received address



* On Fri, Nov 24, 2006 Keld Jørn Simonsen (keld@xxxxxxxxxx) muttered:
> What I want is a default From: address, and then overridden if I am
> replying to an email sent to one of my aliases. 
> 
> set reverse_name=yes
> alternates "alt1@xxxxxxxxxxx|alt2@xxxxxxxxxxx"
> myhdr From: default@xxxxxxxxxxx
> myhdr "From: $alternates"           

set from=default@xxxxxxxxxxx
alternates "alt1@xxxxxxxxxxx|alt2@xxxxxxxxxxx"
set reverse_name

Don't use my_hdr From: unless in a send-hook. One reason to avoid
my_hdr From: is - as you noted - it overwrites reverse_name.

HTH,

Michael
-- 
You can't take damsel here now.

PGP-Key-ID: 0xDC1A44DD
Jabber:     init[0]@amessage.de