Results 1 to 4 of 4

Thread: Communicating with servers

  1. #1

    Communicating with servers

    I've heard that we can communicate with some mail servers via telnet.
    ther are commands like HELO, MAIL FROM:, DATA , etc.
    From where can I know more about communicating with different types of servers ??.

    *Is telnet'ing to a mail server of hotmail and sending a forged email illegal ??

    Thanx.
    - SCORPION

  2. #2
    Senior Member
    Join Date
    Jan 2003
    Posts
    3,915
    Hey Hey,

    You seem to have asked two questions.

    Question 1: Learn commands for the servers.

    Answer 1: You should read the RFCs pertaining to the servers in question to learn the commands the accept and how they function. You can find all the information you want @ RFC Editor. I believe you will want RFC 821 for SMTP.

    Question 2: Is telneting and sending forged email illegal.

    Answer 2: Someone else could tell you the exact legallity. It would depend on your country and the country of the servers involved most likely. However it is frowned upon, and connecting through telnet and sending a forged email will not have any real bearing, the email will contain your IP address and the person can trace it back to you. They could also report you to your ISP which could lead to you losing your internet access. Also, most SMTP servers these days don't allow mail relaying, so you would have to have a valid account in order to use the SMTP server, unless you sit and track down one of the servers that allow relaying. If you want more information on Relaying check out the SMTP RFC.

    Peace,
    HT

  3. #3
    Well, I've a friend who sends me forged mails from mx server of hotmail... Sometimes I get really fooled. How can I trace the details of the mail ??.. How can I trace his details of IP address, as HT told. ??

    Thanx
    - SCORPION

  4. #4
    Senior Member
    Join Date
    Jan 2003
    Posts
    3,915
    Hey Hey,


    You want to check the email's MIME headers for the source IP address.

    Here's a sanitized example:
    From : Tyler Reguly <tyler.reguly@XXXXXX.ca>
    Sent : March 31, 2004 1:38:33 PM
    To : <XXXXXXX@hotmail.com>
    Subject : http://www.chickenandporn.com/WUSB11-howto.html

    MIME-Version: 1.0
    Received: from tomts16-srv.AAAAAA.AAAA ([209.226.AA.AA]) by mc11-f25.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Wed, 31 Mar 2004 10:39:32 -0800
    Received: from BBBBBBB ([65.95.CC.CC]) by tomts16-srv.AAAAAAA.AAAA (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040331183837.ZEOR11615.tomts16-srv.AAAAAAA.AAAA@BBBBB> for <XXXXXX@hotmail.com>; Wed, 31 Mar 2004 13:38:37 -0500
    X-Message-Info: JGTYoYF78jEn2IU11MuEOqZ9/vHSyAlF
    X-Mailer: Microsoft Office Outlook, Build 11.0.5510
    Thread-Index: AcQXT18L5aAPUCaTS/GooWUDDMP+gQ==
    X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
    Message-Id: <20040331183837.ZEOR11615.tomts16-srv.AAAAAA.AAA@BBBBBB>
    Return-Path: tyler.reguly@XXXXXXXXX
    X-OriginalArrivalTime: 31 Mar 2004 18:39:33.0878 (UTC) FILETIME=[82DFD960:01C4174F]
    I've sanitized the email addresses with X's. Then you will see A's, B's and C's. I've bolded the first occurance of each of these characters. The A's represent the address of my MTA. The B's represent my computers name and the C's represent my IP address. These MIME headers are from hotmail using the Advanced Headers option.

    Here's the same email headers with Basic (default) as the setting.
    From : Tyler Reguly <tyler.reguly@XXXXXX.ca>
    Sent : March 31, 2004 1:38:33 PM
    To : <XXXXXXX@hotmail.com>
    Subject : http://www.chickenandporn.com/WUSB11-howto.html
    As you can see you lose a lot of valuable information without your headers.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •