#----------------------------------------------------------------------------- # /etc/check.d/antispam_razor.exp - expressions for check table of configuration params # # Copyright (c) 2001-2020 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2006-10-22 jed # Last Update: $Id$ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #----------------------------------------------------------------------------- RAZOR_USER = '([[:alnum:]]|[-_@.+/]){1,63}' : 'no valid username given, should be a string with a length of max. 63 characters and build out of the following characters: A-Z, a-z, 0-9, -_@.+/' RAZOR_PASS = '(RE:RAZOR_USER)' : 'no valid password given, should be a string with a length of max. 63 characters and build out of the following characters: A-Z, a-z, 0-9, -_@.+/' RAZOR_REL_PATH = '(([[:alnum:]]|[-_.])+)(/([[:alnum:]]|[-_.*])+)*/?' : 'no valid relative path, only numbers, letters, "-" and "_" divided by "/" are allowed' RAZOR_ABS_PATH = '/(RE:RAZOR_REL_PATH)?' : 'no valid absolute path (must start with a slash and only numbers, letters, "-" and "_" divided by "/" are allowed)'