I started a new server installation, and I have an error while trying to receive mails. I can send without any problems with all my mail’s domains, but none can receive, I have a mail delivery system message :
<contact-powerloop.fr@powerloop.fr> (expanded from <contact@powerloop.fr>):
Command died with status 2: “/usr/bin/procmail-wrapper -o -a $DOMAIN -d
$LOGNAME”. Command output: sh: 1: /usr/bin/procmail-wrapper: Exec format
error
Reporting-MTA: dns; powerloop.fr
X-Postfix-Queue-ID: 4C5AE950B2
X-Postfix-Sender: rfc822; vincentgalard@gmail.com
Arrival-Date: Sat, 29 Jan 2022 12:16:33 +0000 (GMT)
If you’re seeing this error you are either running an EOL operating system, you’re running on an unsupported architecture, or you’re not up to date with Virtualmin packages.
You should generally start a fresh topic with the specifics of your deployment rather than hijacking an existing thread, which may not have the same cause as your situation, even if the symptom is the same.
You mostly can’t use Virtualmin’s mail processing tools (i.e. spam/AV) with that change, but regular delivery will work. But, since this is a small machine, running AV scanning is probably a mistake or impossibility, anyway (ClamAV needs over 1GB of RAM all by itself).