Escape dots in minilist names to semicolons

See http://www.lifewithqmail.com/lwq.html#dots-in-extensions
This commit is contained in:
Daniel Berteaud 2020-03-19 19:08:58 +01:00
parent 04cf86b808
commit 2bfb550947

View File

@ -24,6 +24,9 @@ if ($ARGV[1]){
foreach my $list (@lists){
my $name = $list->key;
# dots must be escaped by replacing them with a :
# see http://www.lifewithqmail.com/lwq.html#dots-in-extensions
$name =~ s/\./:/g;
unless ($list->prop('type') eq 'minilist'){
warn "Account $name is not a mailinglist account.\n";
next;