epilog = _("PyKolab is a Kolab Systems product. For more information about Kolab or PyKolab, visit http://www.kolabsys.com")
COMPONENTS = [
'imap',
'ldap',
'mta'
]
hostname = socket.gethostname()
fqdn = socket.getfqdn()
try:
domain_parts = fqdn.split('.')
if len(domain_parts) < 3:
print(_("WARNING") + ": " + _("The Fully Qualified Domain Name or FQDN for this system is incorrect. Falling back to 'localdomain'."), file=sys.stderr)
domainname = "localdomain"
else:
domainname = '.'.join(domain_parts[1:])
except IndexError:
domainname = "localdomain"
# The system RC directory
RC_DIR = "/etc/rc.d/init.d/"
KOLAB_LIB_PATH = '/var/lib/kolab/'
# Service map;
#
# Convert names of registered system services to their type. For example,
# on Red Hat, OpenLDAP is 'slapd', whereas on Debian, OpenLDAP is 'ldap'.
#
SERVICE_MAP = {
'dirsrv': {
'type': '389ds',
'description': _('389 Directory Server or Red Hat Directory Server')