!-- On Tue 13.Aug'13 at 16:43:53 BST, Mick (michaelkintz...@gmail.com), wrote:
> You may want to try setting 'record' similar to this for sent messages, > unless > you want to keep a local copy: > > set record = "+INBOX/sent-mail" > > if you haven't already done so. With Gmail you wouldn't need to do this. > -- > Regards, > Mick You don't even need to specify $record like that. You have: set imap_user=... set imap_pass=... set folder=imaps://server.com/ <-- note the trailing slash at the end set record=+Sent (or) set record=+"Sent Mail" if that's how the mailbox is named on the server set postponed=+Draft[s] <-- optional 's' select the correct name there [ ... ] set smtp_url=smtps://[user[password]@]server.com:[port] or set smtp_pass separately, so you just have the server address and port in $smtp_url. Basically your {Drafts,Sent,Trash(patch required),...} are an expansion of $folder which only needs to be prefixed with a + and quoted if there is space in the folder name. The same principle for local mailboxes. mutt does use a local MTA to send mail by default unless $smtp_url is set and mutt is complied with support for that. Then it connects to the remote smtp server and authenticates with your credentials and the remote server then sends the mail. The "Sent" mail is then uploaded and stored in the remote folder as specified by $record. It can be a local folder if you want it to be. Some people like offlineimap to use with remote IMAP mailboxes. -- James Griffin: jmz at kontrol.kode5.net A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38