From mboxrd@z Thu Jan 1 00:00:00 1970 From: marcus-sup@bar-coded.net (Marcus Williams) Date: Mon, 10 Dec 2007 22:28:18 +0000 Subject: [sup-talk] Email extensions/alternate emails In-Reply-To: <1197308174-sup-2458@south> References: <1196423833-sup-2326@tomsk> <1197150436-sup-2569@south> <1197234773-sup-132@tomsk> <1197236481-sup-1886@south> <1197300448-sup-7359@tomsk> <1197308174-sup-2458@south> Message-ID: <1197325495-sup-8186@tomsk> 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