I’m not sure if this is a coincidence or not but after updating to the latest virtualmin this morning my mail delivery stopped.
Looking in the maillog I saw the following message…
status=bounced (Command died with status 127: "/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME". Command output: sh: /usr/bin/procmail-wrapper: No such file or directory )
Running ‘locate’ showed the file to be in /usr/bin/ but doing a ‘ls’ in /usr/bin/ showed it was no longer there.
I found a copy of procmail-wrapper in /usr/libexec/webmin/virtual-server/ so I copied it from there to /usr/bin and I started getting mail again.
I’m assuming that procmail-wrapper is webmin specific. Has anyone else had theirs go missing?
This file is installed with the virtualmin-base package, though it’ll be moving into its own package quite soon. It’s not supposed to exist in the virtual-server directory…that’s a packaging mistake (I never deleted it when it moved into the virtualmin-base package).
If you uninstalled virtualmin-base to deal with dependency complaints when installing different software (as I’ve suggested once here in the forums to make upgrading to MySQL less troublesome, without thinking of the procmail-wrapper issue), that’ll be the source of the trouble.
I’ll roll up a package of the wrapper today and try to get all new virtualmin-base packages out…you’ll still have to install manually if you’ve removed virtualmin-base (and I don’t recommend reinstalling virtualmin-base unless you use the --nopost option to RPM!).
If you didn’t uninstall virtualmin-base, I’m not sure what happened to your procmail-wrapper. Nothing in the repo should have messed with it lately.
Thanks for the quick reply. I didn’t uninstall virtualmin-base but I did ‘yum remove clamav*’ as I was having problems with it. I don’t know if that was the cause of the problem.
That would have pulled out virtualmin-base, as it depends on the clam packages.
You don’t have to uninstall clam to stop using it (just turn it off in Virtualmin and stop the clamd service), but once I get the procmail-wrapper out of virtualmin-base it won’t hurt anything to remove it.
BTW-We can probably help with the clam troubles, if you want to bring them up here on the forums.
It’s good to know what happened. I just removed and re-installed clamav as my clamd.conf file seemed to have gone astray. I couldn’t find an example one to download so I just got all the packages again.
That will teach me
Just pinging this thread to point out that procmail-wrapper has its own package now. If you’ve removed virtualmin-base for some reason (e.g. to allow use of packages that aren’t part of our defaults, like sendmail instead of postfix or different versions of mysql or php), you don’t need to reinstall it just to get procmail-wrapper.
To install procmail-wrapper:
yum install procmail-wrapper
Note that on systems installed in the past couple of months this package is already installed and virtualmin-base can be removed with reasonable safety.