Compare commits
7 Commits
master
...
dist/eole/
Author | SHA1 | Date | |
---|---|---|---|
10da2fa7c7 | |||
ccdd4f552e | |||
c9e053ade9 | |||
11315f8116 | |||
735064a3e1 | |||
a51f35eb79 | |||
07476e65b9 |
2
Makefile
2
Makefile
@ -5,7 +5,7 @@
|
||||
SOURCE=eole-rspamd
|
||||
VERSION=0.1
|
||||
EOLE_VERSION=2.6
|
||||
EOLE_RELEASE=2.6.1
|
||||
EOLE_RELEASE=2.6.0
|
||||
PKGAPPS=non
|
||||
|
||||
################################
|
||||
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
9
|
28
debian/control
vendored
Normal file
28
debian/control
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
Source: eole-rspamd
|
||||
Section: admin
|
||||
Priority: optional
|
||||
Maintainer: Cadoles <contact@cadoles.com>
|
||||
Build-Depends: debhelper (>= 9)
|
||||
Standards-Version: 3.9.3
|
||||
Homepage: https://forge.cadoles.com/Cadoles/eole-rspamd
|
||||
Vcs-Git: https://forge.cadoles.com/Cadoles/eole-rspamd.git
|
||||
Vcs-Browser: https://forge.cadoles.com/Cadoles/eole-rspamd
|
||||
|
||||
Package: eole-rspamd
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, eole-dovecot
|
||||
Description: Templates et dictionnaires pour rspamd
|
||||
Configuration rspamd pour EOLE.
|
||||
.
|
||||
Pour toute information complémentaire, veuillez vous rendre sur le
|
||||
site du projet EOLE.
|
||||
|
||||
Package: eole-rspamd-pkg
|
||||
Section: metapackages
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, rspamd
|
||||
Description: Meta paquet pour rspamd
|
||||
dependency package for eole-rspamd.
|
||||
.
|
||||
Pour toute information complémentaire, veuillez vous rendre sur le
|
||||
site du projet EOLE.
|
37
debian/copyright
vendored
Normal file
37
debian/copyright
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: eole-dovecot
|
||||
Source: http://dev-eole.ac-dijon.fr/projects/eole-dovecot
|
||||
|
||||
Files: *
|
||||
Copyright: 2012 Équipe EOLE <eole@ac-dijon.fr>
|
||||
License: CeCILL-2
|
||||
|
||||
License: CeCILL-2
|
||||
This software is governed by the CeCILL-2 license under French law and
|
||||
abiding by the rules of distribution of free software. You can use,
|
||||
modify and or redistribute the software under the terms of the CeCILL-2
|
||||
license as circulated by CEA, CNRS and INRIA at the following URL
|
||||
"http://www.cecill.info";.
|
||||
.
|
||||
As a counterpart to the access to the source code and rights to copy,
|
||||
modify and redistribute granted by the license, users are provided only
|
||||
with a limited warranty and the software's author, the holder of the
|
||||
economic rights, and the successive licensors have only limited
|
||||
liability.
|
||||
.
|
||||
In this respect, the user's attention is drawn to the risks associated
|
||||
with loading, using, modifying and/or developing or reproducing the
|
||||
software by the user in light of its specific status of free software,
|
||||
that may mean that it is complicated to manipulate, and that also
|
||||
therefore means that it is reserved for developers and experienced
|
||||
professionals having in-depth computer knowledge. Users are therefore
|
||||
encouraged to load and test the software's suitability as regards their
|
||||
requirements in conditions enabling the security of their systems and/or
|
||||
data to be ensured and, more generally, to use and operate it in the
|
||||
same conditions as regards security.
|
||||
.
|
||||
The fact that you are presently reading this means that you have had
|
||||
knowledge of the CeCILL-2 license and that you accept its terms.
|
||||
.
|
||||
On Eole systems, the complete text of the CeCILL-2 License can be found
|
||||
in '/usr/share/common-licenses/CeCILL-2-en'.
|
1
debian/eole-rspamd.install
vendored
Normal file
1
debian/eole-rspamd.install
vendored
Normal file
@ -0,0 +1 @@
|
||||
usr/share/eole
|
3
debian/gbp.conf
vendored
Normal file
3
debian/gbp.conf
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
# Set per distribution debian tag
|
||||
[DEFAULT]
|
||||
debian-tag = debian/eole/2.4/%(version)s
|
8
debian/rules
vendored
Executable file
8
debian/rules
vendored
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
# export DH_VERBOSE=1
|
||||
|
||||
%:
|
||||
dh $@
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.0 (native)
|
@ -24,14 +24,6 @@
|
||||
<variable name='activer_whitelist_domaine' type='oui/non' description='Voulez-vous filtrer les mails qui proviennent des domaines locaux ?'>
|
||||
<value>non</value>
|
||||
</variable>
|
||||
<variable name='enable_rules' type='oui/non' description='Voulez-vous ajouter des rêgles de filtrage supplémentaires (regexp) ?' mode='expert'>
|
||||
<value>non</value>
|
||||
</variable>
|
||||
<variable name='rspamd_regexp_rule' type='string' description='Nom de la règle de filtrage' mode='expert' multi='True'/>
|
||||
<variable name='rs_rule_desc' type='string' description='Déscription de la rêgle' mode='expert'/>
|
||||
<variable name='rs_rule_regexp' type='string' description='Expression régulière de recherche' mode='expert'/>
|
||||
<variable name='rs_rule_symbol' type='string' description='Marqeur à ajouter aux entêtes' mode='expert'/>
|
||||
<variable name='rs_rule_score' type='string' description='Score à ajouter aux X-SPAM-SCORE' mode='expert'/>
|
||||
</family>
|
||||
</variables>
|
||||
<constraints>
|
||||
@ -44,20 +36,6 @@
|
||||
<param>non</param>
|
||||
<target type='filelist'>whitelist</target>
|
||||
</condition>
|
||||
<condition name='disabled_if_in' source='enable_rules'>
|
||||
<param>non</param>
|
||||
<target type='variable'>rspamd_regexp_rule</target>
|
||||
<target type='variable'>rs_rule_desc</target>
|
||||
<target type='variable'>rs_rule_regexp</target>
|
||||
<target type='variable'>rs_rule_symbol</target>
|
||||
<target type='variable'>rs_rule_score</target>
|
||||
</condition>
|
||||
<group master='rspamd_regexp_rule'>
|
||||
<slave>rs_rule_desc</slave>
|
||||
<slave>rs_rule_regexp</slave>
|
||||
<slave>rs_rule_symbol</slave>
|
||||
<slave>rs_rule_score</slave>
|
||||
</group>
|
||||
</constraints>
|
||||
<help>
|
||||
<variable name='activer_rspamd'>rspamd est un filtre antispam rapide qui supporte l'apprentissage par déclaration des utilisateurs via le déplacement dans la boite 'spam'</variable>
|
||||
|
@ -1,11 +0,0 @@
|
||||
%if %%getVar('enable_rules','non') == 'oui'
|
||||
%for %%rule in %%rspamd_regexp_rule
|
||||
config['regexp']['%%rule.rs_rule_symbol'] = {
|
||||
re = '%%rule.rs_rule_regexp',
|
||||
score = %%rule.rs_rule_score,
|
||||
description = '%%rule.rs_rule_desc',
|
||||
group = 'Eole Rules'
|
||||
|
||||
}
|
||||
%end for
|
||||
%end if
|
Loading…
Reference in New Issue
Block a user