Skip to content
Snippets Groups Projects
Commit 734097e3 authored by Patrick Cernko's avatar Patrick Cernko
Browse files

support for renaming lists and including domain

parent 5d528930
No related branches found
No related tags found
No related merge requests found
......@@ -11,8 +11,12 @@ if [ -z "$mailmanlist" ]; then
fi
mmlistname=${mailmanlist%@*}
mmdomain=${mailmanlist#*@}
robot=${mmdomain/lists/sympa}
sympalistname=$mmlistname
robot=${mmdomain/lists/sympa}
if [ -n "$2" ]; then
sympalistname=${2%@*}
robot=${2#*@}
fi
mmarchive=/var/lib/mailman/archives/private/$mmlistname.mbox/$mmlistname.mbox
if [ ! -f "/etc/sympa/$robot/robot.conf" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment