[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rewriting headers
>
> Any user-visible headers are rewritable at the crossbar()
> function -- that rewrite need not have anything to do with
> how the message routing decissions are made.
>
> At the 2.99.49p9 sources (it was at p8 also) file:
> proto/cf/crossbar.cf
> function:
> internet()
> has following comment:
>
> # # Alexis Yushin <alexis@NL.net> mentioned that he does following:
> # $(sender) && {
> # local tmp
> # tmp=$(masquerades $address) && address=$tmp
> # }
>
> But there is no definition for that masquerades() function.
It could be something like:
if [ -r $MAILVAR/db/masquerades ] ; then
relation -lmt unordered -f $MAILVAR/db/masquerades masquerades
else
masquerades () { return 1 }
fi
And $MAILVAR/db/masquerades containing pairs of 'from' 'to' addresses.