Hi,
in some folder ... I've got "deleted emails", but do not know what have I done.
How do I get message to have a deleted icon?
These are messages which have been marked as deleted but not yet removed. To remove them for good you can compact the mailbox. There's a preference in Settings > Preferences > Server Settings where the default behavior of message deletion can be changed.