sendmail 8.12.11 question
Kurt Wall
kwall
Mon May 17 11:59:39 PDT 2004
In a 1.2K blaze of typing glory, M.W. Chang wrote:
> >>I am unable to post a question to the list. Testing.
> >
> > Test confirmed. Your post is successfull :-)
>
> Hmm... then the server must be filtering messages containing certain
> chracters. My question is about sendmail configuration, and contains
> bogus email address and hostnames. I will try to post it here by
> modifying the content a bit.
>
> I set up a local zone localzone.org in my BIND-9. This is a private
> zone, not registered. The linux become become server.localzone.org.
>
> I registered in dyndns.org for host name "myname.homeip.net".
>
> Now when I run "mail auser_at_remotedomain.com" as root to send a
> message, The sender address of the message would appear as
> "root_at_server.localzone.org".
>
> I tried define(`confDOMAIN_NAME',`myname.homeip.net') to redefine $j,
> but the mail command still use "server.localzone.org".
>
> How could I rewrite "root_at_server.localzone.org" to
> "root_at_myname.homeip.net"?
I think what you want is masquerading. It's been awhile since I used
sendmail, but, IIRC, the m4 directives are (approximately):
FEATURE(masquerade_envelope)
MASQUERADE_AS(`myname.homeip.net')
See http://www.sendmail.org/m4/masquerading.html for way too much
detail.
Kurt
--
I can't understand it. I can't even understand the people who can
understand it.
-- Queen Juliana of the Netherlands.
More information about the Linux-users
mailing list