-README mlmmj-0.5.2 May 29th 2004
+README mlmmj-0.6.0 Jun 6th 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
NOTE: Don't forget newaliases.
+4) Start mlmmj-maintd (remember full path when starting it!) or add it to
+ crontab with -F switch. Note that mlmmj-maintd is still work in progress,
+ but except bouncehandling everything should be there.
+
That's it! You might want to go through the next steps too.
-4) Subscribe some people
+5) Subscribe some people
mlmmj-sub -L /var/spool/mlmmj/mlmmj-test/ -a joe@domain.tld
directory and files in there, if you don't perform all list actions as the
user that writes mail.
-5) If you want custom headers like X-Mailinglist, Reply-To: etc. just add a
+6) If you want custom headers like X-Mailinglist, Reply-To: etc. just add a
file called 'customheaders' in the list control/ directory like this:
$ cat /var/spool/mlmmj/mlmmj-test/control/customheaders
X-Mailinglist: mlmmj-test
Reply-To: mlmmj-test@domain.tld
-6) If you want every mail to have something like:
+7) If you want every mail to have something like:
--
To unsubscribe send a mail to coollist+unsubscribe@lists.domain.net
Just add what you want to a file named "footer" in the same dir as
"customheader" (listdir/control/).
-7) For having a moderated list, simply create a file called 'moderated' in the
+8) For having a moderated list, simply create a file called 'moderated' in the
control/ directory. Moderators are added to a file called 'moderators' in
the listdir, just like subscribers are in the subscribers file.
-8) Have a look at the file TUNABLES for runtime configurable things.
+9) Have a look at the file TUNABLES for runtime configurable things.
Tunables in include/mlmmj.h:
-If you want to use something else than localhost for your maildelivery you have
-to change RELAYHOST.
-If you want to spawn more than 3 smtp connections to your relayhost, change
-MAX_CONNECTIONS to the desired value.
+ · If you want to use something else than localhost for your maildelivery you have
+ to change RELAYHOST.
+ · There's some time intervals for how mlmmj-maintd operates. I've choosen
+ non-strict defaults, so depending on your BOFH rate you might want to tweak.
Have a fun!
for(next = cur = start; next < start + st.st_size; next++) {
if(*next == '\n' || next == start + st.st_size - 1) {
len = next - cur;
- if(next == start + st.st_size - 1)
+ if(next == start + st.st_size - 1 && *next != '\n')
len++;
addr = malloc(len + 1);
strncpy(addr, cur, len);
do {
/* Dirty hack to add newline. */
len = strlen(addr);
- addr[len] = '\n';
- if(writen(addrfd, addr, len+1) < 0)
+ if(writen(addrfd, addr, len) < 0)
log_error(LOG_ARGS,
"Could not add [%s] "
"to requeue address "