From owner-freebsd-questions@FreeBSD.ORG Mon Sep 8 17:35:17 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 C1FD216A4BF for ; Mon, 8 Sep 2003 17:35:17 -0700 (PDT) Received: from kirk.dlee.org (pool-138-88-48-76.res.east.verizon.net [138.88.48.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3153F43FD7 for ; Mon, 8 Sep 2003 17:35:15 -0700 (PDT) (envelope-from dgl@kirk.dlee.org) Received: from kirk.dlee.org (dgl@localhost.dlee.org [127.0.0.1]) by kirk.dlee.org (8.12.8/8.12.9) with ESMTP id h890ZAhs090872; Mon, 8 Sep 2003 20:35:10 -0400 (EDT) (envelope-from dgl@kirk.dlee.org) Received: (from dgl@localhost) by kirk.dlee.org (8.12.8/8.12.9/Submit) id h890ZAsN090871; Mon, 8 Sep 2003 20:35:10 -0400 (EDT) Date: Mon, 8 Sep 2003 20:35:10 -0400 From: Doug Lee To: Matthew Emmerton Message-ID: <20030909003510.GO73789@kirk.dlee.org> Mail-Followup-To: Doug Lee , Matthew Emmerton , freebsd-questions@freebsd.org References: <20030908233905.GN73789@kirk.dlee.org> <002101c37666$399406d0$1200a8c0@gsicomp.on.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002101c37666$399406d0$1200a8c0@gsicomp.on.ca> User-Agent: Mutt/1.3.25i Organization: Bartimaeus Group cc: freebsd-questions@freebsd.org 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:35:18 -0000 Forgive me if I'm confused here, but... On Mon, Sep 08, 2003 at 08:06:31PM -0400, Matthew Emmerton wrote: > > 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. Mutt talks to my local (sendmail) SMTP without incident though, unless I'm mistaken; it's the conversation between my local sendmail and the WebShield system at the other end. The "syntax error" message is produced by the WebShield system. I think it's my local sendmail that's sending the AUTH=<> token. In case it helps, here's a syslog of another attempt, with user@company.com, mailrelay.company.com, and substitutions for the final destination user/domain/relay/ip: > Sep 8 20:26:03 kirk sendmail[90807]: h890Q2HR090807: from=dgl, size=313, class=0, nrcpts=1, msgid=<20030909002601.GA90798@kirk.dlee.org>, relay=dgl@localhost Sep 8 20:26:03 kirk sm-mta[90808]: h890Q3hs090808: from=, size=476, class=0, nrcpts=1, msgid=<20030909002601.GA90798@kirk.dlee.org>, proto=ESMTP, daemon=MTA, relay=dgl@localhost.dlee.org [127.0.0.1] Sep 8 20:26:03 kirk sendmail[90807]: h890Q2HR090807: to=user@company.com, ctladdr=dgl (10000/20), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30313, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (h890Q3hs090808 Message accepted for delivery) Sep 8 20:26:04 kirk sm-mta[90811]: h890Q3hs090808: to=, ctladdr= (10000/20), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30476, relay=mailrelay.company.com. [], dsn=5.6.0, stat=Data format error Sep 8 20:26:04 kirk sm-mta[90811]: h890Q3hs090808: h890Q4hs090811: DSN: Data format error Sep 8 20:26:07 kirk sm-mta[90811]: h890Q4hs090811: to=, delay=00:00:03, xdelay=00:00:03, mailer=local, pri=30000, dsn=2.0.0, stat=Sent If I read this right, it shows a complete Mutt-->localSendmail transaction, a failed localSendmail-->destination transaction, and a successful localSendmail transmission of the error message back to me. Comments welcome. > -- > Matt Emmerton -- Doug Lee dgl@dlee.org http://www.dlee.org Bartimaeus Group doug@bartsite.com http://www.bartsite.com "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum