Jaroslaw Rafa:
> X-Authentication-Warning: <hostname>: <original-username> set sender to
> <sender-specified-with-f> using -f

If you're willing to parse headers, then all the information that
you need is already available. There is no need to add yet another
header with that stuff.

- You already have the numerical UID in the existing Received:
  header. Use a standard UNIX function to convert that to the login
  name.

- The envelope.from is already available.

        Wietse

Reply via email to