Linear electrostatic waves in a three-component electron-positron-ion plasma