Mercurial > hg > mlmmj
changeset 255:caa8d83d3078
access control is now implemented
author | mortenp |
---|---|
date | Mon, 21 Jun 2004 03:36:27 +1000 |
parents | 31a34f710c27 |
children | b38c16a4628b |
files | ChangeLog TODO TUNABLES |
diffstat | 3 files changed, 17 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Jun 21 03:27:22 2004 +1000 +++ b/ChangeLog Mon Jun 21 03:36:27 2004 +1000 @@ -1,3 +1,4 @@ + o Added regular expression based access control. o Added wrappers for malloc(), realloc(), free() and strdup(), so we can bail out if any of them fail. 0.7.3
--- a/TODO Mon Jun 21 03:27:22 2004 +1000 +++ b/TODO Mon Jun 21 03:36:27 2004 +1000 @@ -7,7 +7,6 @@ Functionality items: o listname+get functionality o web interface - o listdir/control/access for regexp access control of mail to the list Nice to do: o Convert mlmmj-sub, mlmmj-unsub and mlmmj-process (moderation) to use
--- a/TUNABLES Mon Jun 21 03:27:22 2004 +1000 +++ b/TUNABLES Mon Jun 21 03:36:27 2004 +1000 @@ -6,7 +6,8 @@ the contents of a file does not matter, the mere presence of it, will set the variable to "true". If it's a "normal" file, the first line will be used as value, leaving line 2 and forward ready for commentary etc. If it's possible -to specify several entries pr. line, it's marked "list". +to specify several entries (one pr. line), it's marked "list". + · closedlist (boolean) @@ -15,31 +16,38 @@ too, so the -C option to mlmmj-sub and mlmmj-unsub is of no use with a closed list. + · moderated (boolean) If this file is present, the emailaddresses in the file listdir/moderators will act as moderators for the list. + + · tocc (boolean) If this file is present, the list address does not have to be in the To: or Cc: header of the email to the list. + · subonlypost (boolean) When this file is present, only people who are subscribed to the list, are allowed to post to it. The check is made against the "From:" header. + · prefix (normal) The prefix for the Subject: line of mails to the list. This will alter the Subject: line, and add a prefix if it's not present elsewhere. + · owner (list) The emailaddresses in this file (1 pr. line) will get mails to listname+owner@listdomain.tld + · delheaders (list) In this file is specified *ONE* headertoken to match pr. line. If the file @@ -48,3 +56,10 @@ Message-ID: Then all occurences of these headers in incoming list mail will be deleted. "From " and "Return-Path:" are deleted no matter what. + + + · access (list) + + If this file exists, all headers of a post to the list is matched against + the rules. The first rule to match wins. See README.access for syntax and + examples.