Bug 39054 - Test sender restrictions for mailing lists
Test sender restrictions for mailing lists
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: Mail
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Ammar Najjar
:
: 19443 (view as bug list)
Depends on: 39093
Blocks: 39055
  Show dependency treegraph
 
Reported: 2015-07-30 22:30 CEST by Sönke Schwardt-Krummrich
Modified: 2023-03-25 06:55 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2015-07-30 22:30:14 CEST
The UCS mail stack allows to define (very) simple sender restrictions for mailing lists. When creating/modifying a mailing list object in UDM, a list of users or a list of usergroups may be specified, that is allowed to send mails to that mailinglist. Mails from other senders should be rejected.

For testing this feature, please set the UCR variable 
"mail/postfix/policy/listfiler=yes", restart postfix and create a new mailinglist with sender restrictions (second tab in UMC). Please perform tests with both types of senders: users and groups (groups: if a user with a primary mail address is part the specified sender group, the user should be allowed to send).

Also check if mails are rejected if the permitted user uses one of its mailAlternativeAdresses.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2015-07-30 23:08:36 CEST
*** Bug 19443 has been marked as a duplicate of this bug. ***
Comment 2 Ammar Najjar univentionstaff 2015-08-20 11:16:54 CEST
A new script with the name "36_sender_restrictions_for_mailing_lists" is created to include the mentioned cases.

The test currently fails because the mail sent by a sender which is not in the allowedEmailUsers list is sent normally where it should fail to be sent.
test disabled for now, and commited without apptest tag.

r63140.
Comment 3 Daniel Tröder univentionstaff 2015-09-04 11:29:09 CEST
63460: fix test
63461: merge to 4.1
Comment 4 Stefan Gohmann univentionstaff 2016-10-12 07:48:26 CEST
For this bug is no separate QA needed.