Re: Can't find Password property in nmsmtp object in Delphi 5 Options



"fig000" <neilnewton001@xxxxxxxxx> wrote in message
news:713f65a6-24d3-45f4-a932-fdc3cccd67ea@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[...]
The pages I've found on the web have shown the use of userid (a
property I can find for nmsmtp) and password. The password property
doesn't seem to exist on the version of nmsmtp I'm using. I assume
there's another one for Delphi 5.

Have you tried reading the SMTP spec? (Currently RFC 2822 IIAMN; and
I haven't tried reading it. But that's where I'd look.)


Another question. In all the emails I've sent from programs, I've
never worked with an smtp server that required a userid and password.
How common is this and will an email be rejected if the proper userid
and password aren't supplied?

Email is a very sensitive service. Get it ever so slightly wrong and
you'll be responsible for millions of spam messages. The problem is
in relaying mail from anyone, to anyone. That is something that in
this day and age you really don't want to do.

So there are two ways to avoid doing so. The first is to not relay
from anyone. This is what companies do for their employees, and ISPs
for their customers. They will accept mail from anyone to anyone
because the source is trusted. But the source must be trusted. In
both cases, it will be because the originator is on the company/ISP's
own network and you can get kicked off (*fast*) for making people
unhappy with the mail you sent them.

The other way is to not relay to anyone, just to the people who rely
on you for collecting mail that is addressed directly to them. Again,
this is what companies and ISPs and mail service providers do for
people. If you are responsible for a given domain (or just its email),
you may reasonably expected to accept mail for it.

An SMTP server that requires authentication, then, is putting itself
in the first role without the information that would implicitly put
it there. Again, this is something an email service provider would
do. If you do not have access to a mail forwarder that trusts you
because, for example, you are accessing it through its own network,
you may provide a third party mail server with credentials that
cause it to trust you enough to relay mail for you. Which, as I
said, is more sensitive than you might initially think.

To answer your question, I think it isn't very common and in fact I
haven't encountered it. Ever. But I submit email to the relaying
server on my own network (which trusts me because I'm on my own
network, and you couldn't easily get on it, too), and then to my
ISP's relaying server (which trusts me because it comes in over one
of _their_ DSL connections), or I might submit email to my web/domain
hosting provider, and there I strongly suspect I would have to prove
that I'm _me_ (and still a paying customer) before they would forward
it.

Groetjes,
Maarten Wiltink


.



Relevant Pages

  • Re: Connecting two Windows 2000 forests together
    ... > is on the same switch as the main network, it is is on a different VLAN ... > lab access the Internet via the ISA 2000 server in the main network. ... > trusts the main network and the main network has the labs network in its ... Likely because you don't have the DNS setup correctly ...
    (microsoft.public.win2000.active_directory)
  • Re: Removing NT Domain remenants
    ... > You can use netdoom a command line based tool as well to remove trusts. ... >> browsing Microsoft Windows Networks under My Network Places. ... >> server I removed all of the trusts to the other domains. ... >> removed the remaining two BDCs from the domain. ...
    (microsoft.public.windows.server.active_directory)
  • Connecting two Windows 2000 forests together
    ... I'm the network admin at a school and we have just set up a test environment ... lab access the Internet via the ISA 2000 server in the main network. ... I set up the trusts through Active Directory ...
    (microsoft.public.windows.server.active_directory)
  • Connecting two Windows 2000 forests together
    ... I'm the network admin at a school and we have just set up a test environment ... lab access the Internet via the ISA 2000 server in the main network. ... I set up the trusts through Active Directory ...
    (microsoft.public.windows.server.dns)
  • Connecting two Windows 2000 forests together
    ... I'm the network admin at a school and we have just set up a test environment ... lab access the Internet via the ISA 2000 server in the main network. ... I set up the trusts through Active Directory ...
    (microsoft.public.win2000.active_directory)