*BSD News Article 61087


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.hawaii.edu!ames!hookup!news.mathworks.com!uunet!in1.uu.net!nwnews.wa.com!nwfocus.wa.com!ender.techcenter.paccar.com!news
From: Will Kempf <wkempf@paccar.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Mail problems...
Date: Fri, 02 Feb 1996 12:55:09 -0800
Organization: PACCAR Information Systems
Lines: 37
Message-ID: <31127A2D.3D82@paccar.com>
References: <310A6137.4B46@mail.vianet.com.mx> <4ema62$dqs@neon3.neonramp.com>
NNTP-Posting-Host: wkempf.misrenton.paccar.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Mailer: Mozilla 2.0b6a (WinNT; I)
To: Gene Black <black@neonramp.com>

Gene Black wrote:
> =

> In article <310A6137.4B46@mail.vianet.com.mx>, avazquez@mail.vianet.com.m=
x
> says...
> >
> >I=B4d just setup a FreeBSD 2.1 mail server as mail.my.domain, and I
> > enabled it as the Mail Exchanger of my.domain, so anybody how sends
> > mail to user@my.domain were actually sending to user@mail.my.domain.
> > The nameserver is Ok, but the freebsd box doesn=B4t receive the mail
> > sent to user@my.domain because "a local configuration error". When
> > sending a mail to user@mail.my.domain everything is ok!
> > Any idea?... Please email!
> =

> You need to configure your Cw option in your sendmail.cf file to recogniz=
e
> local hosts. This keeps the mail from looping back on itself. You can als=
o use
> Fw and then the name of a file which contains all the local host names to=

> recognize (each hostname is separated by a carriage return) I keep a file=
 in my
> /etc directory named hosts.mail and simply give sendmail a HUP when I add=

> another host (virtual host for domain e-mail purposes)

Also, make sure your DNS db.<my.domain> file has MX (and A for misbehaved S=
MTP =

MTAs) entries for the domain:

e.g.,

@	IN	MX	mail.my.domain
@	IN	A	[IP addr for mail.my.domain]