changeset 280:8ea7108cc4ae

0.8.1 preparations
author mmj
date Fri, 25 Jun 2004 18:14:25 +1000
parents 118a412fcebd
children 97634188c50c
files ChangeLog README TUNABLES include/wrappers.h src/mlmmj-process.c
diffstat 5 files changed, 5 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jun 25 17:48:15 2004 +1000
+++ b/ChangeLog	Fri Jun 25 18:14:25 2004 +1000
@@ -1,4 +1,6 @@
 0.8.1
+ o Go through all open() calls and retry in case we (allthough it's extremely
+   unlikely) did get EEXIST
  o Add the option to add a To: header including the recipient emailaddress.
    NOTE that this does not remove any existing To: headers, they should be
    removed in control/delheaders
--- a/README	Fri Jun 25 17:48:15 2004 +1000
+++ b/README	Fri Jun 25 18:14:25 2004 +1000
@@ -1,4 +1,4 @@
-README mlmmj-0.8.0					Jun 21th 2004
+README mlmmj-0.8.1					Jun 25th 2004
 
 This is an attempt at implementing a mailing list manager with the same
 functionality as the brilliant ezmlm, but with a decent license and mail server
@@ -12,7 +12,6 @@
  · Complete requeueing functionality
  · Moderation functionality
  · Subject prefix
- · Subscribe / unsubscribe functionality (email, commandline).
  · Subscribers only posting
  · Regular expression access control
 
@@ -23,7 +22,7 @@
 
         recipient_delimiter = +
 
-    to /etc/postfix/main.cf. In Exim it's done by adding
+    to /etc/postfix/main.cf. In Exim it can be done by adding
 
         local_part_suffix = +*
 	local_part_suffix_optional
--- a/TUNABLES	Fri Jun 25 17:48:15 2004 +1000
+++ b/TUNABLES	Fri Jun 25 18:14:25 2004 +1000
@@ -8,7 +8,6 @@
 value, leaving line 2 and forward ready for commentary etc. If it's possible
 to specify several entries (one pr. line), it's marked "list".
 
-
  · closedlist			(boolean)
 
    Is the list is open or closed. If it's closed subscribtion and
@@ -16,38 +15,31 @@
    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
@@ -57,7 +49,6 @@
    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
--- a/include/wrappers.h	Fri Jun 25 17:48:15 2004 +1000
+++ b/include/wrappers.h	Fri Jun 25 18:14:25 2004 +1000
@@ -29,7 +29,5 @@
 ssize_t writen(int fd, const void *vptr, size_t n);
 int random_int(void);
 int dumpfd2fd(int infd, int outfd);
-int openrandexclrw(const char *dir, const char *prefix, mode_t mode,
-		   char *name);
 
 #endif /* WRAPPERS_H */
--- a/src/mlmmj-process.c	Fri Jun 25 17:48:15 2004 +1000
+++ b/src/mlmmj-process.c	Fri Jun 25 18:14:25 2004 +1000
@@ -324,7 +324,7 @@
 
 int main(int argc, char **argv)
 {
-	int i, fd, opt, noprocess = 0, moderated = 0;
+	int i, opt, noprocess = 0, moderated = 0;
 	int hdrfd, footfd, rawmailfd, donemailfd;
 	int subonlypost = 0, addrtocc = 1, intocc = 0;
 	char *listdir = NULL, *mailfile = NULL, *headerfilename = NULL;