Date: 22 Oct 2000 21:22:55 -0500 From: Don Croyle <croyle@gelemna.org> To: Paulo Ricardo Trainini <trainini@fortnet.com.br> Cc: questions@freebsd.org Subject: Re: Sender domain must exist Message-ID: <86snponvnk.fsf@emerson.gelemna.org> In-Reply-To: Paulo Ricardo Trainini's message of "Tue, 17 Oct 2000 11:02:20 -0200" References: <3.0.6.32.20001017110220.007c8e50@mail.rede-rs.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
Paulo Ricardo Trainini <trainini@fortnet.com.br> writes:
> I have installed the freebsd 4.1 to connect the intranetwork with the
> internet. Your conections with internet is dial-up with static ip. When I
> try send the email from server (mail command) all rigth. But when I try
> send the email from computer in intranet (ip invalid) the sendmail return
> the message:
>
> tom sendmail[601]: JAA00601: ruleset=check_mail, arg1=<f
> ortnet@192.168.1.1>, relay=[192.168.1.2], reject=501
> <fortnet@192.168.1.1>... Se
> nder domain must exist
>
> .. and donīt send the message
>
> I searche in handbook that is necessary configure sendmail.cw and
> sendmail.mc to solve this problem, but donīt work enven so.
>
> snemdail.cw:
> domain.com
>
> sendmail.mc:
> MASQUERADE_AS(`domain.com')
> FEATURE(`masquerade_envelope')
>
> itīs rigth?
>
> thank you for your help
That's right as far as it goes, but the machine that's trying to send
the mail is probably announcing itself as the unregistered
host.domain.com. Add something like
define(`confDOMAIN_NAME', `domain.com')dnl
to sendmail.mc and it should work better.
--
I've always wanted to be a dilettante, but I've never quite been ready
to make the commitment.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86snponvnk.fsf>
