OK, this is going to be a two-part reply but I'll try to edit this same
post if I can get away with it so it makes sense... NOTE: You are
at your own risk and on your own, I'm sick of waiting for no answers
and the crappy Parallels support for all this so what you read is what
I tried, could break again tomorrow or not be 100% accurate. So if
you give it a shot or build off of this, save the flamewar bits if it doesn't
work right! Just tell us how it should be and we'll go from there.
Found fixes from all the way back to 7.5 to replace the mm_wrapper
file and compile it. Guess what? It's asking for gcc to compile it and
it appears the wonderful (#*$() at Plesk left out all the compilers!
[This was done on a Fedora 8, Plesk 9.0.X box w/Xmas Day's updates]
First, start with this:
yum install gcc
No idea if it matters, but I did this as Root from the / root dir
on this server instead of down in the Qmail area to keep this
from getting any worse...
That'll get your compiler installed to be able to take care of the next
step, this fixes the wrapper problem but then you're ending up with
the mail stuck in the Mail Queue, presumably from the OTHER problem
here in the Forums about the fact that nothing can seem to send out
of the box anymore since this lovely upgrade! See if you can think of
what I'd like to type here in Parallel's direction...
Meanwhile, the mm_wrapper fix courtesy of a Google search:
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
int main(int argc, char** argv, char** env)
{
if (setregid(110, 110) != 0) {
}
(void) execve("/var/qmail/bin/mm_wrapper-real", argv, env);
/* Should not get here */
}
This should be saved as mm_wrapper.c in the /var/qmail/bin
directory for you to compile from right there. How do you get
it in there you ask? Well see more of the crud Plesk never has
in it's docs, they replaced PICO/PINE with it's later version,
Nano.
So you start with "nano mm_wrapper.c" and follow nano's
easy commands to write and save it where it belongs.
Now we have the wrapper code written for Plesk, Lord
knows if it works but when I saw a test mail end up in the
queue, it works for me and I'll gladly post corrections up
here if you post'em in this thread.
Time to compile and chmod to lock it in:
# gcc mm_wrapper.c -o /var/qmail/bin/mm_wrapper
File's complied, the original C file will still be there, just
leave that be and get on to koshering up the compiled
version:
# chmod 6755 /var/qmail/bin/mm_wrapper
That should turn your compiled file red, it does have a 6 in
front for those of you thinking it should be 0755 - it ain't.
That's it. No reboot unless you feel like it and that at least
got an existing List semi-functional, below I seriously hope to
find the patched solution for the outbound Qmail so that our
lists make full circle!
[OUTBOUND FIX OR LINK TO FORUMS POST WILL BE HERE]