Univention Bugzilla – Bug 38804
ucs-test: check mail related modifications of user objects
Last modified: 2023-03-25 06:52:11 CET
Please implement several test scripts that check the behaviour of the mail stack (dovecot and cyrus) when modifying user objects later on. All tests should be performed with mail/cyrus/mailbox/rename=yes and mail/cyrus/mailbox/delete=no resp. mail/dovecot/mailbox/rename=yes and mail/dovecot/mailbox/delete=no 1) Create a user with mailHomeServer and mailPrimaryAddress → mailbox should have been created and is accessible Change mailPrimaryAddress → mailbox with NEW name should have been created and is accessible → mailbox with OLD name should NOT be accessible 2) Create a user with mailPrimaryAddress and without mailHomeServer → mailbox should NOT have been created Add local FQDN as mailHomeServer → mailbox should have been created and is accessible 3) Create a user with mailPrimaryAddress and without mailHomeServer → mailbox should NOT have been created Add "foreign" FQDN as mailHomeServer → mailbox should NOT have been created 4) Create a user without mailPrimaryAddress and mailHomeServer==$LOCALFQDN → mailbox should NOT have been created Add mailPrimaryAddress → mailbox should have been created and is accessible 5) Create a user with mailHomeServer and mailPrimaryAddress → mailbox should have been created and is accessible Change mailHomeServer → mailbox should NOT be accessible 6) Create a user with mailHomeServer and mailPrimaryAddress → mailbox should have been created and is accessible Remove mailHomeServer → mailbox should still be accessible 7) Create a user with mailHomeServer and mailPrimaryAddress → mailbox should have been created and is accessible Remove mailPrimaryAddress → mailbox should NOT be accessible
A new script with the name "29_mail_related_modifications_of_user_objects" is created to include the mentioned test cases.
Modified test script to treat "[UNAVAILABLE] Internal error occurred." as normal login error (see Bug #39317).
For this bug is no separate QA needed.