UCS Maildomains und User

Init

eval "$(univention-config-registry shell)"

Maildomains anzeigen

ucr search mail/hosteddomains
udm mail/domain list

Maildomains anlegen

udm mail/domain create --position cn=domain,cn=mail,$ldap_base --set name=my.new.domain.com

Primäre e-Mail-Adresse setzen

udm users/user modify --dn uid=username,cn=users,$ldap_base --set mailPrimaryAddress=user.name@mydomain.com

Alternative e-Mail-Adressen anhängen

udm users/user modify --dn uid=username,cn=users,$ldap_base --append mailAlternativeAddress=user.name@mydomain.com