Things have been running quite smoothly using virtualmin until I updated to centOS 5.6. I got a complaint this morning about “Undelivered Mail Returned to Sender” being received by senders to domains on the system. After some testing, I noticed that the mail does go through, but the sender still gets an error back.
It looks like the problem has to do with:
Command died with status 231: “/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME”
except I’m not sure why procmail-wrapper could be having problems.
Any ideas on where to look or has anyone else experienced this?
No, it’s not a quota error because the users/domains are under quota and one of the domains is unlimited.
Yes, it seems to be happening for all users.
I checked procmail.log and it has:
procmail: Program failure (-25) of “/etc/webmin/virtual-server/lookup-domain.pl”
From user2@domain2.com Mon Apr 18 15:37:38 2011
Subject: test
I’m unfortunately not sure what procmail error code 231 is. A grep through it’s source code doesn’t show that number. It’s possible that the error is coming from one of the other tools procmail communicates with (such as the lookup daemon).
One thing you could try is restarting the lookup-domain daemon using this:
Well, I couldn’t believe I missed this earlier, but it seems that lookup-domain daemon wasn’t running. Restart fixed that and seems that the errors are no longer being sent back!