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

Re: False envelope From saved via fcc when using



* Thomas Parmelan [081104 16:00 +0100]
> Hi,
> 
> I am using the following configuration (real domains masked) :
> 
> set from="tom@friendlydomain"
> set use_from
> set use_envelope_from
> 
> send-hook . 'unmy_hdr from'
> send-hook . 'set from="tom@friendlydomain"; set realname="Thomas Parmelan"
> send-hook . 'unset envelope_from_address'
> 
> [here, other send-hooks possibly modifying from or
> envelope_from_address, then : ]
> 
> send-hook       '~C "@workdomain"'       'set 
> envelope_from_address=tom@friendlydomain'
> send-hook       '~C "@workdomain"'       'my_hdr From: "PARMELAN, Thomas" 
> <thomas.parmelan@workdomain>'
> 

Try instead of your settings:

set use_from
set use_envelope_from
set realname="Thomas Parmelan"

unhook *

folder-hook . unmy_hdr *
folder-hook . my_hdr From: <tom@friendlydomain>
folder-hook . alternates "(tom@friendlydomain|thomas.parmelan@workdomain)"

send-hook '~C "@workdomain"' 'my_hdr From: <thomas.parmelan@workdomain>'
send-hook '~C "@workdomain"' 'set realname "PARMELAN, Thomas"

HTH
Elimar

-- 
  Numeric stability is probably not all that 
  important when you're guessing;-)