[sup-talk] Email extensions/alternate emails
Marcus Williams
marcus-sup at bar-coded.net
Mon Dec 10 17:28:18 EST 2007
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:
- marcus-sites-\*@domain.com
- marcus-lists-\*@domain.com
Which makes sup recognise addresses such as
marcus-sites-amazon at domain.com and marcus-lists-sup at domain.com as
account addresses.
Marcus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extensions-diff
Type: application/octet-stream
Size: 1231 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071210/5ab6176d/attachment.obj
More information about the sup-talk
mailing list