From owner-freebsd-questions@FreeBSD.ORG Sun Mar 11 22:28:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7404E16A402 for ; Sun, 11 Mar 2007 22:28:27 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by mx1.freebsd.org (Postfix) with ESMTP id 3E5BF13C48C for ; Sun, 11 Mar 2007 22:28:27 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id 394121F77FD; Sun, 11 Mar 2007 18:28:27 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by out1.internal (MEProxy); Sun, 11 Mar 2007 18:28:27 -0400 X-Sasl-enc: XW2w3K/kvnGvPRzme5kUZU2N09x0HtpDT/L8byl68k1g 1173652106 Received: from [10.1.10.136] (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTP id CE9E013FD1; Sun, 11 Mar 2007 18:28:26 -0400 (EDT) In-Reply-To: <6660f1280703110845w52b8babapf2814da0ac6424ae@mail.gmail.com> References: <6660f1280703110845w52b8babapf2814da0ac6424ae@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <56A5B5E4-5644-4C50-9346-5EC9A372C3DB@goldmark.org> Content-Transfer-Encoding: 7bit From: Jeffrey Goldberg Date: Sun, 11 Mar 2007 17:28:23 -0500 To: Ed Zwart X-Mailer: Apple Mail (2.752.2) Cc: freebsd-questions@freebsd.org Subject: Re: getting mail to work 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: Sun, 11 Mar 2007 22:28:27 -0000 [mailed and posted] On Mar 11, 2007, at 10:45 AM, Ed Zwart wrote: > I own my_domain.com. I've paid a hoster for the last couple years, > but that's ending in a week or so. Meanwhile, I've used dyndns to > point foo.homedns.org to my IP. I am going to add my voice to those suggesting that you use your ISP's mail server for outgoing mail. There are a number of reasons. First of all, if you are on a dynamic IP, it is very likely that your ISP blocks outgoing STMP traffic that doesn't go via their own mail server. That is, they won't allow "direct to MX" mailing from dynamic addresses. Another reason is that it just isn't a good idea to run your own direct to MX mail system, unless you have some real expertise in how mail transport works. Professionally, I set up mail servers for small and medium sized businesses, and in more and more cases, I actually suggest that they use outside mail servers for their out going mail. (Generally, I think that ISPs tend to do really poor jobs with email and that it is best to avoid being locked into your ISP for much, so I recommend services like fastmail.fm.) Let me also add, that while I do set up and manage mail servers for others, I don't do direct to MX from home myself. (Well, I do for a mailing list server I run, but not for my normal everyday mailing.) So even with the expertise needed, I don't really recommend running your own MX (incoming) or own Direct to MX (outgoing) servers unless you have a specific need to fill. Anyway With postfix you just need to specify relayhost=YOUR-ISPS-OUTGOING-SMTP-SERVER-HERE in /usr/local/etc/postfix/main.cf and then run # postfix reload Then just send a test, eg $ mail -s test your@external-email-addres < /dev/null to see what happens. If your ISP wants authentication for handling your outgoing mail, look at http://macosx.com/tech-support/smtp-relay-host-authentication/938.html which describes how to configure postfix for that on Mac OS X. For FreeBSD just replace /private/etc/postfix/ in all of the paths mentioned with /usr/local/etc/postfix/ -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/