From owner-freebsd-isp Tue Dec 10 8:23:28 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B37DD37B401 for ; Tue, 10 Dec 2002 08:23:27 -0800 (PST) Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FFBB43EB2 for ; Tue, 10 Dec 2002 08:23:24 -0800 (PST) (envelope-from nate@yogotech.com) Received: from emerger.yogotech.com (emerger.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA20435; Tue, 10 Dec 2002 09:23:12 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by emerger.yogotech.com (8.12.6/8.12.6) id gBAGN7HP003272; Tue, 10 Dec 2002 09:23:07 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15862.5355.202128.207106@emerger.yogotech.com> Date: Tue, 10 Dec 2002 09:23:07 -0700 To: Nick Kraal Cc: freebsd-isp@FreeBSD.ORG Subject: Re: OTT: SMTP settings on FreeBSD In-Reply-To: <018a01c2a046$76b4a3e0$53e173cb@arc.net.my> References: <3DD1FEF4.F727D6@FreeBSD.org> <018a01c2a046$76b4a3e0$53e173cb@arc.net.my> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Perhaps slightly OTT. I would like to send mail out from my FreeBSD box via > an external SMTP server and if possible retrieve mail via POP3. For whatever > reason I don't want to use the local inbuilt sendmail. It works fine. This is how I setup my mail server on my box, which allows me to use better mail filtering tools (using fetchmail which delivers things locally so I can use procmail), while still leaving the box safe from external hacking. You must do a couple of things. * Add a SMART_HOST entry to your sendmail MC file. define(`SMART_HOST', `smarthost.do.main') * Make sure that your host has an MX record for your box that points to the SMART host with DNS, so that mail will be delivered to it instead of your box. * (optional) Depending on your configuration, you may also need to add an mail alias to your box for 'SMART_HOST'. I have both my internal and external boxes masquarade as my entire domain, so it all works right, but you may have to mess with /etc/mail/sendmail.cw. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message