[Building Sakai] change the mail address in Email Archive

Matthew Jones matthew at longsight.com
Mon May 13 16:57:34 PDT 2013


Yea looks like there's some code in:

mailarchive-tool/tool/src/webapp/vm/mailarchive/chef_mailbox-List.vm
26: #if(${nonAlias})
27: <li><a href="mailto:${nonAlias}@${serverName}"
title="$tlang.getString("lis.sendmailto") ${nonAlias}@
${serverName}">${nonAlias}@${serverName}</a></li>

This is set to show the default (as you mentioned as site-id at servername) if
the list of aliases is empty or the configuration parameter showNonAlias
in sakai.mailbox.xml is set to true (default false)

mailarchive-tool/tool/src/java/org/sakaiproject/mailarchive/tool/MailboxAction.java
                if (all.size() == 0 ||
(Boolean)state.getAttribute(STATE_SHOW_NON_ALIAS))

There's no way to stop this without removing it from the vm, but even at
that, it should still *receive* mail for the default alias of every site,
just nobody would likely know what it is.


On Mon, May 13, 2013 at 7:34 PM, Sanghyun Jeon <euksa99 at gmail.com> wrote:

> Thank  you for your prompt reply. I can clear out all previous mail
> address based on your instruction (leaving the mail address as blank <
> update options). However, the above procudure also creates a default mail
> address with siteid at blahblah.edu
> SIGH
>
> S
>
>
> On Mon, May 13, 2013 at 4:20 PM, Matthew Jones <matthew at longsight.com>wrote:
>
>> There was a bug/feature (depending on how you look at it) introduced in
>> 2.8 that allows for unlimited email archive aliases (see discussion on
>> https://jira.sakaiproject.org/browse/SAK-22594). You can clear out all
>> of the previous aliases by leaving it blank, but all aliases entered will
>> work.
>>
>>
>> On Mon, May 13, 2013 at 7:04 PM, Sanghyun Jeon <euksa99 at gmail.com> wrote:
>>
>>> We are using Sakai 2.8.x_all and try to change the mail address on Email
>>> Archive tool through Email Archive < options < modify Site Email Address
>>> and Update Options
>>>
>>> Somehow the above steps end up creating a new mail address instead of
>>> modifying the existing mail address. I try to debug it but fail to find the
>>> code location.
>>> I am wondering whether anybody can shed some light on this, so that I
>>> can start to debug this issue. Thank you.
>>>
>>> S
>>>
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>
>>> TO UNSUBSCRIBE: send email to
>>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>>> "unsubscribe"
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130513/421fc769/attachment.html 


More information about the sakai-dev mailing list