From owner-freebsd-questions@FreeBSD.ORG Thu Jul 1 19:45:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E10FE1065676 for ; Thu, 1 Jul 2010 19:45:02 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 989C48FC1A for ; Thu, 1 Jul 2010 19:45:02 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o61Jj1AG084253; Thu, 1 Jul 2010 13:45:01 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o61Jj1Zp084250; Thu, 1 Jul 2010 13:45:01 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 1 Jul 2010 13:45:01 -0600 (MDT) From: Warren Block To: J In-Reply-To: <800552.84775.qm@web52705.mail.re2.yahoo.com> Message-ID: References: <800552.84775.qm@web52705.mail.re2.yahoo.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.5 (wonkity.com [127.0.0.1]); Thu, 01 Jul 2010 13:45:01 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: Sendmail - One Trick Pony 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, 01 Jul 2010 19:45:03 -0000 On Thu, 1 Jul 2010, J wrote: > > I'd like to set up Sendmail to facilitate e-mail (with attached jpeg) delivery to an internet account from my wireless IP > camera. That's all I want it to do, nothing more. I've been a very satisfied FreeBSD user for a few > years and am reasonably comfortable with OS and software configuration, but I have literally > no knowledge of mail servers or configuring Sendmail. Some people suggest using other programs > such as Postfix, but I'd rather get this work with Sendmail. I > did install the cyrus-sasl2 port as well as saslauthd, since I thought I might have an authentication > problem. Beyond that the only other things I've done are: > > 1. sendmail_enable="YES" > in rc.conf > 2. (camera's ip address) RELAY > in /etc/mail/access > > I'm seeing my webmail account information (address and relay server) in maillog and when I use > sendmail verbose, I see what looks like a successful transaction but the mail never gets delivered. So > it would seem that the camera is communication fine with my FreeBSD server, but the mail isn't getting > transmitted out to the internet. Probably you need to set SMART_HOST to use your ISP's mail server. As root, # cd /etc/mail # make That will create your hostname.mc file if it's not already there. Locate the SMART_HOST line, remove the dnl to uncomment it, and enter the name of your ISP's mail server. After that, # make all install restart