These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for compile procmail-wrapper for armel kirkwood on the new forum.
Hello all
I try to run Webmin/Virtualmin on a QNAP TS-11x. The installation of the original debian packages works well so far. I have recompiled apache2.2-suexec-custom in order to modify the path to /home.
Now I would like to install the package procmail-wrapper on my NAS too. Is there a way/chance to get the source to recompile for the armel architecture; or isn't this code opensource.
If the package procmail-wrapper isn't opensource, what functionallity get lost?
Sorry for my english ;-)
Kind regards
Howdy,
The procmail-wrapper program is just a simple C wrapper to procmail, which is designed to call procmail with the correct permissions.
The source is as follows:
#include <stdio.h>
#ifndef REAL_PROCMAIL
#define REAL_PROCMAIL "/usr/bin/procmail"
#endif
int main(int argc, char **argv)
{
setuid(geteuid());
setgid(getegid());
execv(REAL_PROCMAIL, argv);
}
What's important is that it is set to mode 6755, so that procmail gets run as root on Postfix systems.
-Eric