Procmail-wrapper (1.1-2-amd64): Command died with status 127: "/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME". Command output: sh: 1: /usr/bin/procmail-wrapper: not found

SYSTEM INFORMATION
OS type and version: Debian GNU/Linux 10 (buster), amd64
Webmin version: 1.984
Virtualmin version: 6.17-3
Related products version: procmail-wrapper (1.1-2-amd64)

After updating procmail-wrapper and restarting webmin, postfix and dovecot all received mail results in non-delivery reports:

Command died with status 127:
    "/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME". Command output: sh:
    1: /usr/bin/procmail-wrapper: not found

The binary seems fine though:

$ stat /usr/bin/procmail-wrapper
  File: /usr/bin/procmail-wrapper
  Size: 16156     	Blocks: 32         IO Block: 4096   regular file
Device: fe01h/65025d	Inode: 10491179    Links: 1
Access: (4755/-rwsr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2022-01-26 20:53:09.000000000 +0100
Modify: 2022-01-26 18:19:51.000000000 +0100
Change: 2022-01-26 20:53:11.177011751 +0100
 Birth: -

$ file /usr/bin/procmail-wrapper
/usr/bin/procmail-wrapper: setuid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=001eb74651bd1a8f687ea4aad7a8454e58d5f4dc, not stripped

Downgraded procmail-wrapper to 1.0-2 for the moment being.

Hi,

Thank you for your report. There was a bug. @Joe has just fixed in version 1.1-2. Please run the following command to install the fixed version:

apt-get update && apt-get upgrade

Thank you for your fast reply.
Was 1.1-2 re-published? Because this is the version I experienced this behaviour with, just a few minutes ago.

If you’re on 64 bit system than it will need another fix, which will be put in version 1.1-3 just in a bit. Sorry about that!

1 Like

Should be fixed now.

Sorry for the inconvenience. I haven’t needed to touch this program since 2006. I forget things in all that time.

The new build is a proper static build that should work on both 32 bit and 64 bit systems.

2 Likes

Confirming this build works. Thank you!

2 Likes

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.