Subject: sendmail domain configuration as Message 9
nxplinux
andy.xh_xx at 163.com
Thu Sep 2 00:32:58 UTC 2010
Hi,Dear all,
I get a ZTE MF637U WCDMA adaptor,i don't know how to use it in Fedora
8 ,can you help me?
andy
在 2010-09-01三的 14:31 -0400,Phil Savoie写道:
> On 09/01/2010 01:38 PM, Allen, Jack wrote:
> > Maybe I did not explain the problem clearly. I have a cable
> > modem connected to a router. The ISP provides an IP Address to the
> > router via DHCP. That would be on the WAN side of the router. On the LAN
> > side of the router I am using 10.11.12.X for my systems. The router is
> > 10.11.12.254 and my Linux system is 10.11.12.1 and the PCs are
> > 10.11.12.2 and 10.11.12.3 and the home automation device is 10.11.12.4
> > and TIVO is 10.11.12.5. I have DNS (named) running on my Linux system
> > with the domain name of my_domain.network. The Linux system is setup to
> > relay email to the ISP. When the Linux system connects to the ISP mail
> > servers it tells it the connection is from linux.my_domain.network which
> > is validated and determined not to be a valid domain, which it is not. I
> > want the ISP mail server to see the connection form linux.my_domain.net
> > which is a valid registered domain. But using masquerading is not doing
> > that.
> >
> > I have looked at the sendmail source and when it first starts it
> > get the hostname and assigns the value to $k. There does not seem to be
> > anything that changes that value when doing masquerading and the value
> > of $k is what is sent to the ISP mail server as the domain.
> >
> > -----
> > Jack Allen
> >
> Hi Jack,
>
> How about this; in your sendmail.cf file add:
>
> MASQUERADE_AS ('domain_of_ISP') dnl
> FEATURE (masquerade_envelope) dnl
> FEATURE (allmasquerade) dnl
>
> Then restart sendmail to compile in the changes to your sendmail.mc file
>
> This may solve your problem.
>
> Regards,
>
> Phil
>
More information about the redhat-list
mailing list