On 10.12.2007, William Morgan wrote:
> Excerpts from Marcus Williams's message of Mon Dec 10 07:28:23 -0800 2007:
> > I added an envelope-to header but that hasnt changed its current
> > behaviour. Where in the code does this checking (or is it via
> > RubyMail)? Have searched code for envelope-to and have only found
> > mention of it in mbox.rb
> 
> reply-mode.rb line 23, and message.rb line 112.

Not sure how I missed that, but there we go. Attached is a patch to
allow for mail extensions via regexes. This adds a :extensions: option
to the config.yaml something like:

:extensions:
 - [EMAIL PROTECTED]
 - [EMAIL PROTECTED]

 Which makes sup recognise addresses such as
 [EMAIL PROTECTED] and [EMAIL PROTECTED] as
 account addresses.

 Marcus

Attachment: extensions-diff
Description: Binary data

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to