Koozali.org formerly Contribs.org

Setting up test procmail file template

Setting up test procmail file template
« on: May 31, 2006, 10:42:11 PM »
Im trying to create a sample test template.

I took a .procmail file from a user and copied it into the /etc directory with the name .procmail.test

I then took the /etc/e-smith/templates-user/.procmailrc dir and copied it to /etc/e-smith/templates-user-custom/.procmailrc.test

I then added a file into the .procmailrc.test with the name of  31_template_test with my data in it.

I then run the command /sbin/e-smith/expand-template /etc/e-smith/templates-user-custom/.procmailrc.test

This gives me the error.

ERROR: Could not expand //etc/e-smith/templates-user-custom/.procmailrc.test template - it is a directory
 at /sbin/e-smith/expand-template line 49

When I used the document
http://mirror.contribs.org/smeserver/contribs//gordonr/devguide/html/devguide.html#TEMPLATES

To change the crontab.test it worked fine. Now when I do it on this it does not.

Can anyone tell me what this error means or what Im doing wrong.

Regards