> -----Original Message-----
> From: plug-discuss-admin@lists.plug.phoenix.az.us
> [mailto:plug-discuss-admin@lists.plug.phoenix.az.us]On Behalf Of Naren
> Koka
> Sent: Monday, July 02, 2001 12:05 PM
> To: plug-discuss@lists.plug.phoenix.az.us
> Subject: Re: sendmail and named on the same machine
>
>
> Craig,
>
> Thank you very much Craig, The local-host-names file
> worked. I am able to send mail out from my local
> machine. But when mail is sent to the masqueraded
> domain address, it is getting rejected to be relayed.
> Is there a work around for that? I want to relay all
> the mail destined to the masqueraded domain. Sendmail
> documentation talks about allowing relaying from a
> domain, but I am interested in relaying emails
> destined to few specific domains.
>
> Thanks a lot!
> Naren
>
--------
this is a moving target depends upon your distro & your version of sendmail
typically, /etc/mail/access would be where you put directives... i.e.
mac@azapple.com RELAY
192.168.1 RELAY
note that changes here would usually need to rehash db so service sendmail
restart would hash it.
Also, some distro's are wrapping it in tcpwrappers so you would need to add
the name/ip address to /etc/hosts to allow someone to RELAY to another/any
other mail server.
HTH
Craig