sendmail
Steve Suhre
tech at nano.net
Fri Sep 1 17:10:03 PDT 2006
Thanks Dan. I did try putting "name+*@woohoo.com" to catch all of the
"name123 at 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 at 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 at hoowoo.com
>>> Fri Sep 01 17:00:35 GMT+00:00 2006SMTP response553 5.3.0
>>> name5612 at 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 at woohoo.com a
> b at 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 at pasta.net
719.439.6052 Cell
719.632.2897 Home
719.634.8161 Work
More information about the freebsd-hackers
mailing list