If you look for Palma try La Lonja Marina. I paid 2.000 € per month in July/August. But if you need the place for months Valencia, near Barcelona or Alicante should be much cheaper.
If you don't sail for months go to Port Napoleone/France and put hear on the hard.