Yahoo has announced a new data retention policy that slashes the time personal details are held.