I hope you had a backup or are on a BES. It sounds like you are if it only took 3 incorrect passwords to wipe the device.
Are you still getting a 507 error?
The difference between stupidity and genius is that genius has its limits.
When you take things for granted, the things you are granted, get taken.
Even a mosquito doesn't get a pat on the back until it starts to work.
Too many people miss the silver lining because they're expecting gold.
[BES 5.0.3 / GroupWise 2012 HP2]