If your are using IMAP, specifically Courier IMAP, you must specify what Mailboxes go to what folder.
Select your Sent Mail folder (IMAP server one), goto Menu, Mailbox, Use This Mailbox For... then Select Sent Mail.
You have to do the same for Drafts, Trash and Junk.