Hi,
OS X 10.5.8 is the last version of Leopard.
Did you mean OS X 10.8.5 (the last version of Mountain Lion) ?
If it is Mountain Lion then can you check the Version number of Messages ?
Go to the Application Folder, highlight the App and use CMD + i keys together (Get Info).
In the top section of the Info Panel will be the Version Number.
It should be version 7.0.1
This was actually updated at OS X 10.8.2
Since this time you have to have the Serial Number of the Mac actually on the logic/mother board.
Use the Apple Menu > About this Mac
Now click twice on the line that reads the OS version.
This will change to the Build Number (Another OS counting method) abd than to the Serial Number.
This should match the number on the bottom/back/battery compartment of your computer.
You may need to take it to a Store if it is missing.
10:07 pm Friday; February 21, 2014
iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and an iPad