In one of our heavily modified 5.6 installs there is a custom template /var/control/mailrules.default/20ValidateLocalRecipient
Its a script that looks at the e-smith config files to populate mailrules.default.
For the life of me I cannot determine which add on package is responsible for this - anyone know ? Reason I need to know is that it is blocking any attempt to create virtual domain aliases.
The reason that script is causeing problems is because it doesn't belong in /var/control/mailrules.default/ it belongs in /etc/e-smith/templates/var/qmail/mailrules.default/.
Double check to see if that is where it is.
It should have root owenrship with root as the group and chmod to 644. The error may be that the script is not being found. It however appears to be a native script.
The way you can find out for sure is to look within the contribs that you installed. If the contrib is an rpm or a tar.gz file, you can look within it by using midnight commander. Highlight the file as you would a directory and hit the enter key. Midnight Commander will enter the file and reveal the directories and files within. I found this out by accident. But it's a neat feature.
Scott