Skip to content

Commit

Permalink
[bug] The lists with "bounce" address can be created.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikedas committed Oct 22, 2018
1 parent 2da2b4f commit 0181836
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/Sympa/Aliases.pm
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,11 @@ sub check_new_listname {
}
}

# Avoid "sympa", "listmaster", "bounce" and "bounce+XXX".
if ( $listname eq Conf::get_robot_conf($robot_id, 'email')
or $listname eq Conf::get_robot_conf($robot_id, 'listmaster_email')) {
or $listname eq Conf::get_robot_conf($robot_id, 'listmaster_email')
or $listname eq 'bounce'
or 0 == index($listname, 'bounce+')) {
$log->syslog('err',
'Incorrect listname %s matches one of service aliases',
$listname);
Expand Down

0 comments on commit 0181836

Please sign in to comment.