When using IMAP, Apple Mail has options on if/when to delete sent messages and messages in the trash. Other message deletion is managed manually which is how it should be.
With POP, you can tell Apple Mail how long to leave messages on the server. But POP manages email in an entirely different manner than IMAP.
S-