Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: bwalton@artsci.utoronto.ca (Ben Walton)
Subject: [sup-talk] sent_source - singular or per-account?
Date: Wed, 01 Jul 2009 15:39:57 -0400	[thread overview]
Message-ID: <1246476925-sup-5046@ntdws12.chass.utoronto.ca> (raw)
In-Reply-To: <f4cc59760907010248r5598eb50sf29b3ae8f500e5f8@mail.gmail.com>

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: <http://rubyforge.org/pipermail/sup-talk/attachments/20090701/64c4a100/attachment.bin>


  reply	other threads:[~2009-07-01 19:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-01  9:48 Jim Cheetham
2009-07-01 19:39 ` Ben Walton [this message]
2009-07-02  2:30   ` Jim Cheetham
2009-07-02  3:17     ` Ben Walton
2009-07-02 10:14       ` Jim Cheetham
2009-07-02 14:02         ` Ben Walton
2010-01-04 18:55           ` Bryan Richardson
2010-01-05 21:51             ` William Morgan
2010-01-06 19:18               ` Bryan Richardson
2010-01-06 19:29                 ` William Morgan
2010-01-06 21:04                   ` Tero Tilus
2010-01-06 21:23                     ` William Morgan
2010-01-07 15:58                       ` Tero Tilus
2010-01-08 16:00                         ` Bryan Richardson
2010-01-09 22:47                           ` Tero Tilus
2010-01-12 21:38                             ` Bryan Richardson
2010-01-12 23:10                               ` Tero Tilus
2010-01-04 20:50   ` Tero Tilus
2010-01-08 23:06 ` Kevin Riggle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1246476925-sup-5046@ntdws12.chass.utoronto.ca \
    --to=bwalton@artsci.utoronto.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox