From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 2 00:10:03 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2977A16A4DA for ; Sat, 2 Sep 2006 00:10:03 +0000 (UTC) (envelope-from tech@nano.net) Received: from mail.smallweb.com (mail.smallweb.com [216.85.125.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D4E843D45 for ; Sat, 2 Sep 2006 00:10:02 +0000 (GMT) (envelope-from tech@nano.net) Received: from [216.85.125.9] (sixpence.nano.net [216.85.125.9]) by mail.smallweb.com (Rockliffe SMTPRA 5.3.11) with ESMTP id ; Fri, 1 Sep 2006 18:17:14 -0600 Message-ID: <44F8CBD3.4090908@nano.net> Date: Fri, 01 Sep 2006 18:09:55 -0600 From: Steve Suhre User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dan Busarow References: <44F8A238.3080001@nano.net> <20060901213455.GC749@turion.vk2pj.dyndns.org> <44F8AC2E.10604@pasta.net> <20060901222332.GD749@turion.vk2pj.dyndns.org> <89202C6E-DA1B-46F9-890E-98DAB58EDC51@dpcsys.com> In-Reply-To: <89202C6E-DA1B-46F9-890E-98DAB58EDC51@dpcsys.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Steve Suhre Subject: Re: sendmail X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2006 00:10:03 -0000 Thanks Dan. I did try putting "name+*@woohoo.com" to catch all of the "name123@woohoo.com" addresses, but it didn't seem to help. I'll try your suggestions. Dan Busarow wrote: > > On Sep 1, 2006, at 4:23 PM, Peter Jeremy wrote: > >> On Fri, 2006-Sep-01 15:54:54 -0600, Steve Suhre wrote: >> >>> The domain is resolvable. It's a local domain, that's why the server >>> rejects the message. It can see that the username doesn't exist and >>> dumps the connection right away. Here's an example, the mail never gets >>> sent. "woohoo.com" is the local domain: >>> >>> Fri Sep 01 17:00:35 GMT+00:00 2006Opening connection to MailServer >>> Fri Sep 01 17:00:35 GMT+00:00 2006 Sending Mail message >>> Fri Sep 01 17:00:35 GMT+00:00 2006SMTP msg sent:HELO napserver.DBTDNS >>> Fri Sep 01 17:00:35 GMT+00:00 2006SMTP response220 mail.domain.com >>> ESMTP Sendmail 8.12.10/8.12.10; Fri, 1 Sep 2006 10:59:12 -0600 (MDT) >>> Fri Sep 01 17:00:35 GMT+00:00 2006SMTP msg sent:MAIL FROM: >>> name5612@woohoo.com >>> Fri Sep 01 17:00:35 GMT+00:00 2006SMTP response250 mail.domain.com >>> Hello 123-45-67-150.woohoo.com [123.45.67.150] (may be forged), >>> pleased to meet you >>> Fri Sep 01 17:00:35 GMT+00:00 2006SMTP msg sent:RCPT TO: >>> kripton@hoowoo.com >>> Fri Sep 01 17:00:35 GMT+00:00 2006SMTP response553 5.3.0 >>> name5612@woohoo.com... User Unknown >>> Fri Sep 01 17:00:35 GMT+00:00 2006SMTP msg sent:DATA >>> Fri Sep 01 17:00:35 GMT+00:00 2006SMTP response503 5.0.0 Need MAIL >>> before RCPT >>> Fri Sep 01 17:00:35 GMT+00:00 2006SMTP response503 5.0.0 Need MAIL >>> command >> >> >> I can't reproduce this with sendmail 8.13 (though I'm not sure I'm >> correctly replicating your environment). I suggest you either UTSL or >> ask on a sendmail list. > > > I was able to duplicate it. > > It seems to kick when when the sender domain is in your virtusertable > with entries like > > a@woohoo.com a > b@woohoo.com b > @woohoo.com error:nouser User Unknown > > If the domain does not have the error condition, i.e. lets the address > fall through as a local user, then sendmail does not complain. With > the error condition you'll see behaviour just as described. > > This is part of check_mail which you *do not* want to disable. So > you'll need to either change your virtusertable to use a catchall > > @woohoo.com nobody > > or remove the bare @woohoo.com from the virtusertable and let the > address fall through as a local user. > > Dan > > > > > > -- Steve Suhre steve@pasta.net 719.439.6052 Cell 719.632.2897 Home 719.634.8161 Work