From owner-freebsd-isp Wed Dec 11 18:50:59 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 7EC2237B401 for ; Wed, 11 Dec 2002 18:50:58 -0800 (PST) Received: from zephir.primus.ca (mail.tor.primus.ca [216.254.136.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75BA443EE6 for ; Wed, 11 Dec 2002 18:50:54 -0800 (PST) (envelope-from leth@primus.ca) Received: from dialin-155-91.tor.primus.ca ([216.254.155.91]) by boreas1.primus.ca with esmtp (Exim 3.36 #3) id 18LmT1-0002KR-0A; Tue, 10 Dec 2002 10:38:39 -0500 Date: Tue, 10 Dec 2002 10:38:50 -0500 (EST) From: Jason Hunt X-X-Sender: leth@lethargic.dyndns.org To: Nick Kraal Cc: freebsd-isp@FreeBSD.ORG Subject: Re: OTT: SMTP settings on FreeBSD In-Reply-To: <018a01c2a046$76b4a3e0$53e173cb@arc.net.my> Message-ID: <20021210095413.P6497-100000@lethargic.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Tue, 10 Dec 2002, Nick Kraal wrote: > 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. > > Any ideas or pointers? > Firstly, and sorrying for trolling, but unless you are running a mail server, I personally think you might as well just use sendmail on a workstation. I'm not going to start yet another debate over MTAs, but that is my opinion. If you put 'sendmail_enable="NO"' in your /etc/rc.conf, sendmail will not accept mail from anyone other than localhost. If you're really paranoid because you think sendmail is some kind of big bad evil program and is a risk to your system just because of a bad track record in the 1990's, even though it now runs as a non-privileged user, install a different MTA :) Chapter 20.4 of the handbook can help you with this. Better yet, block incoming port 25 connections. However, most people will likely agree that simply setting sendmail_enable="NO" should suffice. Anyways, as for suggestions, I have my MUA (which is pine) configured to send outgoing mail directly to my ISPs SMTP server, instead of giving it to the local sendmail program. It was easier to tell pine which SMTP server to use, rather than giving all my mail to sendmail and configuring it to forward all outgoing mail to the ISPs SMTP server. I then configured fetchmail to download all my mail from my ISPs POP3 server. I created a .fetchmailrc in my home directory, and then configured a crontab to run fetchmail every 15 mins. You can tell fetchmail to either pass the messages to sendmail or to put them into your mail spool directly. I put them through sendmail so that I can use procmail for sorting. Hope this helps. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message