Spectral methods for exterior elliptic problems