[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] Maildir sent_source



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