Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: d6hq on April 29, 2004, 09:15:41 PM

Title: mailrules.default - where from ?
Post by: d6hq on April 29, 2004, 09:15:41 PM
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.
Title: Re: mailrules.default - where from ?
Post by: satovey on May 14, 2004, 05:42:19 AM
Quote from: "d6hq"
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
Title: mailrules.default - where from ?
Post by: d6hq on May 20, 2004, 12:19:07 AM
Thanks - I found the answer with a bit of digging and apolgies for not posting the full path it was as you say /etc/e-smith/..../var/qmail etc

I also found a way of adding virtual domain consolidation with the db created mailrules-default and its working very nicely