]> git.marmaro.de Git - mmh/blobdiff - uip/inc.c
Rest of the MMDF-style mail drop support removal.
[mmh] / uip / inc.c
index e3199c048e4355c6028d89a1134ef1c7c5c27517..f000d4767187fa655a7e15c03ee0778565a6fdd2 100644 (file)
--- a/uip/inc.c
+++ b/uip/inc.c
@@ -288,7 +288,7 @@ main(int argc, char **argv)
        else if ((newmail = context_find("maildrop")) && *newmail)
                newmail = toabsdir(newmail);
        else {
        else if ((newmail = context_find("maildrop")) && *newmail)
                newmail = toabsdir(newmail);
        else {
-               newmail = concat(MAILDIR, "/", MAILFIL, NULL);
+               newmail = concat(mailspool, "/", getusername(), NULL);
        }
        if (stat(newmail, &s1) == NOTOK || s1.st_size == 0)
                adios(NULL, "no mail to incorporate");
        }
        if (stat(newmail, &s1) == NOTOK || s1.st_size == 0)
                adios(NULL, "no mail to incorporate");