Hi Joe, I found places with a discussion about this.
- compile procmail-wrapper for armel kirkwood
- I got Virtualmin working on ARM64 (Ampere)
I used this code in procmail-wrapper.c:
#
#include <stdio.h>
int main(int argc, char **argv)
{
setuid(geteuid());
setgid(getegid());
execv("/usr/bin/procmail", argv);
}
But, I am still not sure that this was the solution.
gcc -o procmail-wrapper procmail-wrapper.c
and than copied the procmail-wrapper to /usr/bin directory.
Do you have an idea about this?