From: mmj Date: Thu, 28 Apr 2005 07:52:06 +0000 (+1000) Subject: Cleanup confirmation bounces X-Git-Tag: RELEASE_1_2_12_RC1~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1962a2fe2933def334b8ddeeceb11810bed2062;p=thirdparty%2Fmlmmj.git Cleanup confirmation bounces --- diff --git a/src/mlmmj-bounce.c b/src/mlmmj-bounce.c index 5f64d5f8..3d6c0adb 100644 --- a/src/mlmmj-bounce.c +++ b/src/mlmmj-bounce.c @@ -340,12 +340,16 @@ int main(int argc, char **argv) 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