Question: imap do not delete from server?
Answer: IMAP synchronization will delete the server copies too. If your account connects using POP, then deleting server copies when you download messages is the default behaviour, unless you specifically change it by setting the checkbox "Leave a copy on server". This can be found under Account Settings.