changeset 533:40c505c297f5

README and logging of discarded From: emails
author mmj
date Tue, 17 Jan 2006 23:07:51 +1100
parents 67d663145da5
children 4f099cb2099b
files README src/mlmmj-process.c
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/README	Tue Jan 17 22:49:06 2006 +1100
+++ b/README	Tue Jan 17 23:07:51 2006 +1100
@@ -1,4 +1,4 @@
-README mlmmj-1.2.9					         Dec 14th 2005
+README mlmmj-1.2.10					         Jan 17th 2005
 
 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
@@ -29,8 +29,8 @@
 
     $ ./configure && make && make install
 
- 1) Make sure your mailserver accepts '+' as a recipient delimiter. In Postfix
-    it's done by adding
+ 1) Configure a recipient delimiter. The default is to use '+', and in
+    Postfix it's done by adding
 
         recipient_delimiter = +
 
@@ -47,6 +47,8 @@
 
     http://faqs.org/faqs/mail/addressing/
 
+    The mmj TUNABLE "delimiter" configures this on a per list basis
+
  2) Create the mailinglist.  There's a script, mlmmj-make-ml.sh, that will make
     a mailinglist for mlmmj. It is highly recommended to use this script to make
     the lists! What is does is described here:
--- a/src/mlmmj-process.c	Tue Jan 17 22:49:06 2006 +1100
+++ b/src/mlmmj-process.c	Tue Jan 17 23:07:51 2006 +1100
@@ -590,6 +590,9 @@
 				"/queue/discarded/", randomstr);
 		log_error(LOG_ARGS, "Discarding %s due to invalid From:",
 				mailfile);
+		for(i = 0; i < fromemails.emailcount; i++)
+			log_error(LOG_ARGS, "fromemails.emaillist[%d] = %s\n",
+					i, fromemails.emaillist[i]);
 		rename(mailfile, discardname);
 		unlink(donemailname);
 		myfree(donemailname);