changeset 483:ec080ab4e9e7

Cleanup confirmation bounces
author mmj
date Thu, 28 Apr 2005 17:52:06 +1000
parents 101cec1dc992
children 2855bbfb74fe
files src/mlmmj-bounce.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/mlmmj-bounce.c	Thu Apr 28 04:36:05 2005 +1000
+++ b/src/mlmmj-bounce.c	Thu Apr 28 17:52:06 2005 +1000
@@ -340,12 +340,16 @@
 		a = concatstr(3, listdir, "/subconf/", address);
 		unlink(a);
 		myfree(a);
+		if(mailname)
+			unlink(mailname);
 		exit(EXIT_SUCCESS);
 	}
 	if(strcmp(number, "confunsub") == 0) {
 		a = concatstr(3, listdir, "/unsubconf/", address);
 		unlink(a);
 		myfree(a);
+		if(mailname)
+			unlink(mailname);
 		exit(EXIT_SUCCESS);
 	}
 	/* Below checks for bounce probes bouncing. If they do, simply remove