Yes, if you have their name use it, therefore "Dear Mr (John) Smith is the best way to reply. " Yours Truly is also a good formal sign off if you can't remember which to use. I used to remember it that if you use a S for Sir then you couldn't use the S and the end for Sincerely and vise-versa.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.