Re: Current status?
- From: John Santos <john.santos@xxxxxxxxxxxxxxxx>
- Date: Tue, 09 Sep 2008 05:16:17 GMT
In article <ga4ia0$8jh$1@xxxxxxxxxxxxxxxxx>, david20@xxxxxxxxxxxxxxxx
says...
In article <6ikm81Frd7puU1@xxxxxxxxxxxxxxxxxx>, billg999@xxxxxxxxxxx (Bill Gunshannon) writes:
In article <g9r0lf$g15$1@xxxxxxxxxxxxxxxxx>,As RFC 2476 says in section 1
david20@xxxxxxxxxxxxxxxx writes:
In article <7h%vk.609$393.335@trnddc05>, John Santos <john@xxxxxxx> writes:
Bill Gunshannon wrote:
In article <g9pl82$lh7$4@xxxxxxxxx>,
helbig@xxxxxxxxxxxxxxxxxxxxxxxx (Phillip Helbig---remove CLOTHES to reply) writes:
In article <t_Wvk.2076$U5.1028@xxxxxxxxxxxxxxx>,
=?ISO-8859-1?Q?Jan-Erik_S=F6derholm?= <jan-erik.soderholm@xxxxxxxxx>
writes:
Yup. I think that many of the problems arise because MUAs use the same
protocol (SMTP) and port (25) to send mail to MTAs as MTAs use to relay
mail to each other.
Modern MTAs can be configured to allow mail clients to submit mail to them on
the mail submission port (port 587) rather than port 25. See RFC 2476
http://www.faqs.org/rfcs/rfc2476.html
What does this buy you? You would still need to know who your MTA is
andc it would still need to be willing to accept email from you. It is
all the silly little notification apps that wree brought up here as
justification for allowing anybody to use port 25. They have no builtin
method of authenticating so the port number used changes nothing. I
certainly would not accept email on my MTA from someone on port 587 that
I would not also accept on port 25. The purpose of port 587 sand RFC
2476 is noto to control SPAM it is to make sure outgoing email meets
the proper formating requoirements of the other RFC's.
"
Separating messages into submissions and transfers allows developers
and network administrators to more easily:
* Implement security policies and guard against unauthorized mail
relaying or injection of unsolicited bulk mail
* Implement authenticated submission, including off-site submission
by authorized users such as travelers
"
In order for SMTP mail to function your MTA has to accept connections on port
25 from pretty much anywhere. You cannot setup port 25 to only accept
unauthenticated mail from certain internal systems and to require all other
mail to be authenticated because that would stop you receiving mail from all
over the world. However with the submission port you can set it up so that it
will only accept unauthenticated connections from certain internal addresses
and will REQUIRE all other connections to be authenticated using
SASL/SMTP-AUTH. Hence you can split mail into two different trust levels -
mail coming over port 25 and the more trusted mail from your own
users/internal systems coming over the submission port.
This also ties in with anti-spam measures such as SPF where you can no longer
have your homeworkers using their work domain when sending mail out through
their local ISP but instead have to have them sending via your organisation's
MTAs (since those are the only MTAs registered to be able to use that domain).
To prevent anti-relaying you will need your remote users to authenticate using
SASL/SMTP-AUTH when sending through your organisation's MTAs and this is best
accomplished using the submission port (not least because the ISP may well be
blocking direct connections to external systems over port 25 but should not be
blocking the submission port - which should be more secure since anyone setting
it up should require remote connections to it to be authenticated).
On the other hand MTAs talk to MUAs (when delivering
mail) using either of 2 different protocols (that I know of), POP3 on
port 110 and IMAP on port 143. (I don't think anything does POP2 on
port 109 any more.)
Logically there are three parties involved not two.
MTA, MUA and Message store.
Not sure what you make as differnt with "Message store". Unless you
are separating the guy MTA from the machine that runs POP or IMAP.
I don't see that as necessarily being a separate Email function although
it is possible and may even have some utility on a big enough system.
A POP Server, IMAP Server and SMTP server are three totally different services.
The point is that POP and IMAP are not used by the MTA to deliver mail to
anybody. POP and IMAP are as explained below strictly used to access the
message store.
ie the statement
"
On the other hand MTAs talk to MUAs (when delivering
mail) using either of 2 different protocols (that I know of), POP3 on
port 110 and IMAP on port 143. (I don't think anything does POP2 on
port 109 any more.)
"
is nonsense.
I beg to differ. The point is that the last step of the mail transfer
(reception by the mail client) is different from the previous steps.
I was trying to be brief (never works), so left out all the details
of how the mail gets from the SMTP server to the IMAP and POP servers.
The mail client, using either POP or IMAP, *pulls* the mail and
*doesn't* use SMTP for this. I skipped over the complexity of
describing mail stores because it was beside the point.
Whether the destination MTA is also a POP/IMAP server is an
implementation detail. Sendmail uses various delivery agents
to write to the mail store, and a separate POP or IMAP server
reads and delivers to the client at the client's request. MX
and the SMTP servers included in the various VMS stacks use
callable VMS MAIL to write the mail to the regular VMS mail files.
(At least, TCPware and UCX work this way, I assume Multinet works
like TCPware.) I think PMDF uses its own mail store, but I don't
know, having never used it. I don't know if the PMDF POP/IMAP
servers are included in the SMTP server, or if they are separate
processes, or if PMDF just uses the underlying stack's POP and
IMAP servers. I don't know what MS Exchange does and don't
really want to. :-) How the recipient MTA interacts with the
recipient MUA is an unimportant implementation detail, I was
just trying to point out that it's different and uses a different
protocol.
The MTA delivers mail to another MTA or to a message store.
The MUA originates mail and sends it to a MTA.
Mail clients generally incorporate the above MUA functionality together with
the ability to display and manipulate mail in the message store.
POP and IMAP are protocols used to access and manipulate the message store.
They are NOT used to deliver mail to the message store.
Agreed, but the "Message Store" is not necessarily even a part of the
Email system and I don't believe it has ever been considered by IETF.
I have users who use NFS to read their email. Does that make NFS an
Email Protocol, too? And, of course, Wessage Store is also irrelevant
to the problem of how to get the email system to be more immune to SPAM.
Sure it is. The mail has to go *somewhere* eventually. It can't just
keep spinning around the Internet forever :-) Bur usually, it goes to
the same place that the host operating system's native local mail
program stores mail, so isn't a network issue, and there is no reason
for the IETF to be involved. You can then use the host o/s's native
mail program to read the internet mail directly from the store or
use a completely different mechanism (i.e. POP or IMAP) to pull it
down to a client. (By "use NFS", I guess you mean they use the native
local mail program to read it from an NFS-mounted disk.)
Unfortunately we haven't even managed to get to the position where every ISP
Note.
The SMTP servers which come with the TCPIP stacks (TCPWARE, MULTINET or TCPIP
SERVICES/UCX) are NOT fully fledged modern MTAs. For that you would need either
PMDF or MX.
(
PMDF is a commercial product but is available free for hobbyist use.
MX is now an open-source free product see
http://www.madgoat.com/
However I'm not aware of anyone currently continuing development of MX.
)
Maybe so, but if people played by the rules, basic SMTP is more than adequate
to the task. If ISP's blocked port 25 for all machines in their domain other
than their MTA I would need to filter incoming ports on my end. And RBL's
would rapidly become redundant.
and company in the USA and Europe block port 25 for all bar their MTAs let
alone the rest of the world. Since that and other measures aren't likely to be
adopted soon we are left with trying to shore up our own front-door defenses.
Sadly, we are forced to spend a lot of time effort and technology tryingTrue but unfortunately it is one thing to get a small group of like minded
to, once again, solve a social problem. A social solution would work a
lot better.
people to agree to and follow a social solution. It is another matter to get
everybody in the whole world to agree.
David Webb
Security team leader
CCSS
Middlesex University
bill
--
Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves
billg999@xxxxxxxxxxxxxxx | and a sheep voting on what's for dinner.
University of Scranton |
Scranton, Pennsylvania | #include <std.disclaimer.h>
--
John
.
- References:
- Re: [RBL] Current status?
- From: John E. Malmberg
- Re: [RBL] Current status?
- From: John E. Malmberg
- Re: [RBL] Current status?
- From: Bob Koehler
- Re: [RBL] Current status?
- From: Bill Gunshannon
- Re: Current status?
- From: johnwallace4
- Re: Current status?
- From: Bill Gunshannon
- Re: Current status?
- From: Phillip Helbig---remove CLOTHES to reply
- Re: Current status?
- From: Bill Gunshannon
- Re: Current status?
- From: david20
- Re: Current status?
- From: david20
- Re: [RBL] Current status?
- Prev by Date: Re: Did Windows just cry "Uncle"?
- Next by Date: Re: Current status?
- Previous by thread: Re: Current status?
- Next by thread: Re: Current status?
- Index(es):
Relevant Pages
|