Hello

You as administrator can provide sieve scripts in 2 files.
The one provided by SOGoSieveScriptHeaderTemplateFile will be executed before the users sieve scripts. The second provided by SOGoSieveScriptFooterTemplateFile will be executed after the users sieve scripts.

With those you can do something like filtering Spam or Newsletters into special folders.

The difference to having those sieve scripts in the users default config is, that those are valid for all users, not just newly created ones, and the user can not disable or delete them.

Hope this helps a bit.


Kind regards,
Christian Mack

Am 07.05.25 um 17:58 schrieb Odhiambo Washington ([email protected]):
Hello Quentin,

Thank you for the response.
I am trying to understand the use case of the two file -
SOGoSieveScriptHeaderTemplateFile and SOGoSieveScriptFooterTemplateFile -
with examples.
Please see if you can provide examples. Right now I am just floating.

On Wed, May 7, 2025 at 6:31 PM qhivert <[email protected]> wrote:

Hello, it should be at the root of your sogo.conf file like this

Be aware that will only set the filter for new users and they can change
it in their preferences.



SOGoSieveScriptHeaderTemplateFile and SOGoSieveScriptFooterTemplateFile
values must be the path of the file. The file must contain your scieve
script in UTF8. They can be written at the root of sogo.conf or in your
domain configuration if you have one.


Regards,

--

Quentin Hivert || Alinto || R&D Lead Developer

19 Quai Perrache 69002 Lyon

www.alinto.com



*From:* [email protected] <[email protected]> *On Behalf Of *Odhiambo
Washington
*Sent:* mercredi 7 mai 2025 15:58
*To:* [email protected]
*Subject:* [SOGo] SOGoSieveFilters



In which section of sogo.conf should this one go to?

I was working on my setup and found this link:
https://www.mail-archive.com/[email protected]/msg33129.html.



Also, are there examples for the two below?

SOGoSieveScriptHeaderTemplateFile
SOGoSieveScriptFooterTemplateFile



--

Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223

  In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)

[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]




--
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung IT-Dienste Forschung, Lehre, Infrastruktur
78457 Konstanz
+49 7531 88-4416

Attachment: smime.p7s
Description: Kryptografische S/MIME-Signatur

Reply via email to