>== Auszüge aus der Nachricht von Matthew Bloch vom 2014-12-21 05:17: > Hello sup users, > > I've nearly got my sup setup ready to replace various other clients. What's > everyone's current best advice for filing outgoing email in folders by > account? i.e. personal email to be filed in ~/mail/Personal/Sent, work > email to be filed in ~/mail/Work/Sent ? (both synchronised by offlineimap > for me) > > I can see a few ways to make that happen but nothing too recent. Thanks! > > -- > Matthew This is an old wish from me, and as far as I know it, it's not possible at the moment. The suppish way to do this would be to automatically add labels to the outgoing mail rather than putting them in folders. I don't know offlineimap, as far as I got it, it synchronizes labels and imap folders, thus completing this task. The place to do this would be in the sendmail hook (or to create an extra, let's say before-send hook for this, so that the sendmail hook needs not to implement mail sending.) Alas, the message object passed to this hook does not contain labels and is not passed back to update anything in sup. I did not manage to change this in a reasonable time, perhaps it would indeed be easier to add a before-send hook to do this. The place to do this would be in lib/sup/modes/edit-message-mode.rb, as far as I found out. So you could either polish up your ruby and look into it and submit a patch, or wait till someone else does it. Best Regards, Ruthard -- Please sign and encrypt mails! My PGP-Id: 0xAC5AC6C2