Koozali.org: home of the SME Server
Obsolete Releases => SME 8.x Contribs => Topic started by: detlevp on June 30, 2014, 03:56:49 PM
-
Hello,
I have installed at the following documentation (https://wikit.firewall-services.com/doku.php/smedev/dovecot) Dovecot and Sieve on my SME Server 8.1. On the same server running eGroupware. In the module FeLaMiMail (Mailclient) I could create rules for Sieve, but they are not saved. Now I wanted to create server rules in SME System, but do not know where I need to store these and how such the script looks like. Can anyone give me a example script here?
List Service:
sieve=service
TCPPort=4190
access=private
status=enabled
Are this correct?
Thank and greeting
Detlev
-
detlevp
I am surprised that no one has pointed you to the Developers Manual, see
http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual
Read it all, but look carefully at
http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual#III._How_to_create_an_SME_Server_package_-_step_by_step
Also you should look at
http://wiki.contribs.org/Template_Tutorial
and
http://wiki.contribs.org/Db_command_tutorial
and
http://wiki.contribs.org/DB_Variables_Configuration
To see how sme works, you really need to read the underlying base code.
To fine tune parameters you create custom templates, or use db commands where support exits in the template code.
See the existing templates tree, which you copy to the custom templates tree & modify for your needs, see
/etc/e-smith/templates/
You could create a server manager panel & run your filter code from there (I assume that's something like what you want to do).
Otherwise you could create a cron job & run your filter code automatically at a preset time.
Here is a very basic example of a cron job, search forums etc for more.
http://wiki.contribs.org/Backup_with_dar#Backup_disk_size_limits_workaround
There are also examples further on in that article, re using custom templates to changed backup settings.
These are not applicable to you directly, I refer you to them as examples of how to do it only.
List Service:
sieve=service
TCPPort=4190
access=private
status=enabled
Not sure exactly what you are asking here, but assuming code support is not already existing in sme server, then you can create suitable custom template (code), that will then allow you to run db commands to set & retrieve that sort of information.
I thought you wanted to run a script from a server manager panel.
There is also a devinfo mailing list, where knowledgable developers exchange queries & info etc about development aspects of sme server, you should subscribe to that list & post your development only queries there.
See
http://lists.contribs.org/mailman/listinfo/
Also you can post you early versions code as a bug to bugzilla, & others will comment on it there.
It's best to post early & often so that fundamental problems or wrong approaches can be picked up & corrected early on in the process.
See
http://bugs.contribs.org/
Register with a valid email address as your Forum login does not work at Bugzilla
-
Hi Janet,
detlevp
I am surprised that no one has pointed you to the Developers Manual, see
http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual
Read it all, but look carefully at
http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual#III._How_to_create_an_SME_Server_package_-_step_by_step
Many thanks for the long answer at my question. I have read a lot of literatur hier in Forum and Web. I think, you have miss understood my problem. I found no example of script in this technical docs for Sieve.
Regards Detlev
-
detlevp
My answer was about how to use "behind the scenes methods" to tweak or adjust your sme server
I briefly read the link page you provided, and this link is maybe what you are after
http://sieve.info/
It was on the Pigeonhole page link from the original site you quoted.
-
Hi Janet,
Many thanks for the long answer at my question. I have read a lot of literatur hier in Forum and Web. I think, you have miss understood my problem. I found no example of script in this technical docs for Sieve.
Regards Detlev
Since sieve is not part of SME, you should search in other places for configuration examples.. which are not strictly SME related
google will tell you more
-
Hi janet and Stafano,
Since sieve is not part of SME, you should search in other places for configuration examples.. which are not strictly SME related
google will tell you more
Thank you for your valuable advice. I have looked at the original pages and will employ me intense in the holidays.
greetings Detlev
-
http://www.tty1.net/blog/2011/sieve-tutorial_en.html
http://en.wikipedia.org/wiki/Sieve_%28mail_filtering_language%29#Example
http://datatracker.ietf.org/wg/sieve/charter/
Nicola
-
Hello Nicola,
http://www.tty1.net/blog/2011/sieve-tutorial_en.html
http://en.wikipedia.org/wiki/Sieve_%28mail_filtering_language%29#Example
http://datatracker.ietf.org/wg/sieve/charter/
Nicola
Thanks for your link, it's help me -
Greeting Detlev