]> git.ipfire.org Git - thirdparty/mlmmj.git/log
thirdparty/mlmmj.git
22 years agomlmmj-maintd now resends the ones that failed. Add listctrl switch to
mmj [Wed, 2 Jun 2004 19:10:11 +0000 (05:10 +1000)] 
mlmmj-maintd now resends the ones that failed. Add listctrl switch to
do aid with it in mlmmj-send.

22 years agousleep(WAITSLEEP) while waiting for child processes to die
mortenp [Wed, 2 Jun 2004 15:26:25 +0000 (01:26 +1000)] 
usleep(WAITSLEEP) while waiting for child processes to die

22 years agoFixed interrupted fgets() in write_mailbody_from_file()
mortenp [Wed, 2 Jun 2004 12:34:07 +0000 (22:34 +1000)] 
Fixed interrupted fgets() in write_mailbody_from_file()

22 years agoSet MAX_CONNECTIONS to 1
mmj [Wed, 2 Jun 2004 06:26:57 +0000 (16:26 +1000)] 
Set MAX_CONNECTIONS to 1

22 years agoAlso remove leftover .{mailfrom,reciptto,reply-to} files without the
mmj [Wed, 2 Jun 2004 05:24:59 +0000 (15:24 +1000)] 
Also remove leftover .{mailfrom,reciptto,reply-to} files without the
corresponding mail.

22 years agoFix daemonizing
mmj [Tue, 1 Jun 2004 22:57:48 +0000 (08:57 +1000)] 
Fix daemonizing

22 years agomlmmj-maintd testet, and works
mmj [Tue, 1 Jun 2004 22:49:58 +0000 (08:49 +1000)] 
mlmmj-maintd testet, and works

22 years agomlmmj-maintd work (still in progress)
mmj [Tue, 1 Jun 2004 22:12:46 +0000 (08:12 +1000)] 
mlmmj-maintd work (still in progress)

22 years agoappend to subscribers file and not archive before last mlmmj-send is done.
mmj [Tue, 1 Jun 2004 22:03:06 +0000 (08:03 +1000)] 
append to subscribers file and not archive before last mlmmj-send is done.

22 years agoFixed leak of subfile in mlmmj-send
mortenp [Tue, 1 Jun 2004 20:10:14 +0000 (06:10 +1000)] 
Fixed leak of subfile in mlmmj-send

22 years agoBetter do it like this. Not pretty thought, but I doubt it can be...
mmj [Tue, 1 Jun 2004 18:48:39 +0000 (04:48 +1000)] 
Better do it like this. Not pretty thought, but I doubt it can be...

22 years agoFurther work on mlmmj-maintd.
mmj [Mon, 31 May 2004 18:59:28 +0000 (04:59 +1000)] 
Further work on mlmmj-maintd.

NEEDS TESTING!

22 years agoget Cc: header as well
mmj [Mon, 31 May 2004 18:58:43 +0000 (04:58 +1000)] 
get Cc: header as well

22 years agoFile for telling people the emailaddress have to be in To: or Cc:
mmj [Sat, 29 May 2004 16:57:59 +0000 (02:57 +1000)] 
File for telling people the emailaddress have to be in To: or Cc:

22 years agoMake sure it compiles before releasing it :-)
mmj [Sat, 29 May 2004 14:41:36 +0000 (00:41 +1000)] 
Make sure it compiles before releasing it :-)

22 years agoMove footer and customheader to control/. I've been meaning to do this
mmj [Sat, 29 May 2004 14:40:40 +0000 (00:40 +1000)] 
Move footer and customheader to control/. I've been meaning to do this
for a long time, that's where they belong.

22 years agoUpdate for 0.5.2
mmj [Sat, 29 May 2004 14:40:21 +0000 (00:40 +1000)] 
Update for 0.5.2

22 years agoit's +bounces-help not -bounces+help
mmj [Sat, 29 May 2004 14:30:20 +0000 (00:30 +1000)] 
it's +bounces-help not -bounces+help

22 years agoFurther stuff in mlmmj-maintd
mmj [Sat, 29 May 2004 14:27:53 +0000 (00:27 +1000)] 
Further stuff in mlmmj-maintd

22 years agoBad wording rectified
mmj [Sat, 29 May 2004 13:53:55 +0000 (23:53 +1000)] 
Bad wording rectified

22 years agoUse listdir/moderation for the mails up for moderation and use
mmj [Sat, 29 May 2004 13:53:16 +0000 (23:53 +1000)] 
Use listdir/moderation for the mails up for moderation and use
moderation/queue as temporary queue for the mails to the moderators.

Send the From: info to listcontrol.

Adapt to the fact that we now get info from all headers matching token.

Remove basename use, since mybasename does not modify variable.

22 years agoCreate queue/discard directory
mmj [Sat, 29 May 2004 13:48:09 +0000 (23:48 +1000)] 
Create queue/discard directory

22 years agoUpdate
mmj [Sat, 29 May 2004 13:47:57 +0000 (23:47 +1000)] 
Update

22 years agoUse the nice new mydirname and fix a bug with the archive variable.
mmj [Sat, 29 May 2004 13:46:10 +0000 (23:46 +1000)] 
Use the nice new mydirname and fix a bug with the archive variable.

22 years agoSmall bugfix. Don't allocate sizeof(char **) * count but
mmj [Sat, 29 May 2004 13:42:14 +0000 (23:42 +1000)] 
Small bugfix. Don't allocate sizeof(char **) * count but
sizeof(char *) * count when allocating room for a new entry in a char **

22 years agoIt's not -L 1 but -l 1 for sending single mails
mmj [Sat, 29 May 2004 13:40:37 +0000 (23:40 +1000)] 
It's not -L 1 but -l 1 for sending single mails

22 years agoListcontrol shouldn't open the mailfile to retrieve info we've already
mmj [Sat, 29 May 2004 13:39:39 +0000 (23:39 +1000)] 
Listcontrol shouldn't open the mailfile to retrieve info we've already
retrieved in mlmmj-process. Instead we parse it on to listcontrol from
mlmmj-process.

22 years agoWhen retrieving header info, make sure to get all headers since we might have
mmj [Sat, 29 May 2004 13:36:19 +0000 (23:36 +1000)] 
When retrieving header info, make sure to get all headers since we might have
e.g. several To: headers.

22 years agoMake this change to mailhdr, since we can have e.g. several To:
mmj [Sat, 29 May 2004 10:44:21 +0000 (20:44 +1000)] 
Make this change to mailhdr, since we can have e.g. several To:
headers.

 struct mailhdr {
        const char *token;
-       char *value;
+       int valuecount;
+       char **values;
 };

22 years agoadded comment about the fix i committed along with the mydirname()/mybasename() patch
mortenp [Thu, 27 May 2004 13:13:48 +0000 (23:13 +1000)] 
added comment about the fix i committed along with the mydirname()/mybasename() patch

22 years agoadded mydirname() and mybasename() which doesn't mess with their argument, and
mortenp [Thu, 27 May 2004 13:04:29 +0000 (23:04 +1000)] 
added mydirname() and mybasename() which doesn't mess with their argument, and
returns newly allocated strings

22 years agoAdd -a switch for archive [yes|no]
mmj [Thu, 27 May 2004 07:16:50 +0000 (17:16 +1000)] 
Add -a switch for archive [yes|no]

22 years agoUse strncpy instead of memcpy
mmj [Thu, 27 May 2004 05:44:01 +0000 (15:44 +1000)] 
Use strncpy instead of memcpy
Add some free()'s
Remove some cruft

22 years agoUpdate to reflect recent changes
mmj [Wed, 26 May 2004 23:34:41 +0000 (09:34 +1000)] 
Update to reflect recent changes

22 years agoHeader file changes
mmj [Wed, 26 May 2004 23:34:04 +0000 (09:34 +1000)] 
Header file changes

22 years agoMake mlmmj-send capable of handling a bounce from the relayhost and invoke
mmj [Wed, 26 May 2004 23:31:31 +0000 (09:31 +1000)] 
Make mlmmj-send capable of handling a bounce from the relayhost and invoke
mlmmj-bounce to handle it like any other bounce.

This is (hopefully) the last SMTP functionality we have to implement.

22 years ago-#ifdef MLMMJ_DEBUG
mmj [Wed, 26 May 2004 23:29:48 +0000 (09:29 +1000)] 
-#ifdef MLMMJ_DEBUG
+#if 0

22 years agoMake checkwait_smtpreply return the string that it gets from the mailserver
mmj [Wed, 26 May 2004 23:29:09 +0000 (09:29 +1000)] 
Make checkwait_smtpreply return the string that it gets from the mailserver
in case of error. That way we can check if the relayhost is bouncing local
addresses before accepting it.

22 years agoadd: int is_subbed(const char *listdir, const char *address) for use
mmj [Wed, 26 May 2004 23:27:32 +0000 (09:27 +1000)] 
add: int is_subbed(const char *listdir, const char *address) for use
in mlmmj-bounce

22 years agoHandle sub/unsub confirm mail bounces, and use subscribers.d/ not
mmj [Wed, 26 May 2004 23:25:57 +0000 (09:25 +1000)] 
Handle sub/unsub confirm mail bounces, and use subscribers.d/ not
subscribers.

22 years agoMr. Boole is easy to get the wrong way. Fix so it actually works.
mmj [Mon, 24 May 2004 18:34:41 +0000 (04:34 +1000)] 
Mr. Boole is easy to get the wrong way. Fix so it actually works.

22 years agoDump needed data when failing in mlmmj-send.
mmj [Sun, 23 May 2004 22:07:35 +0000 (08:07 +1000)] 
Dump needed data when failing in mlmmj-send.

Add mlmmj-maintd, the mlmmj maintenance daemon

22 years agomlmmj-maintd header file. Note the tunables are in mlmmj.h
mmj [Sun, 23 May 2004 22:06:58 +0000 (08:06 +1000)] 
mlmmj-maintd header file. Note the tunables are in mlmmj.h

22 years agoAdd entry about mlmmj-maintd
mmj [Sun, 23 May 2004 22:06:37 +0000 (08:06 +1000)] 
Add entry about mlmmj-maintd

22 years agoAlso dump MAIL FROM:, RCPT TO: and Reply To: variables in the case of an
mmj [Sat, 22 May 2004 14:36:20 +0000 (00:36 +1000)] 
Also dump MAIL FROM:, RCPT TO: and Reply To: variables in the case of an
error.

Make it known by the filename that's it's a moderaterequest. That way it's
a lot easier for the maintenance process to know how to react.

22 years agoClean up and extend help everywhere.
mmj [Sat, 22 May 2004 13:57:12 +0000 (23:57 +1000)] 
Clean up and extend help everywhere.
Remove unused code from mlmmj-bounce.

22 years agoMakefile goes into .cvsignore and update ChangeLog
mmj [Sat, 22 May 2004 13:56:44 +0000 (23:56 +1000)] 
Makefile goes into .cvsignore and update ChangeLog

22 years agosmall fix for over-sized hostnames in hostnamestr()
mortenp [Sat, 22 May 2004 10:47:18 +0000 (20:47 +1000)] 
small fix for over-sized hostnames in hostnamestr()

22 years agoSend our hostname in HELO and change the mlmmj-send output from
mmj [Fri, 21 May 2004 08:46:00 +0000 (18:46 +1000)] 
Send our hostname in HELO and change the mlmmj-send output from

 Connected: ok
 HELO: ok
 MAIL FROM: ok
 RCPT TO: ok
 DATA: ok 35x
 Mail queued: ok
 Closed connection

To:

 220 panther.mmj.dk ESMTP
 250 panther.mmj.dk
 250 Ok
 250 Ok
 354 End data with <CR><LF>.<CR><LF>
 250 Ok: queued as A8DA4F2FA4
 221 Bye

22 years agochar *hostnamestr(void);
mmj [Fri, 21 May 2004 08:43:58 +0000 (18:43 +1000)] 
char *hostnamestr(void);

22 years agoChangeLog and VERSION update
mmj [Fri, 21 May 2004 08:43:42 +0000 (18:43 +1000)] 
ChangeLog and VERSION update

22 years agoCreate and mention listdir/requeue
mmj [Wed, 19 May 2004 23:23:30 +0000 (09:23 +1000)] 
Create and mention listdir/requeue

22 years agoAdd requeueing
mmj [Wed, 19 May 2004 23:19:02 +0000 (09:19 +1000)] 
Add requeueing

22 years agoSend listdir along
mmj [Wed, 19 May 2004 23:18:50 +0000 (09:18 +1000)] 
Send listdir along

22 years agoChangeLog has a requeuing mechanism entry and TODO has gotten smaller :)
mmj [Wed, 19 May 2004 23:18:36 +0000 (09:18 +1000)] 
ChangeLog has a requeuing mechanism entry and TODO has gotten smaller :)

22 years ago0.5.1 README
mmj [Wed, 19 May 2004 23:15:46 +0000 (09:15 +1000)] 
0.5.1 README

22 years ago.cvsignore updates
mmj [Wed, 19 May 2004 23:15:23 +0000 (09:15 +1000)] 
.cvsignore updates

22 years agoexplained closedlist
mortenp [Wed, 19 May 2004 13:23:17 +0000 (23:23 +1000)] 
explained closedlist

22 years ago+0.5.1
mmj [Wed, 19 May 2004 13:04:41 +0000 (23:04 +1000)] 
+0.5.1
+ o Add a file TUNABLES which documents the ways to tune mlmmj lists.
+ o Add support for Subject: prefix

22 years agoif(infile == NULL) return NULL;
mmj [Wed, 19 May 2004 10:43:12 +0000 (20:43 +1000)] 
if(infile == NULL) return NULL;

22 years agoFile for generating bounce probes.
mmj [Wed, 19 May 2004 09:28:37 +0000 (19:28 +1000)] 
File for generating bounce probes.

22 years agoA better TODO
mmj [Tue, 18 May 2004 17:17:12 +0000 (03:17 +1000)] 
A better TODO

22 years agoadded comment about why the rename() call is safe
mortenp [Tue, 18 May 2004 17:02:20 +0000 (03:02 +1000)] 
added comment about why the rename() call is safe

22 years agoAdded WAITTIME (time to sleep before checking if we should spawn another mlmmj-send...
mortenp [Tue, 18 May 2004 15:25:36 +0000 (01:25 +1000)] 
Added WAITTIME (time to sleep before checking if we should spawn another mlmmj-send process) option in mlmmj.h

22 years agoadded comment about my fix
mortenp [Tue, 18 May 2004 14:40:17 +0000 (00:40 +1000)] 
added comment about my fix

22 years agobail out if we can not open subscribers.d/
mortenp [Tue, 18 May 2004 14:37:01 +0000 (00:37 +1000)] 
bail out if we can not open subscribers.d/

22 years agomlmmj-{,un}sub have been brought up to speed in a coordinated effort
mortenp [Mon, 17 May 2004 22:02:34 +0000 (08:02 +1000)] 
mlmmj-{,un}sub have been brought up to speed in a coordinated effort

22 years agoremoval of crufty crappy Makefile.in
mortenp [Mon, 17 May 2004 21:34:07 +0000 (07:34 +1000)] 
removal of crufty crappy Makefile.in

22 years agofixed spawn count
mortenp [Wed, 12 May 2004 12:06:52 +0000 (22:06 +1000)] 
fixed spawn count

22 years agomlmmj-make-ml.sh now creates subscribers.d as well
mmj [Tue, 11 May 2004 23:36:35 +0000 (09:36 +1000)] 
mlmmj-make-ml.sh now creates subscribers.d as well

22 years agomlmmj-send now forks multiple connections per subscriber.d/file
mmj [Tue, 11 May 2004 23:08:04 +0000 (09:08 +1000)] 
mlmmj-send now forks multiple connections per subscriber.d/file

22 years agoadded check for slash in list control string
mortenp [Tue, 11 May 2004 20:24:56 +0000 (06:24 +1000)] 
added check for slash in list control string

22 years agoadded comment about listcontrol() cleanup
mortenp [Tue, 11 May 2004 19:52:00 +0000 (05:52 +1000)] 
added comment about listcontrol() cleanup

22 years agochanged to be a big switch instead of a lot of if-else-if
mortenp [Tue, 11 May 2004 19:50:28 +0000 (05:50 +1000)] 
changed to be a big switch instead of a lot of if-else-if

22 years agoremoved (unused) BINDIR
mortenp [Tue, 11 May 2004 19:49:32 +0000 (05:49 +1000)] 
removed (unused) BINDIR
added MY_ASSERT macro

22 years agochanged incindexfile() - removed incflag, changed error return to be 0, and it now...
mortenp [Tue, 11 May 2004 15:50:04 +0000 (01:50 +1000)] 
changed incindexfile() - removed incflag, changed error return to be 0, and it now saves last used index in the file

22 years agoAssorted fixes
mmj [Mon, 10 May 2004 12:22:21 +0000 (22:22 +1000)] 
Assorted fixes

22 years agofix from Christoph Thiel
mmj [Sun, 9 May 2004 11:48:05 +0000 (21:48 +1000)] 
fix from Christoph Thiel

22 years agoBouncehandling, and massive cleanups around.
mmj [Sat, 1 May 2004 09:54:58 +0000 (19:54 +1000)] 
Bouncehandling, and massive cleanups around.

22 years agoBad bad mmj. Always make sure it compiles before checkin.
mmj [Fri, 30 Apr 2004 09:02:13 +0000 (19:02 +1000)] 
Bad bad mmj. Always make sure it compiles before checkin.

22 years agoThis is new function to quickly stat a control of the list. Example:
mmj [Fri, 30 Apr 2004 08:58:08 +0000 (18:58 +1000)] 
This is new function to quickly stat a control of the list. Example:

int moderatedlist = statctrl(listdir, "moderated);

Then it'll return true/false according to whether a file
listdir/control/moderated exists.

Add statctrl call to listcontrol for closedlist. The other functions I've
touched are only cleaning a bit.

22 years agoThis is new function to quickly stat a control of the list. Example:
mmj [Fri, 30 Apr 2004 08:57:33 +0000 (18:57 +1000)] 
This is new function to quickly stat a control of the list. Example:

int moderatedlist = statctrl(listdir, "moderated);

Then it'll return true/false according to whether a file
listdir/control/moderated exists.

22 years agoAdd the new directories to the README. It's listdir/control, listdir/moderation
mmj [Fri, 30 Apr 2004 08:56:35 +0000 (18:56 +1000)] 
Add the new directories to the README. It's listdir/control, listdir/moderation
and listdir/moderation/queue

22 years agoadded -F (no fork) option
mortenp [Fri, 30 Apr 2004 07:20:01 +0000 (17:20 +1000)] 
added -F (no fork) option

22 years agoprepare 0.3.4 release
mortenp [Wed, 28 Apr 2004 12:12:16 +0000 (22:12 +1000)] 
prepare 0.3.4 release

22 years agoadded comment about dot-fix
mortenp [Wed, 28 Apr 2004 11:59:54 +0000 (21:59 +1000)] 
added comment about dot-fix

22 years agofixed smtp handling of lines which start with a dot
mortenp [Wed, 28 Apr 2004 11:58:00 +0000 (21:58 +1000)] 
fixed smtp handling of lines which start with a dot

22 years agoif 0 ... #endif out debug messages
mmj [Tue, 27 Apr 2004 20:11:59 +0000 (06:11 +1000)] 
if 0 ... #endif out debug messages

22 years agoREADME adjustments
mmj [Tue, 27 Apr 2004 17:30:39 +0000 (03:30 +1000)] 
README adjustments

22 years agoSmall typo and bouncehandling now works
mmj [Tue, 27 Apr 2004 17:24:19 +0000 (03:24 +1000)] 
Small typo and bouncehandling now works

22 years ago0.3.3 tagged
mmj [Tue, 27 Apr 2004 17:24:04 +0000 (03:24 +1000)] 
0.3.3 tagged

22 years agoBe nice and free some memory before exit
mmj [Tue, 27 Apr 2004 16:36:34 +0000 (02:36 +1000)] 
Be nice and free some memory before exit

22 years agofixed subscription check (convert '=' to '@' before check)
mortenp [Tue, 27 Apr 2004 16:07:42 +0000 (02:07 +1000)] 
fixed subscription check (convert '=' to '@' before check)

22 years agoadded comment about bounce handling
mortenp [Tue, 27 Apr 2004 15:50:17 +0000 (01:50 +1000)] 
added comment about bounce handling

22 years ago*** empty log message ***
mmj [Tue, 27 Apr 2004 15:48:16 +0000 (01:48 +1000)] 
*** empty log message ***

22 years agomlmmj-recieve fork()
mmj [Tue, 27 Apr 2004 15:47:43 +0000 (01:47 +1000)] 
mlmmj-recieve fork()

22 years agobounces are now handled, so don't create the -bounces alias
mortenp [Tue, 27 Apr 2004 12:58:18 +0000 (22:58 +1000)] 
bounces are now handled, so don't create the -bounces alias

22 years agochanged bounce_from_adr() to match the bounce handling
mortenp [Tue, 27 Apr 2004 12:51:56 +0000 (22:51 +1000)] 
changed bounce_from_adr() to match the bounce handling

22 years agomlmmj-bounce now checks if it's a subscribed address
mmj [Tue, 27 Apr 2004 12:37:58 +0000 (22:37 +1000)] 
mlmmj-bounce now checks if it's a subscribed address

22 years agoNow we've bouncehandling underway, lets make mlmmj-make-ml.sh create the listdir...
mmj [Tue, 27 Apr 2004 10:12:40 +0000 (20:12 +1000)] 
Now we've bouncehandling underway, lets make mlmmj-make-ml.sh create the listdir/bounce dir as well