[
https://issues.apache.org/jira/browse/JAMES-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sheng Zhong updated JAMES-1570:
-------------------------------
Description:
For most email service,there are not any service for user to program by
themselves to custom their service
My idea is allowing user to using lua to implement custom logic,the James
server privides a API for lua script to call .user can write and upload their
lua script toapply their custom logic.to limit memory and CPU usage of specific
user,We can make one user run one process,and limit the memory and CPU usage by
using cgroups if server is running on Linux .then,we can use RPC to connect the
main server process and the user process for them to call method each other.
As for the api,we can make user to custom how to filter their own emails,how
to group the emails,how to limit the sender to someone and so on.we can make it
modular and allow user to choose to enable which module.if the email service
has a web interface,we can also allow user to custom the the page display by
programing
was:
For most email service,there are not any service for user to program by
themselves to custom their service
My idea is allowing user to using lua to implement custom logic,the James
server privides a API for lua script to call .to limit memory and CPU usage of
specific user,We can make one user run one process,and limit the memory and CPU
usage by using cgroups if server is running on Linux .then,we can use RPC to
connect the main server process and the user process for them to call method
each other.
As for the api,we can make user to custom how to filter their own emails,how
to group the emails,how to limit the sender to someone and so on.we can make it
modular and allow user to choose to enable which module.if the email service
has a web interface,we can also allow user to custom the the page display by
programing
> A extension to James server to allow users to custom their email service
> ------------------------------------------------------------------------
>
> Key: JAMES-1570
> URL: https://issues.apache.org/jira/browse/JAMES-1570
> Project: James Server
> Issue Type: Task
> Components: IMAPServer, James Core, POP3Server, SMTPServer
> Affects Versions: 3.0-beta4
> Reporter: Sheng Zhong
> Labels: C, Java, RPC, cgroups, lua, web
> Original Estimate: 1,344h
> Remaining Estimate: 1,344h
>
> For most email service,there are not any service for user to program by
> themselves to custom their service
> My idea is allowing user to using lua to implement custom logic,the James
> server privides a API for lua script to call .user can write and upload their
> lua script toapply their custom logic.to limit memory and CPU usage of
> specific user,We can make one user run one process,and limit the memory and
> CPU usage by using cgroups if server is running on Linux .then,we can use RPC
> to connect the main server process and the user process for them to call
> method each other.
> As for the api,we can make user to custom how to filter their own
> emails,how to group the emails,how to limit the sender to someone and so
> on.we can make it modular and allow user to choose to enable which module.if
> the email service has a web interface,we can also allow user to custom the
> the page display by programing
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]