Automatic deleting from IMAP

Automatic deleting from IMAP

Is it possible for messages, once I have read them in POP, to no longer appear in IMAP? Or do I have to sign in to the webmail and delete the messages manually?