From owner-freebsd-questions@FreeBSD.ORG Wed Sep 16 22:45:39 2009 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 2C7FB1065695 for ; Wed, 16 Sep 2009 22:45:39 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id B083E8FC15 for ; Wed, 16 Sep 2009 22:45:38 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1Mo3Fl-0006co-TH for freebsd-questions@freebsd.org; Thu, 17 Sep 2009 00:45:33 +0200 Received: from pool-71-166-131-164.washdc.east.verizon.net ([71.166.131.164]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Sep 2009 00:45:33 +0200 Received: from nightrecon by pool-71-166-131-164.washdc.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Sep 2009 00:45:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Wed, 16 Sep 2009 18:45:50 -0400 Lines: 34 Message-ID: References: <20090916222135.GA48517@kokopelli.hydra> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-71-166-131-164.washdc.east.verizon.net Sender: news Subject: Re: sSMTP, this mailing list, and helo errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2009 22:45:39 -0000 Chad Perrin wrote: > I moved email from a FreeBSD 6.2 machine to a FreeBSD 7.2 machine. > > On both machines, I'm using sSMTP[1] to send email to a mailserver > managed by a shared hosting server, with SSL/TLS authentication. > Everything works, except for one "small" problem -- sending email to this > list. It has apparently exposed a problem with the setup. I get a "Helo > command rejected: Host not found" error when sending to this list. > > The weird part is that I'm using *exactly* the same ssmtp.conf file on > both the 7.2 system and the 6.2 system. As you can see -- since this > email comes from the 6.2 system -- that configuration file isn't causing > any problems sending with sSMTP on 6.2, so I'm a little confused about > the cause of the problem. Where else should I look for a problem? > My first guess would be DNS. Whenever I see something like a 'host not found' of this nature I think "no PTR record". Although I would think wrt mail the MX record would matter. My thinking is the two configs you have mentioned being identical the problem is a third config somewhere else, and first thing I'd look at is name resolution, forward and reverse. Grab a copy of the transaction with tcpdump or Wireshark. Perhaps the list filtering software is seeing mail with a From: it isn't recognizing and blocking. Tcpdump/Wireshark from both hosts and compare for differences in the mail headers, e.g., the one that works and the one that doesn't. With Wireshark this is easy, just start a capture, send an email, stop capture, and use the "Follow TCP Stream" menu option. Or use tcpdump and import it into Wireshark. -Mike