We definitely don't put a dot after Sir or Madam. A dot indicates an abbreviation.
To be honest, I'm not sure what the current thinking is on whether we still put a dot after Mr, Mrs and Ms. Personally, I don't. I would start a letter:
Dear Mr Johnson
Student or Learner