E-Mail versenden mit Telnet.

  • E-Mail versenden mittels Telnet ohne Authentifizierung
    root@old:~# telnet mail.bismut.at 25 
    Trying 80.66.63.90... 
    Connected to mail.bismut.at. 
    Escape character is '^]'. 
    220 admin.vipweb.at ESMTP 
    helo hugo.at 250 admin.vipweb.at 
    mail from: hugo@kerzenstaender.at 
    250 ok 
    rcpt to: thomas@dorn.at 
    250 ok 
    data 354 go ahead 
    go on! 
    . 
    250 ok 1335944853 qp 22784 
    quit 
    221 admin.vipweb.at 
    Connection closed by foreign host.
    
  • E-Mail versenden mittels Telnet mit Authentifizierung (plain text)
     
    root@old:~# telnet mail.bismut.at 25
    Trying 80.66.63.90...
    Connected to mail.bismut.at.
    Escape character is '^]'.
    220 admin.vipweb.at ESMTP
    helo hugo.at
    250 admin.vipweb.at
    auth plain AG9mZmljZUBiaXNtdXQxxXQAb2IhMjAxM3==
    235 go ahead
    mail from: hugo@kerzenstaender.at
    250 ok
    rcpt to: thomas@dorn.at
    250 ok
    data
    354 go ahead
    go on!
    .
    250 ok 1335944853 qp 22784
    quit
    221 admin.vipweb.at
    Connection closed by foreign host.
    
     
  • E-Mail versenden mittels Telnet mit Authentifizierung (TLS)
    openssl s_client -starttls smtp -crlf -connect admin.vipweb.at:25
    CONNECTED(00000003)
    depth=0 /C=US/ST=Virginia/L=Herndon/O=Parallels/OU=Parallels Panel/CN=Parallels 
    Panel/emailAddress=info@parallels.com
    verify error:num=18:self signed certificate
    verify return:1
    depth=0 /C=US/ST=Virginia/L=Herndon/O=Parallels/OU=Parallels 
    Panel/CN=Parallels Panel/emailAddress=info@parallels.com
    verify return:1
    ---
    Certificate chain
     0 s:/C=US/ST=Virginia/L=Herndon/O=Parallels/OU=Parallels Panel/CN=Parallels 
    Panel/emailAddress=info@parallels.com
       i:/C=US/ST=Virginia/L=Herndon/O=Parallels/OU=Parallels Panel/CN=Parallels 
    Panel/emailAddress=info@parallels.com
    ---
    Server certificate
    -----BEGIN CERTIFICATE-----
    MIIDszCCApsCB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VKuN7gXWGDKYSQHh8eN3v340oOfMoE3+1YXIDuN2SonfA5eZG
    Qt4TeODby/pXuISVVfdT2GT+heLWZheh+c8x8gZc14lfBHCqNYCfepAmQ0xu+pyr
    Y8fmsooyU4+qnTe6lV00o3ZxQlCqcaNZ6lQnPbw1ZLM99v2VECh6XLKHpJ1GK/qG
    aiRzvp7oZ0Gd6fK7OVNxngrp4MwUYk9WVmatse3qhoJB+94/bpku
    -----END CERTIFICATE-----
    subject=/C=US/ST=Virginia/L=Herndon/O=Parallels/OU=Parallels Panel/CN=Parallels 
    Panel/emailAddress=info@parallels.com
    issuer=/C=US/ST=Virginia/L=Herndon/O=Parallels/OU=Parallels Panel/CN=Parallels 
    Panel/emailAddress=info@parallels.com
    ---
    No client certificate CA names sent
    ---
    SSL handshake has read 1823 bytes and written 354 bytes
    ---
    New, TLSv1/SSLv3, Cipher is DHE-RSA-AES256-SHA
    Server public key is 2048 bit
    Secure Renegotiation IS supported
    Compression: NONE
    Expansion: NONE
    SSL-Session:
        Protocol  : TLSv1
        Cipher    : DHE-RSA-AES256-SHA
        Session-ID: EFF8466CDFF2EF6319118EF99DDA02AE5F6D334325C2459B7A2192E2947AEEBA
        Session-ID-ctx:
        Master-Key: 484DA6517C06C020583AF05DC181D4E2ADDC0D7AC079F4254C9036C858B8B51C83B508A6D72FEF29DEA7B7220372CD3E
        Key-Arg   : None
        Start Time: 1335944453
        Timeout   : 300 (sec)
        Verify return code: 18 (self signed certificate)
    ---
    250 8BITMIME
    helo dorn.at
    250 admin.vipweb.at
    auth plain AG9mZmljZUBiaXssdXresAb2IhMjAxMr==
    235 go ahead
    mail from: thomas@dorn.at
    250 ok
    rcpt to: thomas@dorn.at
    250 ok
    data
    354 go ahead
    tralalala
    .
    250 ok 1335944549 qp 21977
    quit
    221 admin.vipweb.at
    closed
    
  • Erstellung eines Login/Passwort Paares Base 64 codiert
    perl -MMIME::Base64 -e 'print encode_base64("\000user\@domain.tld\000meinpasswort")'