From owner-freebsd-questions@FreeBSD.ORG Mon Sep 8 17:08:43 2003 Return-Path: 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 2BF4D16A4BF for ; Mon, 8 Sep 2003 17:08:43 -0700 (PDT) Received: from tomts7-srv.bellnexxia.net (tomts7.bellnexxia.net [209.226.175.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBFAE43FD7 for ; Mon, 8 Sep 2003 17:08:41 -0700 (PDT) (envelope-from matt@compar.com) Received: from hermes ([65.95.185.143]) by tomts7-srv.bellnexxia.net (InterMail vM.5.01.06.04 201-253-122-130-104-20030726) with SMTP id <20030909000840.VDGK10698.tomts7-srv.bellnexxia.net@hermes>; Mon, 8 Sep 2003 20:08:40 -0400 Message-ID: <002101c37666$399406d0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Doug Lee" , References: <20030908162559.GG73789@kirk.dlee.org><20030908163741.3451.qmail@letric.mygirlfriday.info><20030908164646.GH73789@kirk.dlee.org><20030908170031.3551.qmail@letric.mygirlfriday.info><20030908170815.GJ73789@kirk.dlee.org><20030908174039.3672.qmail@letric.mygirlfriday.info><20030908180515.GK73789@kirk.dlee.org><20030908192011.3974.qmail@letric.mygirlfriday.info> <20030908233905.GN73789@kirk.dlee.org> Date: Mon, 8 Sep 2003 20:06:31 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: Empty AUTH=<> in SMTP from Mutt message causing refused mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 00:08:43 -0000 > On Mon, Sep 08, 2003 at 02:20:11PM -0500, Gary wrote: > > Here is what I am thinking... 1. You mentioned you can send via other > > MUAs, pine, etc, so I am inclined to think that your SMTP auth is set up > > properly in Sendmail... 2. Given this, I still think it could be a Mutt > > problem.. I think you are getting a null Auth return because Mutt is not > > sending your password in order to auth the SMTP transaction, and it is > > getting bounced. > > The only confusing thing there is that Mutt doesn't do anything to > authenticate to SMTP; neither does Pine or any other mailer we use. > Initially I wanted to set that up, but as things are now, we don't use > that. You could still be right; I must be overlooking something. > > > the only other thing I can think of, to rule out Sendmail as a cause, is > > to log the entire SMTP transaction, say using Pine and Mutt with your > > problem server. > > Here's a sample of that, from Mutt. I replaced the company name in > the banner with [companyName]. > > 220 webshielde250.[companyName] WebShielde250/SMTP Ready. > EHLO kirk.dlee.org > 250-DSN > 250-AUTH LOGIN > 250-AUTH=LOGIN > 250 ESMTP OK > MAIL From: AUTH=<> > 501 Syntax error - badly formatted address > quit > 221 Closing connection > > The only difference from Pine is the " AUTH=<>" at the end of "MAIL > From:" is not there, and it works... Sendmail is barfing on the AUTH=<> clause. Although allowed by the RFC (http://www.faqs.org/rfcs/rfc2554.html), sendmail's refusal may well be valid since you haven't actually entered authenticated SMTP mode. (In this case, issuing a AUTH LOGIN before the MAIL FROM.) The reason why your other MUAs work is beacuse they simply don't send the AUTH=<> token if they're not doing authenticated SMTP. -- Matt Emmerton