From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 23:25:53 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 C706D16A4CE for ; Sun, 27 Feb 2005 23:25:53 +0000 (GMT) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50B9643D1F for ; Sun, 27 Feb 2005 23:25:53 +0000 (GMT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.13.3/8.13.1) with ESMTP id j1RNPqUq041112; Sun, 27 Feb 2005 16:25:52 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.13.3/8.13.1/Submit) with ESMTP id j1RNPqIE041109; Sun, 27 Feb 2005 16:25:52 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 27 Feb 2005 16:25:52 -0700 (MST) From: Warren Block To: Ken Hawkins In-Reply-To: <6ecb12f5b29fa031d9210f1995a19546@mac.com> Message-ID: <20050227161826.L41045@wonkity.com> References: <20050225161127.GB55686@orion.daedalusnetworks.priv> <20050227202639.GB9833@gothmog.gr> <6ecb12f5b29fa031d9210f1995a19546@mac.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (wonkity.com [127.0.0.1]); Sun, 27 Feb 2005 16:25:52 -0700 (MST) 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: Sun, 27 Feb 2005 23:25:53 -0000 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. -Warren Block * Rapid City, South Dakota USA