Probably the only thing about the N900 that I have found really annoying is the lack of support for the 'Standard' IMAP Sent Items feature. You know the one, where your sent mail goes after you send it.
On the N900 the email application (modest), has a local sent items folder, and it is possible to manually move the items (in bulk) to the IMAP sent items folder, but what a pain.
Anyway, since I have now got fully working server-side filtering (Sieve) I decided it should be possible to solve this problem, server-side.
Since all my outgoing mail goes via Exim, on my own server, I can work out that its being sent from the N900 (I have a different 'from' address). So I can get exim to deliver a copy of the mail to myself. Then I can get Sieve to deliver the mail to my Sent Items.
First I need to add a system filter to exim:
I add the following line to /etc/exim4/conf.d/main/02_exim4-config_options
system_filter=/etc/exim4/system.filter
Exim will now evaluate the rules in /etc/exim4/system.filter before routing the mail.
Create a rule:
if $sender_address is "n900_from_address@wherever.com" then unseen deliver some_local_user@here.com endif
Then add a Sieve rule:
if envelope :is "from" "n900_from_address@wherever.com" { fileinto :flags ["\\Seen"] "INBOX.Sent"; stop; }