#----------------------------------------------------------------------------- # /etc/check.d/automx.exp - expressions for check table of configuration params # # Copyright (c) 2015-2021 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2017-11-03 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. #----------------------------------------------------------------------------- AUTOMX_ORDER = 'imap-pop3-smtp|pop3-imap-smtp' : 'no valid service order selected, should be "imap-pop3-smtp" or "pop3-imap-smtp".' AUTOMX_CERT_NAME = '(RE:ENOBLANK)' : 'not empty nor a valid certificate file name given.' AUTOMX_EACCESS_IP = '()|(RE:IPADDR_NETWORK)([[:space:]]+(RE:IPADDR_NETWORK))*' : 'no valid ip address or ip network given, should be empty or contain one or more ip addresses/ip networks, which are separated by whitespaces e.g. "192.168.0.5 192.168.10.0/24".' AUTOMX_URL = 'http(s)?://[[:alnum:]/~.-]+(:(RE:NUMERIC)(/[[:alnum:]/~.-]*)?)?' : 'no valid URL' AUTOMX_EURL = '()|(RE:AUTOMX_URL)' : 'nor empty or a valid URL' AUTOMX_EDAVSERVER = '()|nextcloud|owncloud' : 'no valid dav server selected, should be empty or "nextcloud" or "owncloud".' AUTOMX_EPREFIX = '()|(([[:alnum:]]|[-_.])+)' : 'not a valid prefix, should be empty or a string which contains one or more of the following characters: "a-z", "0-9", "-", "_", ".".'