Koozali.org: home of the SME Server
Obsolete Releases => SME 6.x Contribs => Topic started by: steve288 on May 15, 2006, 06:00:48 PM
-
I have used procmail before, but am a little confused on this unit where to put the general .procmailrc file.
When I go to the users .procmailrc
------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# SME Server software. Instead, modify the source template in
# an /etc/e-smith/templates-custom directory. For more
# information, see http://www.e-smith.org/custom/
#
# copyright (C) 1999-2003 Mitel Networks Corporation
Well when I go to the directory it tells me to nothing is there.
When I go the web site nothing is there.
If I want to globally use a .procmailrc file where to I put it .
Regards
-
I have used procmail before, but am a little confused on this unit where to put the general .procmailrc file.
When I go to the users .procmailrc
------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# SME Server software. Instead, modify the source template in
# an /etc/e-smith/templates-custom directory. For more
# information, see http://www.e-smith.org/custom/
#
# copyright (C) 1999-2003 Mitel Networks Corporation
Well when I go to the directory it tells me to nothing is there.
When I go the web site nothing is there.
If I want to globally use a .procmailrc file where to I put it .
Regards
All configuration files of the SMEServer are build using a template system, see the SME Developers Guide, section II.7 Configuration file templates (http://mirror.contribs.org/smeserver/contribs//gordonr/devguide/html/devguide.html#TEMPLATES). The template files for the .procmailrc file are in the /etc/e-smith/templates-user/.procmailrc file, but should not be modified as it looks like all configuration directives should be set per the configuration database.
-
Thank you for your response.
Im sorry I dont quite understand, or maybe I do ..
I really dont understand the e-smith system. But this is the sytem that the company has.
When you say ...
" but should not be modified as it looks like all configuration directives should be set per the configuration database."
How then can I use procmail?
thanks.
-
" but should not be modified as it looks like all configuration directives should be set per the configuration database."
How then can I use procmail?
thanks.
I don;t know anything about procmail, but I know the configuration template system by now, as I have been modifying and playing around with it a lot.
SMEServer 6 is a stripped down version of Redhat 7.3 (SME 7 a stripped Centos 4.3) for which all the configuration files have been templated and most of the configuration settings are stored in a (flat-text) database.
I only have a SMEServer 7 running so I cannot only go from ther, some things might be different on SMEServer 6. Maybe some one with some more experience on procmail, or one of the developers of the system can help you out else you will probably have to dive into the scripts and try to gain some knowledge from there. I'm sorry.
Most of the things can be configured using the server-manager as a frontend.
-
Yes if anyone else as any help on setting up procmail on this kind of system that would be helpfull.
Additionally however, this template system is there some main gui etc to access the templates or what. I have the main interface, but it does spamassasin but not procmail.
I have read over the docment that you pointed me to on the templates but I really dont undertand to some degree what its all about.
What is the point of it?
Perl is not my thing, am I going to ahave to understand perl to make any changes. ?? What and where ever I do make them.
-
the global procmail templates are found here:
/etc/e-smith/templates-user/.procmailrc
you should customize them here:
/etc/e-smith/templates-user-custom/.procmailrc
If you need to customize an individual user's procmail, it should be done on the USER-MANAGER (make sure you have enabled the panel for the users) http://yourserver.com/user-manager
-
Thanks for the information.
You say to use this interface
>http://yourserver.com/user-manager
I dont seem to have this.
I just use server-manager.
How do I enable it for the users
>make sure you have enabled the panel for the users
Regards
-
steve288
Install the free User Manager contrib from dungog.net
-
I downloaded e-smith-userpanel-1.6.5-3.noarch.rpm
Do I just type "rpm -ivh e-smith-userpanel-1.6.5-3.noarch.rpm "
Regards
-
steve288
> Do I just type "rpm -ivh e-smith-userpanel-1.6.5-3.noarch.rpm "
That would work, but as a general rule it's better to use rpm -Uvh .....
rpm -Uvh e-smith-userpanel-1.6.5-3.noarch.rpm
To uninstall just do
rpm -e e-smith-userpanel
-
Yes of course you are right "-UVh"
Now when I try to load the software it is reporting that I need " perl-Unicode-String is needed by e-smith-userpanel-1.6.5-3 "
Im not sure which one to use. This e-smith is all new to me and I dont want to break it. Can someone point me to where and what file to download. Im running 6.01 e-smith. Uname -a reports "Linux 2.4.20-18.7 #1 Thu May 29 08:32:50 EDT 2003 i686 unknown"
Thnaks.
-
steve288
> .. need " perl-Unicode-String is needed...
You will find that at the dungog site
http://sme.dungog.net/packages/smeserver/6.0/i386/html/index_dungog.html
Copy all the rpms into an empty folder and cd to that folder
then do
rpm -Uvh *.rpm
This will install rpms in the correct order taking into account dependency isues.
-
Thanks works great.