Monday, December 19, 2011

Day1 Training in My Company - Dec 19th, 2011 Monday 4.00 PM

     Day1 training in my company began at 4 in the evening on 19th of December 2011. Mr. Kamesh Jayachandran took over the session on the topic of  SMTP( Simple Mail Transfer Protocol ). I had the training along with my newly joined friends (freshers). Some experienced guys in the company also joined the training session. We discussed about the various topics:

  • SMTP protocol
  • DNS
  • UNIX commands
  • Concept of relaying and more...
     Then we had a small demonstration about anonymous mailing and how to be cautious about hackers. Now let us have a small demonstration about it.

  • Use nslookup command
  • Then set q=mx 
  • Now type gmail.com (you can use any mail server)
  • Select any one option from mail exchanger let's take alt4.gmail-smtp-in.l.google.com



  • Give exit now
  • Type telnet alt4.gmail-smtp-in.l.google.com 25 (25 is SMTP port for email routing)
  • You will get a message as 'Connected to alt4.gmail-smtp-in.l.google.com' 


  • Say helo xyz.com
  • You will get a message as '250 mx.google.com at your service'
  • Type mail from: <rajnikanth@gmail.com> (don't leave out angled brackets <, >)
  • You will get '250 2.1.0 OK' message
  • Now type rcpt to: <any valid email address>
  • You will again get '250 OK' message
  • Type data
  • '354 Go ahead' message will be displayed
  • Now type as follows
    • From: rajnikanth@gmail.com
    • To: the-same-valid-email-as-above
    • Subject: Hi
  • Now leave an empty line and press enter
  • Start typing your message now
  • To end typing the message place a '.' (dot) in a new line
  • You will get '250 OK'  message
  • Now quit




  • Now if the recipient opens the mail box, the false mail would have been dispatched (gmail may store it as a Spam mail for security reasons)






  • You can find out whether the mail is a genuine one or a fake by checking the full header of the mail, in gmail click show original option



     Lots of clarifications and lots of queries were raised. It was a very good discussion. As, this was my first sit-together since the time I was appointed in a firm (Dec 15th 2011), all sorts of vague questions rose in my mind. But the session took me to surprise and was so friendly. This continued for an hour and then it was time for tea.

     ( I got my IBM Think pad.. during this break.. I was eagerly awaiting for it.. Thanks a lot.. guys..)


     The the session continued for the freshers as the experienced guys left. We had large and small discussions about:
  • Quick Sort algorithm based on the book "Beautiful Code Leading Programmers Explain How They Think"
  • Clarifications for the queries that peeped out during the first half of the session
  • Great author "Donald Knuth" and his books http://en.wikipedia.org/wiki/Donald_Knuth
     Then we finally winded up at 6.40 in the evening....

That was a great session to participate...

No comments:

Post a Comment