user creation issue

sruli s sruli at saurymper.com
Fri Oct 21 01:21:04 CEST 2022


Hi all,

I have an issue on kolab 16 - multi domain setup (ubuntu 18.04).

I haven't added users in a very long time, now when I try to add it 
seems the user gets created but not the mailboxes, I cannot login to 
webmail or imap client, however on the primary domain it does seems to 
work, I have no clue where to start looking, I cannot see anything in 
the logs, I attach my kolab.conf and my imapd.conf file

Any help will be very much appreciated.

Many thanks

sruli

-------------- next part --------------
[kolab]
primary_domain = mydomain.co.uk
auth_mechanism = ldap
imap_backend = cyrus-imap
default_locale = en_US
sync_interval = 300
daemon_rcpt_policy = False
domain_sync_interval = 600
policy_uid = %(surname)s.lower()
primary_mail = %(surname)s@%(domain)s
secondary_mail = {
	0: {
		"{0}.{1}@{2}": "format('%(givenname)s'[0:1].capitalize(), '%(surname)s', '%(domain)s')"
	},
	1: {
		"{0}@{1}": "format('%(uid)s', '%(domain)s')"
	},
	2: {
		"{0}@{1}": "format('%(givenname)s.%(surname)s', '%(domain)s')"
	}
	}
autocreate_folders = {
	'Archive': {
		'quota': 0,
		'partition': 'archive'
	},
	'Calendar': {
		'annotations': {
			'/private/vendor/kolab/folder-type': "event.default",
			'/shared/vendor/kolab/folder-type': "event",
		},
	},
	'Calendar/Personal Calendar': {
		'annotations': {
			'/shared/vendor/kolab/folder-type': "event",
		},
	},
	'Configuration': {
		'annotations': {
			'/private/vendor/kolab/folder-type': "configuration.default",
			'/shared/vendor/kolab/folder-type': "configuration",
		},
	},
	'Contacts': {
		'annotations': {
			'/private/vendor/kolab/folder-type': "contact.default",
			'/shared/vendor/kolab/folder-type': "contact",
		},
	},
	'Contacts/Personal Contacts': {
		'annotations': {
			'/shared/vendor/kolab/folder-type': "contact",
		},
	},
	'Drafts': {
		'annotations': {
			'/private/vendor/kolab/folder-type': "mail.drafts",
		},
	},
	'Files': {
		'annotations': {
			'/private/vendor/kolab/folder-type': "file.default",
			'/shared/vendor/kolab/folder-type': "file",
		},
	},
	'Journal': {
		'annotations': {
			'/private/vendor/kolab/folder-type': "journal.default",
			'/shared/vendor/kolab/folder-type': "journal",
		},
	},
	'Notes': {
		'annotations': {
			'/private/vendor/kolab/folder-type': 'note.default',
			'/shared/vendor/kolab/folder-type': 'note',
		},
	},
	'Sent': {
		'annotations': {
			'/private/vendor/kolab/folder-type': "mail.sentitems",
		},
	},
	'Spam': {
		'annotations': {
			'/private/vendor/kolab/folder-type': "mail.junkemail",
		},
	},
	'Tasks': {
		'annotations': {
			'/private/vendor/kolab/folder-type': "task.default",
			'/shared/vendor/kolab/folder-type': "task",
		},
	},
	'Trash': {
		'annotations': {
			'/private/vendor/kolab/folder-type': "mail.wastebasket",
		},
	},
	}

[autodiscover]
activesync = activesync.%d
imap = ssl://imap.%d:993
pop3 = ssl://pop3.%d:995
smtp = ssl://smtp.%d:465
login_attribute = mail
service_name = Kolab Groupware
service_short = Kolab

[imap]
virtual_domains = userid

[ldap]
ldap_uri = ldap://localhost:389
timeout = 10
supported_controls = 0,2,3
base_dn = dc=mydomain,dc=co,dc=uk
bind_dn = cn=Directory Manager
bind_pw = mypassword
service_bind_dn = uid=kolab-service,ou=Special Users,dc=mydomain,dc=co,dc=uk
service_bind_pw = mypassword
user_base_dn = ou=People,%(base_dn)s
user_scope = sub
user_filter = (objectclass=inetorgperson)
kolab_user_base_dn = ou=People,%(base_dn)s
kolab_user_filter = (objectclass=kolabinetorgperson)
group_base_dn = ou=Groups,%(base_dn)s
group_filter = (|(objectclass=groupofuniquenames)(objectclass=groupofurls))
group_scope = sub
kolab_group_filter = (|(objectclass=kolabgroupofuniquenames)(objectclass=kolabgroupofurls))
sharedfolder_base_dn = ou=Shared Folders,%(base_dn)s
sharedfolder_filter = (objectclass=kolabsharedfolder)
sharedfolder_acl_entry_attribute = acl
resource_base_dn = ou=Resources,%(base_dn)s
resource_filter = (|%(group_filter)s(objectclass=kolabsharedfolder))
domain_base_dn = cn=kolab,cn=config
domain_filter = (&(associatedDomain=*))
domain_name_attribute = associateddomain
domain_rootdn_attribute = inetdomainbasedn
quota_attribute = mailquota
modifytimestamp_format = %Y%m%d%H%M%SZ
unique_attribute = nsuniqueid
mail_attributes = mail, alias
mailserver_attribute = mailhost
auth_attributes = mail, alias, uid

[kolab_smtp_access_policy]
cache_uri = mysql://kolab:mypassword@localhost/kolab
cache_retention = 86400
address_search_attrs = mail, alias
delegate_sender_header = True
alias_sender_header = True
sender_header = True
xsender_header = True
empty_sender_hosts = 3.2.1.0/24, 6.6.6.0/24

[kolab_wap]
api_url = https://mail.mydomain.co.uk/kolab-webadmin/api
skin = default
sql_uri = mysql://kolab:mypassword@localhost/kolab
ssl_verify_peer = false
ssl_verify_host = false

[cyrus-imap]
uri = imaps://localhost:993
admin_login = cyrus-admin
admin_password = mypassword

[cyrus-sasl]
result_attribute = mail

[wallace]
modules = resources, invitationpolicy
kolab_invitation_policy = ACT_ACCEPT_IF_NO_CONFLICT:example.org, ACT_MANUAL
invitationpolicy_autoupdate_other_attendees_on_reply = false
resource_calendar_expire_days = 100

[primary-domain.co.uk]
default_quota = 1048576
primary_mail = %(givenname)s.%(surname)s@%(domain)s

[domain-two.co.uk]
default_quota = 1048576
primary_mail = %(givenname)s.%(surname)s@%(domain)s

[domain-three.com]
default_quota = 1048576
primary_mail = %(givenname)s.%(surname)s@%(domain)s

[domain-four.co.uk]
default_quota = 1048576
primary_mail = %(givenname)s.%(surname)s@%(domain)s
-------------- next part --------------
syslog_facility: LOCAL6
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus-admin
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN LOGIN
allowplaintext: no
tls_server_cert: /etc/certbots/live/mail.mydomain.co.uk/cert.pem
tls_server_key: /etc/certbots/live/mail.mydomain.co.uk/privkey.pem
tls_server_ca_file: /etc/certbots/live/mail.mydomain.co.uk/chain.pem
# uncomment this if you're operating in a DSCP environment (RFC-4594)
# qosmarking: af13
tls_ciphers: EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH:+CAMELLIA256:+AES256:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!ECDSA:CAMELLIA256-SHA:AES256-SHA:CAMELLIA128-SHA:AES128-SHA
tls_versions: tls1_0 tls1_1 tls1_2
tls_prefer_server_ciphers: 1
auth_mech: pts
pts_module: ldap
ldap_servers: ldap://localhost:389
ldap_sasl: 0
ldap_base: dc=mydomain,dc=co,dc=uk
ldap_bind_dn: uid=kolab-service,ou=Special Users,dc=mydomain,dc=co,dc=uk
ldap_password: mypassword
ldap_filter: (|(&(|(uid=cyrus-admin)(uid=cyrus-murder))(uid=%U))(&(|(uid=%U)(mail=%U@%d)(mail=%U@%r))(objectclass=kolabinetorgperson)))
ldap_user_attribute: mail
ldap_group_base: dc=mydomain,dc=co,dc=uk
ldap_group_filter: (&(cn=%u)(objectclass=ldapsubentry)(objectclass=nsroledefinition))
ldap_group_scope: one
ldap_member_base: ou=People,dc=mydomain,dc=co,dc=uk
ldap_member_method: attribute
ldap_member_attribute: nsrole
ldap_restart: 1
ldap_timeout: 10
ldap_time_limit: 10
unixhierarchysep: 1
virtdomains: userid
annotation_definitions: /etc/imapd.annotations.conf
sieve_extensions: fileinto reject envelope body vacation imapflags notify include regex subaddress relational copy date index
allowallsubscribe: 0
allowusermoves: 1
altnamespace: 1
hashimapspool: 1
anysievefolder: 1
fulldirhash: 0
sieveusehomedir: 0
sieve_allowreferrals: 0
lmtp_downcase_rcpt: 1
lmtp_fuzzy_mailbox_match: 1
username_tolower: 1
deletedprefix: DELETED
delete_mode: delayed
expunge_mode: delayed
postuser: shared
ldap_domain_base_dn: cn=kolab,cn=config
ldap_domain_filter: (&(objectclass=domainrelatedobject)(associateddomain=%s))
ldap_domain_name_attribute: associatedDomain
ldap_domain_scope: sub
ldap_domain_result_attribute: inetdomainbasedn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://lists.kolab.org/pipermail/users/attachments/20221021/ef1d513e/attachment-0001.sig>


More information about the users mailing list