Commit cbf65eb9 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(content-type): Don't allow more than one "/".

(no-comment): This must be unique and contain no data.
(personal-comment): Ditto.
(request-confirmation): Ditto.
(read-confirm): This must contain no data.
(redirect): Clear inherit, secret and hide-creator.
(mx-author): Clear inherit, secret, hide-creator and dont-garb.
(mx-from): Ditto.
(mx-reply-to): Ditto.
(mx-message-id): Ditto.
(mx-in-reply-to): Ditto.
(mx-misc): Ditto.
(mx-allow-filter): Ditto.
(mx-reject-forward): Ditto.
(mx-to): Clear inherit and dont-garb.
(mx-cc): Ditto.
(canonical-name): Ditto.
(mx-date): Clear hide-creator, secret and dont-garb.
(notify-comments): Clear inherit, hide-creator and dont-garb.
(recommended-conf): Clear inherit and dont-garb.
(allowed-content-type): Clear inherit and dont-garb.  Require a
	priority number before the content type, and don't allow more
	than one "/" or " ".
(mx-list-name): Set owner-delete.  Clear dont-garb and inherit.
(mx-refuse-import): Set unique.  Clear dont-garb and inherit.
(mx-mime-misc): Set unique.
(mx-envelope-sender): Set unique.
parent c71a765a
#
# $Id: aux-items.conf,v 1.25 2002/12/29 23:45:53 ceder Exp $
# $Id: aux-items.conf,v 1.26 2003/01/12 19:56:51 ceder Exp $
# Copyright (C) 1994-2002 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -42,7 +42,7 @@
dont-garb = false;
inherit = false;
inherit-limit = 1;
validate = "^.*/.*$";
validate = "^[^/]*/[^/]*$";
}
......@@ -85,6 +85,8 @@
dont-garb = false;
inherit = false;
inherit-limit = 1;
unique = true;
validate = "^$";
}
......@@ -100,6 +102,8 @@
dont-garb = false;
inherit = false;
inherit-limit = 1;
unique = true;
validate = "^$";
}
......@@ -115,6 +119,8 @@
dont-garb = false;
inherit = false;
inherit-limit = 1;
hide-creator = false;
validate = "^$";
}
......@@ -130,6 +136,7 @@
inherit = false;
inherit-limit = 1;
permanent = true;
validate = "^$";
}
......@@ -143,6 +150,10 @@
supervisor-only = true;
owner-delete = true;
validate = "^(LysKOM|E-mail):";
inherit = false;
inherit-limit = 1;
secret = false;
hide-creator = false;
}
......@@ -255,6 +266,10 @@
{
author-only = true;
unique = true;
inherit = false;
hide-creator = false;
dont-garb = false;
secret = false;
}
#
......@@ -265,6 +280,10 @@
{
author-only = true;
unique = false;
inherit = false;
hide-creator = false;
dont-garb = false;
secret = false;
}
#
......@@ -275,6 +294,10 @@
{
author-only = true;
unique = false;
inherit = false;
hide-creator = false;
dont-garb = false;
secret = false;
}
#
......@@ -285,8 +308,10 @@
{
author-only = false;
unique = false;
inherit = false;
hide-creator = false;
secret = false;
dont-garb = false;
}
#
......@@ -297,8 +322,10 @@
{
author-only = false;
unique = false;
inherit = false;
hide-creator = false;
secret = false;
dont-garb = false;
}
#
......@@ -310,6 +337,9 @@
author-only = true;
unique = true;
inherit = false;
hide-creator = false;
secret = false;
dont-garb = false;
validate = "^[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]( [-+][0-9][0-9][0-9][0-9])?$";
}
......@@ -321,6 +351,10 @@
{
author-only = true;
unique = true;
inherit = false;
hide-creator = false;
secret = false;
dont-garb = false;
}
#
......@@ -331,6 +365,10 @@
{
author-only = true;
unique = false;
inherit = false;
hide-creator = false;
secret = false;
dont-garb = false;
}
#
......@@ -341,6 +379,10 @@
{
author-only = true;
unique = true;
inherit = false;
hide-creator = false;
secret = false;
dont-garb = false;
}
#
......@@ -352,6 +394,10 @@
{
author-only = true;
unique = false;
inherit = false;
hide-creator = false;
secret = false;
dont-garb = false;
}
#
......@@ -363,6 +409,10 @@
{
author-only = true;
unique = false;
inherit = false;
hide-creator = false;
secret = false;
dont-garb = false;
}
#
......@@ -372,6 +422,9 @@
27 : notify-comments (letterbox)
{
author-only = true;
inherit = false;
hide-creator = false;
dont-garb = false;
validate = "^[0-9]+$";
validate = existing-readable-text();
}
......@@ -394,6 +447,8 @@
{
secret = false;
hide-creator = false;
dont-garb = false;
inherit = false;
validate = "^[0-9]+(| [0-9]+(| [01]+))$";
}
......@@ -407,7 +462,9 @@
owner-delete = true;
secret = false;
hide-creator = false;
validate = "^.*/.*$";
dont-garb = false;
inherit = false;
validate = "^[0-9]+ [^/ ]*/[^/ ]*$";
}
#
......@@ -420,6 +477,8 @@
unique = true;
secret = false;
hide-creator = false;
dont-garb = false;
inherit = false;
validate = "^[---A-Za-z0-9.]+(:[0-9]+)?$";
}
......@@ -431,8 +490,11 @@
{
author-only = true;
unique = true;
owner-delete = true;
secret = false;
hide-creator = false;
dont-garb = false;
inherit = false;
validate = "^[^@]+@[^@]+$";
}
......@@ -479,6 +541,9 @@
secret = false;
hide-creator = false;
validate = "^(all|spam)$";
dont-garb = false;
inherit = false;
unique = true;
}
#
......@@ -522,6 +587,7 @@
secret = false;
hide-creator = false;
dont-garb = false;
unique = true;
}
#
......@@ -531,6 +597,7 @@
10103 : mx-envelope-sender (text)
{
author-only = true;
unique = false;
inherit = false;
secret = false;
hide-creator = false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment