import shutil import socket CONTROLLER_ERRORS = True HAVE_MILTERTEST = shutil.which('miltertest') and True or False RSPAMD_EXTERNAL_RELAY_ENABLED = False RSPAMD_KEY_PVT1 = 'ekd3x36tfa5gd76t6pa8hqif3ott7n1siuux68exbkk7ukscte9y' RSPAMD_KEY_PUB1 = 'm8kneubpcjsb8sbsoj7jy7azj9fdd3xmj63txni86a8ye9ncomny' RSPAMD_LOCAL_ADDR = '127.0.0.1' RSPAMD_MAP_WATCH_INTERVAL = '1min' RSPAMD_PORT_CONTROLLER = 56790 RSPAMD_PORT_CONTROLLER_SLAVE = 56793 RSPAMD_PORT_FUZZY = 56791 RSPAMD_PORT_FUZZY_SLAVE = 56792 RSPAMD_PORT_NORMAL = 56789 RSPAMD_PORT_NORMAL_SLAVE = 56794 RSPAMD_PORT_PROXY = 56795 RSPAMD_PORT_CLAM = 2100 RSPAMD_PORT_FPROT = 2101 RSPAMD_PORT_FPROT2_DUPLICATE = 2102 RSPAMD_PORT_AVAST = 2103 RSPAMD_P0F_SOCKET = '/tmp/p0f.sock' RSPAMD_REDIS_ADDR = '127.0.0.1' RSPAMD_REDIS_PORT = 56379 RSPAMD_NGINX_ADDR = '127.0.0.1' RSPAMD_NGINX_PORT = 56380 RSPAMD_GROUP = 'nogroup' RSPAMD_USER = 'nobody' SOCK_DGRAM = socket.SOCK_DGRAM SOCK_STREAM = socket.SOCK_STREAM