Help please - The procmail command in the Postfix configuration does not exist

Operating system|Ubuntu Linux 20.04.6|
Webmin version|2.111|
Usermin version|2.010|
Virtualmin version|7.10.0|
Authentic theme version|21.10|
Kernel and CPU|Linux 5.4.0-192-generic on x86_64|
Processor information|AMD EPYC-Milan Processor, 2 cores
Package updates|[All installed packages are up to date]

Hi,

The latest series of package updates appears to have caused some chaos on my machine. For some reason Apache got upset and I have had to reinstall a series of modules that have been highlighted using the “Re-check and refresh configuration” link on the dashboard.

I have managed to resolve most issues but this is the latest message and I do not want to play with Postfix without guidance.

The message reads:

The procmail command in the Postfix configuration does not exist

Yet when I search procmail on the Postfix config file I get these instances:

Line 50
/etc/postfix/main.cfmailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME

Line: 463
/etc/postfix/main.cf.proto# an expensive shell process. procmail alone is expensive enough.

Line: 468
/etc/postfix/main.cf.proto#mailbox_command = /usr/bin/procmail

Line: 469
/etc/postfix/main.cf.proto#mailbox_command = /usr/bin/procmail -a “$EXTENSION”

However, /usr/bin/ has no procmail entries at all.

How do I fix this without upsetting the server further please?

Geoff

OK

So I found a post that Joe replied to and I have run

apt install procmail-wrapper

Which has cleared that error but now it is hanging on this one:

Plugin virtualmin-awstats cannot be used : The AWStats command /usr/lib/cgi-bin/awstats.pl was not found on your system.

So I have re-installed AWStats and finally the error messages have been cleared.

Is there a reason why this has happened?

This can be closed as I am going to open a new topic on mail service as I still cannot get IMAP to run on my server, the reason why I started looking at the virtualmin configuration.

Sounds like a botched install, or an OS upgrade that included removing some of the Virtualmin stack.

Note that a --minimal install would never include AWStats or Webalizer or a bunch of other packages (and newer distros have stopped shipping Webalizer and maybe AWStats, as well, and we won’t try to use them if they don’t exist, but if you restore backups from a system that had them, it’ll complain and you’ll need to either disable the feature during install or find a way to install those packages).

Thanks Joe.

Can you look at my next post for me please?

Geoff

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