As far as following your instructions to move deleted messages to the trash, I don't have that option under mail behaviors. Next to the Trash Mailbox there, there is a dropdown box that says Trash. Under that it says "erase deleted messages:" Then there is another drop down box offering me a choice of erasing deleted messages after one day, one week or one month. But they are already gone so I never had to delete. I'll just live with it.
Assuming you are using Mail 10.3 (3273) that ships with Sierra (MacOS 10.12.5) — when you go to Mail > Preferences > Accounts > Mailbox behaviors the window would look something like
this. If you click on
the Trash drop down you should get a
list of all the mailboxes available to that account. That includes mailboxes on the IMAP server as well as mailboxes
On My Mac. (Okay so I overdo it on mailboxes but it helps keep me organized and that is no small task so no snide comments please.) You can then set the automatic deletion/erase
here.
NOTES: - Since you have multiple accounts, you will have to do this for each account individually.
- If you want an option other than Trash, then go to the account and create additional mailboxes and name them what you will.
- If you do not want the trash stored on the IMAP server, you can create a Trash folder On My Mac and point the accounts there.