From owner-freebsd-questions Sat Jun 29 15: 0:14 2002 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 C38C937B400 for ; Sat, 29 Jun 2002 15:00:08 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id C933543E06 for ; Sat, 29 Jun 2002 15:00:07 -0700 (PDT) (envelope-from charon@labs.gr) Received: from hades.hell.gr (patr530-b131.otenet.gr [212.205.244.139]) by mailsrv.otenet.gr (8.12.4/8.12.4) with ESMTP id g5TM01wF003813; Sun, 30 Jun 2002 01:00:03 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.4/8.12.4) with ESMTP id g5TM03VQ078750; Sun, 30 Jun 2002 01:00:03 +0300 (EEST) (envelope-from charon@labs.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.4/8.12.4/Submit) id g5TLmImI078091; Sun, 30 Jun 2002 00:48:18 +0300 (EEST) (envelope-from charon@labs.gr) Date: Sun, 30 Jun 2002 00:48:17 +0300 From: Giorgos Keramidas To: Andrew Lankford Cc: freebsd-questions@FreeBSD.ORG Subject: Re: about a simple (?) sendmail configuration Message-ID: <20020629214817.GC64524@hades.hell.gr> References: <200206291355531.SM01140@141.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200206291355531.SM01140@141.com> X-Operating-System: FreeBSD 5.0-CURRENT i386 X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 X-Phone: +30-944-116520 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-06-29 15:54 +0000, Andrew Lankford wrote: > So my question is how does one set up sendmail so that it can only > pass on local messages to the system mail queue and > smtpserver.myisp.com? The latter can be done easily with any crumby > windows email client. I had it working a while back, but with the > recent changes (yes, probably for the better) I'm at a loss. Edit your sendmail.mc file (or wherever you keep your master config) and add this line: define(`SMART_HOST', `mail.otenet.gr') Regenerate your sendmail.cf and restart Sendmail. An alternative way of doing the same thing is by editing sendmail.cf itself. Search for the line that reads: DS and change that to the following: DSmail.isp.com This is equivalent to using a SMART_HOST of `mail.isp.com'. - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message