Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Sep 2006 17:16:10 -0600
From:      Dan Busarow <dan@dpcsys.com>
To:        Steve Suhre <steve@pasta.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: sendmail
Message-ID:  <89202C6E-DA1B-46F9-890E-98DAB58EDC51@dpcsys.com>
In-Reply-To: <20060901222332.GD749@turion.vk2pj.dyndns.org>
References:  <44F8A238.3080001@nano.net> <20060901213455.GC749@turion.vk2pj.dyndns.org> <44F8AC2E.10604@pasta.net> <20060901222332.GD749@turion.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?89202C6E-DA1B-46F9-890E-98DAB58EDC51>