*BSD News Article 46569


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!udel!news.sprintlink.net!howland.reston.ans.net!europa.chnt.gtegsc.com!salliemae!uunet!in1.uu.net!news.cccd.edu!usenet
From: mpeer@rustler.gwc.cccd.edu (Michael Peer)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: [Q] sendmail
Date: 9 Jul 1995 01:13:49 GMT
Organization: Coast Community College District, Costa Mesa, CA
Lines: 56
Message-ID: <3tnagd$8i@spock.dis.cccd.edu>
References: <3t9evb$l06@decaxp.harvard.edu>
NNTP-Posting-Host: mp01.csc.gwc.cccd.edu
Mime-Version: 1.0
X-Newsreader: WinVN 0.99.4

In article <3t9evb$l06@decaxp.harvard.edu>, itsymbal@scws35.harvard.edu 
says...
>
>I have a machine that has more than one name mapped to it.
>
>When I send mail to an address at that machine, it gives an error:
>Local configuration error: Mail loops back to myself.
>
>Evidently, sendmail does not realize that it is supposed to accept the 
>mail message addressed to this name, and not forward it.
>
>I was told to put all names for this machine in /etc/sendmail.cw file, 
>but that didn't fix the problem. Is that the proper name of that file? Is 
>it the proper location? What is the correct format of that file?
>How do I tell sendmail to look at it?
>
>Any help would be greatly appreciated.
>
>I will bee looking in this newsgroup for responces, but please also CC 
>your reply to me. 
>
>Thanks,
>
>Ilya
>-- 
>
>Ilya Tsymbal '96                                      Harvard U, Quincy 
House.
>itsymbal@husc.harvard.edu             
http://itsymbal.student.harvard.edu/ilya 
>

I had the same problem, I solved by...

1. I had to have my provider change DNS so that an MX record pointed to
the exact host I wanted, and that there was a A record to match:
  domain.edu		MX	10	host.domain.edu
and an address
  domain.edu		A		xxx.xxx.xxx.xxx
It took awhile for the network provider to get it right, also for some
reason.

Then I had to modify my sendmail.cf file in the /etc directory
normally the Cw record reads:
Cwlocalhost
it now reads:
Cwlocalhost domain.edu

and it all worked! I verified it by sending mail to mpeer@domain.edu.

My installation is FreeBSD 2.0 January 1995, network only.

any questions, or whatever just e-mail:
Michael Peer
mpeer@cccd.edu