Various solutions suggest themselves:
1: (the right way :-) Configure sendmail(8) to do 'site hiding'
(masquerading)
This is not as hard as it might first appear. Look in:
(I was going to suggest using the MACROS {m4} way of
building sendmail.cf
with help and advice from www.sendmail.org {works for me}
but I just spotted that linuxconf has an option to do
exactly this :-)
2: add 'reply-to' headers (not quite what you asked to do but it
might be
all you need.
3: Send using sendmail(8) rather than mail(1) (uuugh!) with the -f
option.
Rather depends on what userid your 'mail sending process' is
running as.
--
Graeme
> Message: 2
> From: Dirk Naujoks <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: configuring mail-addresses
> Date: Mon, 9 Apr 2001 08:59:00 +0200
>
> Hi,
>
> I've got the following situation:
>
> There's a cvs-server running on a linux-machine maybe called
> linuxserv.
>
> I'm getting acces to the cvs-server using pserver-method.
> (The client =
> is a WinNT machine and I use WinCVS.)
>
> I'm sending loginfo mails on each commit. These mails get the sender =
> mail-address "[EMAIL PROTECTED]".
>
> Is it possible to send these mails with the sender =
> "[EMAIL PROTECTED]"?
>
> Where useronlinuxmachine and userinntdomain are the same user but =
> different names.
>
> For example:
> The user "naujoks" in the nt-domain is user "dirk" on the
> linuxserver =
> the Message is sent with the sender "[EMAIL PROTECTED]"
> but should =
> be sent with "[EMAIL PROTECTED]".
>
***********************************************************************************
The contents of, and the information contained in this email and any files transmitted
with it are confidential and legally privileged, and are sent for the personal
attention
of the addressee(s). If you are not the intended addressee, any use, disclosure or
copying of this document is unauthorised.
Thank you
NTL
***********************************************************************************
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs