Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: Tero Tilus <tero@tilus.net>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] Maildir sent_source
Date: Tue, 21 Dec 2010 12:56:23 +0200	[thread overview]
Message-ID: <1292928629-sup-4367@tilus.net> (raw)
In-Reply-To: <20101221071230.GE60419@icsi.berkeley.edu>

Matthias Vallentin, 2010-12-21 09:12:
> It seems that qualifying sent_source with maildir in config.yaml does
> not have an effect, e.g., the sent source is still mbox despite an
> 
>     :sent_source: maildir:~/.mail/sent
> 
> entry. Briefly crawling through the source, I don't see support for
> Maildir as sent source anyway.

I do see it.  ;)  Open bin/sup and look for

  if(s = Redwood::SourceManager.source_for SentManager.source_uri)
    SentManager.source = s
  else
    Redwood::SourceManager.add_source SentManager.default_source
  end

Judging by the code it looks like you also need to sup-add your
maildir in addition to adding it to config.  If
Redwood::SourceManager.source_for doesn't find the source it silently
drops back to default sent source.  IMO it should complain about
invalid config or something.

--
Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


  reply	other threads:[~2010-12-21 10:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-21  7:12 Matthias Vallentin
2010-12-21 10:56 ` Tero Tilus [this message]
2010-12-22 14:34   ` Matthias Vallentin
2010-12-22 17:14   ` Matthias Vallentin

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=1292928629-sup-4367@tilus.net \
    --to=tero@tilus.net \
    --cc=sup-talk@rubyforge.org \
    /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