mlmmj.mlmmj.org archive mirror
 help / color / mirror / Atom feed
* [mlmmj] Ideas to improve mlmmj
@ 2017-09-18  7:02 Zhang Huangbin
  0 siblings, 0 replies; only message in thread
From: Zhang Huangbin @ 2017-09-18  7:02 UTC (permalink / raw
  To: mlmmj

Dear all,

i’d like to share my few ideas to improve mlmmj.

1) LMTP support (for cluster setup)

mlmmj should be able to run as a LMTP server and accept emails sent
from (LAN) network. This should be useful for running mlmmj in a cluster
setup: Run mlmmj on the same server as the LDA/LMTP servers, and store
mailing list data (and mailboxes) on remote/shared storage.

With current mlmmj document, we can only run mlmmj on MTA server
(for example, mlmmj is called by Postfix as a piped program which cannot
be a script on another server). Run mlmmj as LMTP server should fix this.

2) Hook support to interactive SQL/LDAP/... database.

Many sysadmins setup mail servers with virtual mail accounts stored in
SQL/LDAP databases, below 2 ideas should be very helpful to make mlmmj
working very well with existing mail servers with any SQL table structure
or LDAP schema.

- `mlmmj-make-ml`: Add a hook to run external command/script, so that sysadmin
  can add mailing list account in SQL/LDAP/... database.

  For example, after `mlmmj-make-ml` finishes its own tasks, executes script
  `/etc/mlmmj/hook-make-ml`, and sysadmin can use this script to sync mailing
  list accounts to SQL/LDAP.

- `mlmmj-sub` and `mlmmj-unsub`: Add a hook to run external command/script, so
  that sysadmin can add or remove the mailing list member in the SQL/LDAP/…
  databases.
  data. For example, storing mailing list accounts in SQL db, and sync list
  members.

  For example, after `mlmmj-sub` finishes its own tasks, executes script
  `/etc/mlmmj/hook-sub`, and sysadmin can use this script to sync new mailing
  list members to SQL/LDAP.

- `mlmmj-bounce`: Add a hook to run external command/script to handle
  non-existing/invalid member email addresses.

----
Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
Available on Telegram: https://t.me/iredmail



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-09-18  7:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-18  7:02 [mlmmj] Ideas to improve mlmmj Zhang Huangbin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).