sendmail configuration

M.W. Chang mwchang
Mon May 17 11:59:38 PDT 2004


The other copy of this message was sent to <linux-users at linux-sxs.org>.

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"?



-- 
     .~.    http://toylet.homeip.net
    / v \   Linux 2.4.22-xfs
/( _ )\  1:02pm up 2:11 1 user
     ^ ^    2.04 1.33







More information about the Linux-users mailing list