> You could use some md5-hashing to make it more secure.
>
> warn message = X-Authenticated-As: $authenticated_id \
> (${md5:Secret$authenticated_id})
> authenticated = *
>
> This will allow you to check the value later, if needed.
> or you add two headers, like
>
> warn message = X-Authenticated-As: $authenticated_id \n\
> X-Authenticated-As-Hash: ${md5:Secret$authenticated_id}
> authenticated = *
>
> this will make the check itself a bit easier.
Aaah, thanks, ill run with the second option.