Officially, Virtualmin only supports x86 architecture.
Now I hadn’t realised that, but based on posts from 2023, I recompiled procmail-wrapper to resolve this issue. Unfortunately, it had no result.
The logging of que states:
This is the mail system at host vserver2.mt-ict.nl.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<"info@opensourceplein.nl"@vserver2.mt-ict.nl> (expanded from
<info@opensourceplein.nl>): Command died with status 126:
"/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME". Command output: sh:
1: /usr/bin/procmail-wrapper: Exec format error
It could be something simple that I don’t see, down to Virtualmin not running well on ARM Architecture anyway.
This server is really fast and has value for money. I hope for a solution.
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.
That’s not the right version, that’s very old. We have docs for this. We used to have the source for procmail-wrapper in the Virtualmin repo, as well, but I don’t see it now, I don’t know when/why it was removed. But, the docs include the full source.
But, please don’t use that in production (without extensive testing of your own) and don’t ask questions about development software. Development releases are meant for development testing, not production use.
That’s all true, with one small correction—those previously linked are more like pre-release builds, since they’re built from GitHub releases, not from every commit. We shouldn’t compare them to stable repos, but they’re not exactly development builds either.
Email still works fine.
Also pleasant that it is clear that Virtualmin is not architecture-sensitive.
I’m about to create a snapshot before installing the rest of the plugins and building the system further.
Hi Ilia, thank you for this repository.
May be I will experiment with this in the near future.
For now the recompiled versien op procmail-wrapper is sufficient.