Commit 01818365 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

[bug] The lists with "bounce" address can be created.

parent 2da2b4fc
...@@ -117,8 +117,11 @@ sub check_new_listname { ...@@ -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') 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', $log->syslog('err',
'Incorrect listname %s matches one of service aliases', 'Incorrect listname %s matches one of service aliases',
$listname); $listname);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment