From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 15:23:21 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4FB016A4CE for ; Mon, 28 Feb 2005 15:23:21 +0000 (GMT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7041743D3F for ; Mon, 28 Feb 2005 15:23:21 +0000 (GMT) (envelope-from rosewoodblues@mac.com) Received: from mac.com (smtpin02-en2 [10.13.10.147]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id j1SFNLJg004078; Mon, 28 Feb 2005 07:23:21 -0800 (PST) Received: from [10.0.1.4] (c-24-98-140-190.atl.client2.attbi.com [24.98.140.190]) (authenticated bits=0)j1SFNJaA007153; Mon, 28 Feb 2005 07:23:20 -0800 (PST) In-Reply-To: <36c31cd38eef659488feadba0eb44f08@mac.com> References: <20050225161127.GB55686@orion.daedalusnetworks.priv> <20050227202639.GB9833@gothmog.gr> <6ecb12f5b29fa031d9210f1995a19546@mac.com> <20050227161826.L41045@wonkity.com> <36c31cd38eef659488feadba0eb44f08@mac.com> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <04c9213d9cb3b4372e8b419a4598ec79@mac.com> Content-Transfer-Encoding: 7bit From: Ken Hawkins Date: Mon, 28 Feb 2005 10:23:15 -0500 To: Ken Hawkins X-Mailer: Apple Mail (2.619.2) cc: freebsd-questions@freebsd.org Subject: Re: complete rookie sendmail question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 15:23:21 -0000 Apologies for the quick post. I found the domain file issue and i had changed the DOMAIN param in freebsd.mc from generic to prosoundweb.com. switching it back to generic obviously took care of that problem however after opening up the SMART_HOST: define(`SMART_HOST', `bhost1.broadjam.net') I am still timing out which leads me to believe it is a true issue of timing between the servers and NOT improper configuration on the box. If i understand everything now by uncommenting the SMART_HOST define and giving it our true mail server this should relay all mail generated and coming from and coming into the server to the actual mail server yes? I also now only have sendmail_enabl="YES" in rc.conf am i way off base here? ken; On Feb 28, 2005, at 10:10 AM, Ken Hawkins wrote: > > On Feb 27, 2005, at 6:25 PM, Warren Block wrote: > >> On Sun, 27 Feb 2005, Ken Hawkins wrote: >> >>> alright I found an old blurb about handling a scenario similar to >>> mine: >>> >>> http://lists.freebsd.org/pipermail/freebsd-questions/2003-July/ >>> 014468.html >>> >>> it essentially says: >>> >>> >>> If you want to get FreeBSD to forward your email to the MS-Exchange >>> server, you have to: >>> >>> 1. make sure sendmail is running. (ie remove sendmail_* lines from >>> /etc/rc.conf) >> >> Put sendmail_enable="YES" in /etc/rc.conf. >> >>> 2. # cd /etc/mail >>> 3. # cp freebsd.mc `hostname`.mc >> >> That's doing things the hard way and might miss things the Makefile >> will do for you. Just: >> >> # cd /etc/mail >> # make >> >>> 4. edit `hostname`.mc and uncomment the following line: >>> >>> define(`SMART_HOST', `your.isp.mail.server') >>> >>> 5. replace `your.isp.mail.server' with your Exchange server. >> >> Or any mail server you are allowed to smarthost through. >> >>> 6. # make >>> 7. # make install >>> 8. # sh /etc/rc.sendmail restart >> >> Should be: >> >> 6. make all install restart >> >> which combines steps 7 and 8. 6 was already done above. >> >>> can anyone point me toward what I require to create a domain file >>> for our in the /usr/share/sendmail/cf/domain/ area? >> >> Let /etc/mail/Makefile help you by using make as shown above. > > did those steps: > > 1 cd /etc/mail > > edited freebsd.mc and changed: > > 2 make > > this generated: > > cp freebsd.mc web1.prosoundweb.com.mc > /usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/ > /usr/share/sendmail/cf/m4/cf.m4 web1.prosoundweb.com.mc > > web1.prosoundweb.com.cf > m4: web1.prosoundweb.com.mc at line 49: > include(/usr/share/sendmail/cf/domain/prosoundweb.com.m4): No such > file or directory > *** Error code 1 > > this is still looking for a prosoundweb.com.m4 file in the domain > area. is there a step I am missing somewhere? > > I copied generic.m4 to prosoundweb.com.m4 and went through 'make all > install restart' > and I am still timing out talking to the host: > > Operation timed out with bhost1.broadjam.net. > > so obviously I am not done here.... > > ken; > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >