From mboxrd@z Thu Jan 1 00:00:00 1970 From: bwalton@artsci.utoronto.ca (Ben Walton) Date: Wed, 01 Jul 2009 15:39:57 -0400 Subject: [sup-talk] sent_source - singular or per-account? In-Reply-To: References: Message-ID: <1246476925-sup-5046@ntdws12.chass.utoronto.ca> Excerpts from Jim Cheetham's message of Wed Jul 01 05:48:30 -0400 2009: > I'd like to be able to save outgoing email into the mailstore for the > matching account; can anyone suggest some way to do this? Hacking code > is an option, although I'd appreciate some pointers ... This is an interesting idea. I think the best way to do it might be to implement a sent_source hook that can override the global default. It would be wise to either a) not use mbox or b) have dedicated mboxes for this purpose...until I finally get around to finishing the lock manager to make shared access safe. The other gotcha with a hook to pick the source for message storage is that not all sources are capable of storing mail presently (mbox, maildir and imap are the only supported types, which admittedly should cover most people). I think this would be quite simple to add. I've also toyed around with the idea of 'patterned' sources so that you could specify a source as maildir:///u/bwalton/Maildir/inbox-%Y%m and have new sources picked up automatically as they're created (possibly by procmail doing autofiling, or something). -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu Contact me to arrange for a CAcert assurance meeting. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: