Hi all,
I got a slight problem with a conditional header-rewrite.
Actually it doesn't work at all ;)
I need to rewrite the From: for a special To:
I know it's kinda evil to do that with a MTA, but
I don't have another choice currently.
My current approach looks like that:
sascha@??? "${if match
{${lc:$received_for}}{c1\-spielerouttime\@yahoogroups\.de} {Karl-Heinz Rade
<Karl.H.Rade@???>}fail}" wf
In words:
if From: equals "sascha@???"
if To: equals "c1-spielerouttime@???"
then rewrite From: as "Karl-Heinz Rade <Karl.H.Rade@???>"
else bail out
I'm not entirely sure if $received_for is the correct
variable to check at all, but afaik is $h_to: not available
during address-rewrite, or is it?
Is it possible at all?
regards
Sascha