🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

6 total messages Started by Paul Vixie Mon, 20 Jul 1987 17:05
Is there really no TURN command in sendmail's SMTP?
#4309
Author: Paul Vixie
Date: Mon, 20 Jul 1987 17:05
22 lines
1613 bytes
I have a mail wiz here who is implementing an SMTP mailer on his PC (I'll pause
here until the snickers and catcalls die down).  He got the sending side to 
work fairly well, but for reception of mail, he didn't want to tie up his PC
continuously while he waits for incoming SMTP connections.  Remember, the PC
is NOT a multi-tasker.

Therefore he decided to just call up the Vax sendmail and say 'TURN' to get
his mail.  He was surprised to see sendmail reply, 'command not recognized.'
I was surprised, when subsequently examining srvrsmtp.c, to see that there is
no mention of TURN in the list of known SMTP commands.

So, two questions:
	(1) does sendmail really not support TURN?
	(2) has anyone hacked this in?

Hacking it in doesn't seem to difficult -- if it hasn't been done, and I do it,
is anyone else interested in having the patches?
-- 
Paul Vixie
Consultant		(408) 562-7970 (UB)		(415) 674-7023 (me)
Ungermann-Bass		{pyramid,cae780,amd,decvax,weitek,sco}!ubvax!vix
Santa Clara, CA		vix@ubvax.ub.com (uucp)   vix@Engr.UB.Com (CSNET)
Re: Is there really no TURN command in sendmail's SMTP?
#4318
Author: Kevin M. Schofield
Date: Fri, 24 Jul 1987 13:09
34 lines
1906 bytes
In article <1726@ubvax.UUCP> vix@ubvax.UUCP (Paul Vixie) writes:
>
>Therefore he decided to just call up the Vax sendmail and say 'TURN' to get
>his mail.  He was surprised to see sendmail reply, 'command not recognized.'
>I was surprised, when subsequently examining srvrsmtp.c, to see that there is
>no mention of TURN in the list of known SMTP commands.
>
>So, two questions:
>	(1) does sendmail really not support TURN?
>	(2) has anyone hacked this in?
>
>Hacking it in doesn't seem to difficult -- if it hasn't been done, and I do it,
>is anyone else interested in having the patches?
>-- 

1. Sendmail really does NOT support TURN (one in a LONG list of gripes I have 
with sendmail, after just finishing an implementation of SMTP for a computer
that talks to our VAX).
 The minimum implementation of SMTP includes the following commands only:
        HELO
	MAIL
	RCPT
	DATA
	RSET
	NOOP
	QUIT
 
2. I doubt that you'll find anyone who has actually hacked it in... it's
really a bigger deal than it seems. You have to teach sendmail how to read mail
out of a mailbox, dig the appropriate information out of the headers, and
send it along. You might be better off implementing uucp instead. (actually,
I believe that's been done for the PC...)
 
-Kevin
Re: Is there really no TURN command in sendmail's SMTP?
#4320
Author: Kyle Jones
Date: Sun, 26 Jul 1987 16:03
14 lines
1247 bytes
> 2. I doubt that you'll find anyone who has actually hacked it in... it's
> really a bigger deal than it seems. You have to teach sendmail how to read mail
> out of a mailbox, dig the appropriate information out of the headers, and
> send it along. You might be better off implementing uucp instead. (actually,
> I believe that's been done for the PC...)
>  
> -Kevin

Sendmail wouldn't have to do all that!  It would simply have to go through its
queuefiles, looking at the envelope of each letter and determine which ones go
to the host on the other end of the SMTP connection.  The routines to do this
are, of course, already part of sendmail.  You just have to be familiar enough
with sendmail internals to tie SMTP-receiver and the SMTP-sender code
together.
Re: Is there really no TURN command in sendmail's SMTP?
#4325
Author: James M Galvin
Date: Tue, 28 Jul 1987 12:59
16 lines
1306 bytes
In article <1701@xanth.UUCP> kyle@xanth.UUCP (Kyle Jones) writes:
>> 2. I doubt that you'll find anyone who has actually hacked it in... it's
>> really a bigger deal than it seems.
>Sendmail wouldn't have to do all that!  It would simply have to go through its
>queuefiles, looking at the envelope of each letter and determine which ones go
>to the host on the other end of the SMTP connection.

The reason there is no TURN command is much more fundamental.  How do you
verify the identity of the "calling" entity reliably enough to believe you
are giving the mail to the right entity?

True, the security is marginally better when you are doing the "calling"
to deliver, but it is better.

-- 
James M Galvin
Security in SMTP (was TURN command in SMTP)
#4329
Author: Kevin M. Schofield
Date: Thu, 30 Jul 1987 16:15
25 lines
1914 bytes
>>queuefiles, looking at the envelope of each letter and determine which ones go
>>to the host on the other end of the SMTP connection.
>
>The reason there is no TURN command is much more fundamental.  How do you
>verify the identity of the "calling" entity reliably enough to believe you
>are giving the mail to the right entity?
>
>True, the security is marginally better when you are doing the "calling"
Now wait a minute. If we're using SMTP in the first place, aren't we assuming
that there is some form of controlled access to the SMTP server? Like an
ethernet where all the hosts are known? If we can't guarantee that, we have
even bigger security problems than reading someone else's mail. We've got
people sending all sorts of unverified messages.
 
Yeah yeah, I know, SMTP isn't secure. After all, anyone can invoke sendmail
with the -bs flag, and voila! have their own smtp server.  Or even better,
open up a stream socket and connect to the SMTP server on any host. But
getting back to the TURN command, if we're disallowing TURN's because SMTP
isn't secure, we should disallow SMTP in general because it isn't secure.

I guess this all boils down to the fact that SMTP's biggest problem is its
lack of security.

Cheers,
       -Kevin
Re: Security in SMTP (was TURN command in SMTP)
#4336
Author: Robert Elz
Date: Wed, 05 Aug 1987 18:13
18 lines
1512 bytes
In article <6794@dartvax.UUCP>, kevins@dartvax.UUCP (Kevin M. Schofield) writes:
> Now wait a minute. If we're using SMTP in the first place, aren't we assuming
> that there is some form of controlled access to the SMTP server? Like an
> ethernet where all the hosts are known? If we can't guarantee that, we have
> even bigger security problems than reading someone else's mail. We've got
> people sending all sorts of unverified messages.

No, that's a much smaller problem, as the problem with TURN isn't reading
someone else's mail, its purloining it .. when the imposter gets his copy
the real recipient loses it forever.

The same situation applies with paper mail (snail mail).  I can mail a
letter and sign it Ronald Reagan if I feel like it (it might be against
the law, or it might not, but that's immaterial here).  But the post
office won't hand over mail to be if I role up and say "Hi, I'm from
the White House, give me all you've got"...

kre
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads