Autor Beitrag
neojones
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1206
Erhaltene Danke: 1



BeitragVerfasst: Mo 22.07.02 11:47 
Hi!

Weiß jemand, wie man einen SMTP-Server mit Authentifizierung (Übergabe von Benutzernamen und Passwort) ansteuern kann? Gibt es dafür eine Komponente? Mit TNMSMTP funktioniert es nicht.

Viele Grüße,

Matthias
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Mo 22.07.02 15:47 
Hi du,

Ich hab schon ein schlechtes Gewissen, weil ich immer nur frage, und nicht helfen kann, aber jetzt ist's soweit!

Normalerweise verlangt das SMTP-Protokoll eine Authentifizierung. Ich denke du willst ein eMail-Prog schreiben. Dann musst du innerhalb von 15 Min. vorher einen POP3-Zugriff machen. Zumindets benutzen die normalen Mail-Programe die POP3-Anmeldung als Authentifizierung. Danach wird für ca. 15 der Port für deinen Login (name/Passwort) freigeschaltet und du solltest senden können. Das kann man dann in eine Function machen, die autmatisch abruft, bevor man sendet, damit man nicht immer 2 Buttons klicken muss.

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
lemming
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 470

Mac OS 10.3.1
Delphi 6 Pro, Kylix 3
BeitragVerfasst: Di 23.07.02 10:35 
bei GMX ist das so mit dem POP3 vor SMTP. Das was er aber meint ist wohl eine echte Authentifizierung durch SMTP.

Da würde ich IdSMTP empfehlen von den INDY Komponenten. Bei Delphi 6 schon dabei, ansonsten runter laden.

ciao, lemming
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Di 23.07.02 11:16 
nein, das ist bei jedem kostenlosen webspace-.betreiber so. selbst beim Spitzenreiter web.de.
Man muss immer vorher POP3 einloggen. Das ist die Authentifizierung.

Neojones, probier's doch mal aus, dann wissen wir mehr.

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Di 23.07.02 12:40 
@tommie-lie: Ja, es geht mit einer Pop3-Authentfizierung, aber neojones, wollte ja eine Komponente, die das über SMTP macht.

_________________
Viele Grüße
Jakob
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Di 23.07.02 13:04 
versteht ihr mich nicht?
Es gibt für das SMTP-Protokoll keine Authentifizierung.
Das wird immer über POP3 gemacht.
Glaubt ihr im ernst, namhafte eMail-Anbieter würden diesen Umweg über POP3 machen, wenn es nur eine winzige kleine Möglichkeit geben würde, das in einem Rutsch über das gleiche Protokoll zu machen?

SMTP ist an POP3 gebunden. Vielleicht machen die das ja einer nächsten Version des Protokolls, ist aber unwahrscheinlich.

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Di 23.07.02 14:35 
tommie-lie hat folgendes geschrieben:
versteht ihr mich nicht?
Es gibt für das SMTP-Protokoll keine Authentifizierung.


und genau da liegst du Falsch. Das was du beschreibst POP vor SMTP war eine notlösung die eingeführt wurde weil es keine direckte möglichkeit über SMTP gab. In einer neueren Version des SMTP wurde aber "SMTP mit Login" eingeführt.
Die meisten E-Mailprogramme unterstützen beides. Bei vernünftigen Providern kann man einstellen welchen dieser mechanismen man wählt. "SMTP mit Login" ist definitiv sicherer als "POP vor SMTP" und sollte daher bevorzugt werden.

Gruß
Klabautermann
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Di 23.07.02 14:43 
@tommie-lie Nachtrag:
Konfiguration z.B. bei GMX:
Optionen->Sicherheit->SMTP mit Login

@neojones:
Mit den Fastnet Komponemten kenne ich mich nicht aus. Mit Indy8 habe ich diese funktion aber Problemlos implementieren können.

Gruß
Klabautermann