Hi Mervyn,
Welcome to the forum.
Your vehicle must be an x230 model, with flexible mechanical speedo drive. I am puzzled by your mention of a rubber plug to hold the drive in position. This drive was I think, discussed on forum in recent months. The drive was I believe held by an M6 or M7 bolt, which seems large for the task. Both M6, and M7 have the same 1mm pitch, but an M6 bolt, which is more common, would be extremely loose in an M7 tapped hole. My money would be on the M7, but I would probably want to check first. Also bolt not to be too long for hole. Allow clearance at bottom of hole
If you only have a rubber pin holding the drive in position, then any movement would cause wear on the "O" ring seal.
For general info, given the registration year of your vehicle, worth knowing which 2.8L engine. Either 2.8idTD with mechanical injection, or later 2.8jtd with electronic conrtrol of injection.