george+freebsd | 1 Sep 23:08 2006

Wiring umass unit numbers

I have a USB floppy drive and a USB flash card reader/writer.  At
various times, neither, one, or both devices are plugged into the
computer.  Depending upon when each is plugged in, the floppy
drive might become /dev/da0 and the flash reader/writer /dev/da1,
or vice versa.  Is there a way to specify which should be which?
-- George Mitchell

_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"

Steve Suhre | 1 Sep 23:12 2006
Picon

sendmail


Hope it's ok to ask a sendmail question here, I've exhausted the news
groups and web....

I'm running sendmail 8.12 and it seems to have a "MAIL FROM" test in it
somewhere. Mail "FROM" is not an effective spam defense and I have it
locked down otherwise, so I want to shut off the "MAIL FROM" test in
sendmail. I have a client who sends out email alerts using the server
and uses a random invalid return address for each alert. Sendmail is
rejecting the messages based on the From field. I have their server's IP
address in the relay-domains file, but it's ignoring that and rejecting
the mail anyway.

I've tried adding the address to the virtusertable db, aliases, and the
access db as "RELAY" as "name+*" ,  and sendmail still rejects the messages.

ANY ideas will be appreciated.....

--

-- 

Steve Suhre
steve <at> pasta.net
719.439.6052 Cell
719.632.2897 Home
719.634.8161 Work

_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"
(Continue reading)

Peter Jeremy | 1 Sep 23:34 2006
Picon

Re: sendmail

On Fri, 2006-Sep-01 15:12:24 -0600, Steve Suhre wrote:
>somewhere. Mail "FROM" is not an effective spam defense and I have it

Every little bit helps.

> so I want to shut off the "MAIL FROM" test in
>sendmail. I have a client who sends out email alerts using the server
>and uses a random invalid return address for each alert. Sendmail is
>rejecting the messages based on the From field.

Have you tried:
FEATURE(`accept_unresolvable_domains')

--

-- 
Peter Jeremy
Steve Suhre | 1 Sep 23:59 2006
Picon

Re: sendmail


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

Peter Jeremy wrote:

>On Fri, 2006-Sep-01 15:12:24 -0600, Steve Suhre wrote:
>  
>
>>somewhere. Mail "FROM" is not an effective spam defense and I have it
(Continue reading)

Stanislav Sedov | 2 Sep 00:08 2006
Picon

Re: Wiring umass unit numbers

On Fri, 1 Sep 2006 14:08:49 -0700 (PDT)
george+freebsd <at> m5p.com mentioned:

> I have a USB floppy drive and a USB flash card reader/writer.  At
> various times, neither, one, or both devices are plugged into the
> computer.  Depending upon when each is plugged in, the floppy
> drive might become /dev/da0 and the flash reader/writer /dev/da1,
> or vice versa.  Is there a way to specify which should be which?

AFAIK, no, but if you just need to have constant device names, you
can use labels provided by glabel(8), e.g. if you issue
# glabel label -v MYFLASH /dev/da0 when da0 is flash, you'll
always have /dev/label/MYFLASH entry whenever you flash is
plugged.

Unfortunately, this technique can't be used with floppy, for
glabel information is stored on the media itself, that is you
need to label every floppy separately.

Hope that helps.

--

-- 
Stanislav Sedov         MBSD labs, Inc.         <ssedov <at> mbsd.msk.ru>
Россия, Москва         http://mbsd.msk.ru

--------------------------------------------------------------------
If the facts don't fit the theory, change the facts.  -- A. Einstein
--------------------------------------------------------------------
PGP fingerprint:  F21E D6CC 5626 9609 6CE2  A385 2BF5 5993 EB26 9581
(Continue reading)

Peter Jeremy | 2 Sep 00:23 2006
Picon

Re: sendmail

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.

--

-- 
Peter Jeremy
Steve Suhre | 2 Sep 01:12 2006
Picon

Re: sendmail


I moved them to another server where "wohoo.com" isn't set up and it's 
working fine. But I need to figure out why sendmail HAS to check the 
local server and shut that part off. It's an "issue".

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
>>    
>>
(Continue reading)

Dan Busarow | 2 Sep 01:16 2006

Re: sendmail


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
>
(Continue reading)

Steve Suhre | 1 Sep 23:08 2006
Picon

sendmail


Hope it's ok to ask a sendmail question here, I've exhausted the news 
groups and web....

I'm running sendmail 8.12 and it seems to have a "MAIL FROM" test in it 
somewhere. Mail "FROM" is not an effective spam defense and I have it 
locked down otherwise, so I want to shut off the "MAIL FROM" test in 
sendmail. I have a client who sends out email alerts using the server 
and uses a random invalid return address for each alert. Sendmail is 
rejecting the messages based on the From field. I have their server's IP 
address in the relay-domains file, but it's ignoring that and rejecting 
the mail anyway.

I've tried adding the address to the virtusertable db, aliases, and the 
access db as "RELAY" as "name+*" ,  and sendmail still rejects the messages.

ANY ideas will be appreciated.....

--

-- 

Steve Suhre
steve <at> pasta.net
719.439.6052 Cell
719.632.2897 Home
719.634.8161 Work

_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"
(Continue reading)

Steve Suhre | 1 Sep 23:54 2006
Picon

Re: sendmail


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

Peter Jeremy wrote:

>On Fri, 2006-Sep-01 15:12:24 -0600, Steve Suhre wrote:
>  
>
>>somewhere. Mail "FROM" is not an effective spam defense and I have it
(Continue reading)


Gmane