From owner-freebsd-questions@FreeBSD.ORG Thu Oct 26 13:01:34 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 E06CC16A403 for ; Thu, 26 Oct 2006 13:01:34 +0000 (UTC) (envelope-from ke.han@redstarling.com) Received: from smtp102.biz.mail.mud.yahoo.com (smtp102.biz.mail.mud.yahoo.com [68.142.200.237]) by mx1.FreeBSD.org (Postfix) with SMTP id 73F0C43D53 for ; Thu, 26 Oct 2006 13:00:19 +0000 (GMT) (envelope-from ke.han@redstarling.com) Received: (qmail 21923 invoked from network); 26 Oct 2006 13:00:18 -0000 Received: from unknown (HELO ?192.168.1.20?) (ke.han@redstarling.com@61.170.139.203 with plain) by smtp102.biz.mail.mud.yahoo.com with SMTP; 26 Oct 2006 13:00:18 -0000 Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions Questions list From: ke han Date: Thu, 26 Oct 2006 21:00:14 +0800 X-Mailer: Apple Mail (2.752.3) Subject: local smtp agent X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2006 13:01:35 -0000 I have an application on my FreeBSD 6.1 server which needs to send out e-mail. I have access to a a well managed SMTP server on another server. I would like to send e-mail from my app to a local SMTP agent which then handles sending to the "real" SMTP server in a more fault-tolerant manner than I can easily achieve with my app code. I believe this to be a typical scenario. What is the recommended approach? Use the default sendmail?or use procmail? Is there a howto someone can point me to? Does the recommendation change if the local SMTP agent needs to connect to the "real" SMTP server using TLS with id and password? thanks, ke han