]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
Cleanup confirmation bounces
authormmj <none@none>
Thu, 28 Apr 2005 07:52:06 +0000 (17:52 +1000)
committermmj <none@none>
Thu, 28 Apr 2005 07:52:06 +0000 (17:52 +1000)
src/mlmmj-bounce.c

index 5f64d5f8605c3adbd2524cb4145f56f67f16a724..3d6c0adbd8fcb09eca8148fac810b763b519b7bf 100644 (file)
@@ -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