Maine man sentenced to 6 years for eBay scam