Edward C. Lang <[EMAIL PROTECTED]> wrote:
>
> Just for clarity: if the internal domain is example.org, and my machine is
> foo, then the Return-Path is [EMAIL PROTECTED] I'd like it to be
> [EMAIL PROTECTED], or whatever.
>
> Any thoughts?
Yes -- don't try to rewrite headers to hide network details -- it's difficult
to do, prone to breakage, and of questionable benefit. Instead, set the
contents of the headers properly when the message is created, in the MUA.
Have your MUA create a Return-Path: header in the message before it
reaches qmail-inject; qmail will set the envelope sender address based on
this. Alternatively, have your MUA call qmail-inject with the -f option
to explicitly set the envelope sender, or set the QMAILUSER and QMAILHOST
environment variables. `man qmail-inject` for details.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------