Email unstable recently- procmail 'illegal instruction'

SYSTEM INFORMATION
OS type and version Ubuntu 22.04.3
Webmin version 2.105

I’ve been getting some odd crashes and can’t pin it down.

  • Wordpress sites showing errors. This stabilised after a few reboots and updates
  • but email is still a bit funny

Partially obfuscated error message-

email-xxxxicemax.com.au@host.xxxxicemax.com.au (expanded from
email@xxxxicemax.com.au):

Command died with status 132:
“/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME”. Command output:
Illegal instruction (core dumped)

any tips about how I could isolate and fix this please?

What’s your system architecture?

Not sure 100% what you’re asking but it is a VM hosted at Binary Lane in Australia, 2x CPU and 4GB RAM.

I’m asking if you have an x86/x86_64 system or if you have something else like ARM.

right sorry it is x86_64

Kernel and CPU Linux 5.15.0-92-generic on x86_64

Hmmm…So, what version of the procmail-wrapper package do you have?

looks like v1.1-3

Screenshot 2024-01-31 at 1.22.54 pm

That’s current/correct. I don’t know what to make of the error you’re getting. Is there anything in the kernel log (dmesg) related to this? Or whatever the apparmor log is? I’m grasping as straws here, as I can’t think of any reason for it to fail. The wrapper is so tiny, it has like five instructions, I can’t figure out how any of them could be illegal.

Hi Joe,
I’ve captured a bunch of logs but can’t see anything useful- anywhere private I can upload them please?

I don’t need a bunch of logs. You’d be looking for an event that happened at exactly the moment this error occurs. Nothing else matters.

So, trigger the error, and look for log entries that appear at that exact time. That’s the log entry (or maybe a couple/few log entries) I’d need to see.

ok thanks,
Seems to be working ok now after a reboot, I will watch out for it and try to do this.

Thanks for the quick response!

A

Memory bits do get randomly flipped for various reasons.

GEOMAGNETIC STORM WATCH (G1): A coronal mass ejection (CME) might graze Earth today. It was hurled into space by a strong solar flare (M6.8-class) on Jan. 29th. Although most of the CME will miss our planet, a NASA model suggests that its flank could deliver a glancing blow on Jan. 31st. If so, the impact could spark a minor G1-class geomagnetic storm. Aurora alerts: SMS Text

haha that’s a semi-reasonable if left field explanation!
I’ve had the exact error before so I will keep investigating, but thanks for the reply @ID10T !

Dependent on other factors like virtual memory, 4 gig physical memory may be a tad slim.

I have 4Gig with 15 websites and it works fine. I guess it depends on how many websites your talking about. Mail is least resource hungry as well.

Thanks,
I don’t think the system is stressed, but I’ll consider adding more resources once I finish the current round of moving stuff around. (This server is not being touched BTW)