aboutsummaryrefslogtreecommitdiffstats
path: root/conf/lua
diff options
context:
space:
mode:
Diffstat (limited to 'conf/lua')
-rw-r--r--conf/lua/regexp/drugs.lua17
-rw-r--r--conf/lua/regexp/fraud.lua17
-rw-r--r--conf/lua/regexp/headers.lua17
-rw-r--r--conf/lua/regexp/lotto.lua17
4 files changed, 68 insertions, 0 deletions
diff --git a/conf/lua/regexp/drugs.lua b/conf/lua/regexp/drugs.lua
index 2c8b608dd..6e9e5b14a 100644
--- a/conf/lua/regexp/drugs.lua
+++ b/conf/lua/regexp/drugs.lua
@@ -1,3 +1,20 @@
+-- Actually these regular expressions were obtained from SpamAssassin project, so they are licensed by apache license:
+--
+-- Licensed to the Apache Software Foundation (ASF) under one or more
+-- contributor license agreements. See the NOTICE file distributed with
+-- this work for additional information regarding copyright ownership.
+-- The ASF licenses this file to you under the Apache License, Version 2.0
+-- (the "License"); you may not use this file except in compliance with
+-- the License. You may obtain a copy of the License at:
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
-- Drugs spam (viagra, pills etc)
-- XXX: remove this legacy to statfile
diff --git a/conf/lua/regexp/fraud.lua b/conf/lua/regexp/fraud.lua
index 40465744f..b55b7594b 100644
--- a/conf/lua/regexp/fraud.lua
+++ b/conf/lua/regexp/fraud.lua
@@ -1,3 +1,20 @@
+-- Actually these regular expressions were obtained from SpamAssassin project, so they are licensed by apache license:
+--
+-- Licensed to the Apache Software Foundation (ASF) under one or more
+-- contributor license agreements. See the NOTICE file distributed with
+-- this work for additional information regarding copyright ownership.
+-- The ASF licenses this file to you under the Apache License, Version 2.0
+-- (the "License"); you may not use this file except in compliance with
+-- the License. You may obtain a copy of the License at:
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
-- Fraud messages (Nigeria spam, viagra, etc)
local reconf = config['regexp']
diff --git a/conf/lua/regexp/headers.lua b/conf/lua/regexp/headers.lua
index 4bea12ab4..e3978d429 100644
--- a/conf/lua/regexp/headers.lua
+++ b/conf/lua/regexp/headers.lua
@@ -1,3 +1,20 @@
+-- Actually these regular expressions were obtained from SpamAssassin project, so they are licensed by apache license:
+--
+-- Licensed to the Apache Software Foundation (ASF) under one or more
+-- contributor license agreements. See the NOTICE file distributed with
+-- this work for additional information regarding copyright ownership.
+-- The ASF licenses this file to you under the Apache License, Version 2.0
+-- (the "License"); you may not use this file except in compliance with
+-- the License. You may obtain a copy of the License at:
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
-- Definitions of header regexps
local reconf = config['regexp']
diff --git a/conf/lua/regexp/lotto.lua b/conf/lua/regexp/lotto.lua
index 372dce16f..1330d17c1 100644
--- a/conf/lua/regexp/lotto.lua
+++ b/conf/lua/regexp/lotto.lua
@@ -1,3 +1,20 @@
+-- Actually these regular expressions were obtained from SpamAssassin project, so they are licensed by apache license:
+--
+-- Licensed to the Apache Software Foundation (ASF) under one or more
+-- contributor license agreements. See the NOTICE file distributed with
+-- this work for additional information regarding copyright ownership.
+-- The ASF licenses this file to you under the Apache License, Version 2.0
+-- (the "License"); you may not use this file except in compliance with
+-- the License. You may obtain a copy of the License at:
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
-- Rules that are specific for lotto spam messages
local reconf = config['regexp']