*BSD News Article 60474


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.ecn.uoknor.edu!news.ysu.edu!neoucom.edu!ns.mcs.kent.edu!kira.cc.uakron.edu!odin.oar.net!malgudi.oar.net!imci4!newsfeed.internetmci.com!news.sprintlink.net!neonramp.com!usenet
From: black@neonramp.com (Gene Black)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Mail problems...
Date: 30 Jan 1996 23:38:42 GMT
Organization: Nebraska On-Ramp, Inc.
Lines: 18
Message-ID: <4ema62$dqs@neon3.neonramp.com>
References: <310A6137.4B46@mail.vianet.com.mx>
NNTP-Posting-Host: neon7.neonramp.com
Mime-Version: 1.0
Content-Type: Text/Plain; charset=ISO-8859-1
X-Newsreader: WinVN 0.99.5

In article <310A6137.4B46@mail.vianet.com.mx>, avazquez@mail.vianet.com.mx 
says...
>
>IŽd 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Žt 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 recognize 
local hosts. This keeps the mail from looping back on itself. You can also 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)