diff options
-rw-r--r-- | mailman/mklist.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mailman/mklist.inc b/mailman/mklist.inc index 47ee3b6..7de07fd 100644 --- a/mailman/mklist.inc +++ b/mailman/mklist.inc @@ -37,7 +37,9 @@ mklist() { populatelist() { list="$1"; shift - [ ! -f "$cfgdir/$list.members" ] || add_members -r "$cfgdir/$list.members" -w n -a n "$list" + [ ! -s "$cfgdir/$list.members" ] || add_members -r "$cfgdir/$list.members" -w n -a n "$list" + [ ! -s "$cfgdir/$list.members-digest" ] || add_members -d "$cfgdir/$list.members-digest" -w n -a n "$list" [ -z "$*" ] || localuserinfo --custom='%fullname% <%mailaddress%>' "$@" | add_members -r - -w n -a n "$list" - list_members --fullnames --preserve -o "$cfgdir/$list.members" "$list" + list_members --fullnames --preserve --regular -o "$cfgdir/$list.members" "$list" + list_members --fullnames --preserve --digest -o "$cfgdir/$list.members-digest" "$list" } |