Escape dots in minilist names to semicolons

See http://www.lifewithqmail.com/lwq.html#dots-in-extensions
tags/smeserver-minilist-0.1.6-1
Daniel Berteaud 5 years ago
parent 04cf86b808
commit 2bfb550947
  1. 3
      root/etc/e-smith/events/actions/qmail-update-list

@ -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;

Loading…
Cancel
Save