--- qmail-1.03/spawn.c 2004-12-17 19:28:32.453595448 +0100 +++ qmail-1.03-noxa/spawn.c 2004-12-17 19:32:49.252556072 +0100 @@ -111,9 +111,17 @@ { close(fdmess); err("Zqmail-spawn unable to fstat message. (#4.3.0)\n"); return; } if ((st.st_mode & S_IFMT) != S_IFREG) { close(fdmess); err("ZSorry, message has wrong type. (#4.3.5)\n"); return; } + +/* XXX: noxa */ +/* + * workaround for qmail in chroot-ed environments + * this BULLSHIT, XXX + */ +#if 0 if (st.st_uid != auto_uidq) /* aaack! qmailq has to be trusted! */ /* your security is already toast at this point. damage control... */ { close(fdmess); err("ZSorry, message has wrong owner. (#4.3.5)\n"); return; } +#endif if (pipe(pi) == -1) { close(fdmess); err("Zqmail-spawn unable to create pipe. (#4.3.0)\n"); return; }