|
@@ -30,6 +30,7 @@ EOF
|
|
|
|
|
|
grep 'You have been registered as a member' reply.out
|
|
|
#cat reply.err
|
|
|
+ ${SCRIPTDIR}/gdbm-iter-subscribed.py "${group}/mlist" "${group}/alist" > "${group}/alist.txt"
|
|
|
ls ${group} ; cat ${group}/alist.txt
|
|
|
grep -Fx 'Admin' "${group}/alist.txt" #|| cat "${group}/alist.txt" && exit 1
|
|
|
grep -Fx 'admin@mail.com' "${group}/alist.txt"
|
|
@@ -37,6 +38,7 @@ EOF
|
|
|
${SCRIPTDIR}/cropswap-postmaster.sh SUBSCRIBE admin@mail.com <<-EOF 1> reply.out 2> reply.err #|| cat reply.err && exit 1
|
|
|
X-GROUP: $group
|
|
|
EOF
|
|
|
+ ${SCRIPTDIR}/gdbm-iter-subscribed.py "${group}/mlist" "${group}/slist" > "${group}/slist.txt"
|
|
|
grep 'Your subscription status has been updated successfully' reply.out
|
|
|
grep -Fx 'Admin' "${group}/slist.txt"
|
|
|
grep -Fx 'admin@mail.com' "${group}/slist.txt"
|
|
@@ -51,6 +53,7 @@ EOF
|
|
|
X-GROUP: $group
|
|
|
EOF
|
|
|
grep 'Your subscription status has been updated successfully' reply.out
|
|
|
+ ${SCRIPTDIR}/gdbm-iter-subscribed.py "${group}/mlist" "${group}/slist" > "${group}/slist.txt"
|
|
|
grep -Fvx 'Admin' "${group}/slist.txt" || ! grep -Fxq 'Admin' "${group}/slist.txt"
|
|
|
grep -Fvx 'admin@mail.com' "${group}/slist.txt" || ! grep -Fxq 'admin@mail.com' "${group}/slist.txt"
|
|
|
|
|
@@ -66,6 +69,7 @@ EOF
|
|
|
Subject: [SUBSCRIBE]
|
|
|
EOF
|
|
|
grep 'Your subscription status has been updated successfully' reply.out
|
|
|
+ ${SCRIPTDIR}/gdbm-iter-subscribed.py "${group}/mlist" "${group}/slist" > "${group}/slist.txt"
|
|
|
grep -Fx 'Admin' "${group}/slist.txt"
|
|
|
grep -Fx 'admin@mail.com' "${group}/slist.txt"
|
|
|
|
|
@@ -75,6 +79,7 @@ EOF
|
|
|
Subject: [SUBSCRIBE]
|
|
|
EOF
|
|
|
grep 'Your subscription status has been updated successfully' reply.out
|
|
|
+ ${SCRIPTDIR}/gdbm-iter-subscribed.py "${group}/mlist" "${group}/slist" > "${group}/slist.txt"
|
|
|
grep -Fx 'Admin' "${group}/slist.txt"
|
|
|
grep -Fx 'admin@mail.com' "${group}/slist.txt"
|
|
|
|
|
@@ -84,6 +89,7 @@ EOF
|
|
|
Subject: [UNSUBSCRIBE]
|
|
|
EOF
|
|
|
grep 'Your subscription status has been updated successfully' reply.out
|
|
|
+ ${SCRIPTDIR}/gdbm-iter-subscribed.py "${group}/mlist" "${group}/slist" > "${group}/slist.txt"
|
|
|
grep -Fvx 'Admin' "${group}/slist.txt" || ! grep -Fxq 'Admin' "${group}/slist.txt"
|
|
|
grep -Fvx 'admin@mail.com' "${group}/slist.txt" || ! grep -Fxq 'admin@mail.com' "${group}/slist.txt"
|
|
|
|
|
@@ -93,6 +99,7 @@ EOF
|
|
|
Subject: [UNSUBSCRIBE]
|
|
|
EOF
|
|
|
grep 'Your subscription status has been updated successfully' reply.out
|
|
|
+ ${SCRIPTDIR}/gdbm-iter-subscribed.py "${group}/mlist" "${group}/slist" > "${group}/slist.txt"
|
|
|
grep -Fvx 'Admin' "${group}/slist.txt" || ! grep -Fxq 'Admin' "${group}/slist.txt"
|
|
|
grep -Fvx 'admin@mail.com' "${group}/slist.txt" || ! grep -Fxq 'admin@mail.com' "${group}/slist.txt"
|
|
|
|
|
@@ -102,6 +109,7 @@ EOF
|
|
|
X-GROUP: $group
|
|
|
EOF
|
|
|
grep 'You have been registered as a member' reply.out
|
|
|
+ ${SCRIPTDIR}/gdbm-iter-subscribed.py "${group}/mlist" "${group}/alist" > "${group}/alist.txt"
|
|
|
! grep -Fx 'Non-admin' "${group}/alist.txt"
|
|
|
! grep -Fx 'non-admin@mail.com' "${group}/alist.txt"
|
|
|
|
|
@@ -109,6 +117,7 @@ EOF
|
|
|
X-GROUP: $group
|
|
|
EOF
|
|
|
grep 'Your subscription status has been updated successfully' reply.out
|
|
|
+ ${SCRIPTDIR}/gdbm-iter-subscribed.py "${group}/mlist" "${group}/slist" > "${group}/slist.txt"
|
|
|
grep -Fx 'Non-admin' "${group}/slist.txt"
|
|
|
grep -Fx 'non-admin@mail.com' "${group}/slist.txt"
|
|
|
|
|
@@ -122,6 +131,7 @@ EOF
|
|
|
X-GROUP: $group
|
|
|
EOF
|
|
|
grep 'Your subscription status has been updated successfully' reply.out
|
|
|
+ ${SCRIPTDIR}/gdbm-iter-subscribed.py "${group}/mlist" "${group}/slist" > "${group}/slist.txt"
|
|
|
grep -Fvx 'Non-admin' "${group}/slist.txt" || ! grep -Fqx 'Non-admin' "${group}/slist.txt"
|
|
|
grep -Fvx 'non-admin@mail.com' "${group}/slist.txt" || ! grep -Fqx 'non-admin@mail.com' "${group}/slist.txt"
|
|
|
|
|
@@ -137,6 +147,7 @@ EOF
|
|
|
Subject: [SUBSCRIBE]
|
|
|
EOF
|
|
|
grep 'Your subscription status has been updated successfully' reply.out
|
|
|
+ ${SCRIPTDIR}/gdbm-iter-subscribed.py "${group}/mlist" "${group}/slist" > "${group}/slist.txt"
|
|
|
grep -Fx 'Non-admin' "${group}/slist.txt"
|
|
|
grep -Fx 'non-admin@mail.com' "${group}/slist.txt"
|
|
|
|
|
@@ -146,6 +157,7 @@ EOF
|
|
|
Subject: [SUBSCRIBE]
|
|
|
EOF
|
|
|
grep 'Your subscription status has been updated successfully' reply.out
|
|
|
+ ${SCRIPTDIR}/gdbm-iter-subscribed.py "${group}/mlist" "${group}/slist" > "${group}/slist.txt"
|
|
|
grep -Fx 'Non-admin' "${group}/slist.txt"
|
|
|
grep -Fx 'non-admin@mail.com' "${group}/slist.txt"
|
|
|
|
|
@@ -155,6 +167,7 @@ EOF
|
|
|
Subject: [UNSUBSCRIBE]
|
|
|
EOF
|
|
|
grep 'Your subscription status has been updated successfully' reply.out
|
|
|
+ ${SCRIPTDIR}/gdbm-iter-subscribed.py "${group}/mlist" "${group}/slist" > "${group}/slist.txt"
|
|
|
grep -Fvx 'Non-admin' "${group}/slist.txt" || ! grep -Fxq 'Non-admin' "${group}/slist.txt"
|
|
|
grep -Fvx 'non-admin@mail.com' "${group}/slist.txt" || ! grep -Fxq 'non-admin@mail.com' "${group}/slist.txt"
|
|
|
|
|
@@ -164,6 +177,7 @@ EOF
|
|
|
Subject: [UNSUBSCRIBE]
|
|
|
EOF
|
|
|
grep 'Your subscription status has been updated successfully' reply.out
|
|
|
+ ${SCRIPTDIR}/gdbm-iter-subscribed.py "${group}/mlist" "${group}/slist" > "${group}/slist.txt"
|
|
|
grep -Fvx 'Non-admin' "${group}/slist.txt" || ! grep -Fxq 'Non-admin' "${group}/slist.txt"
|
|
|
grep -Fvx 'non-admin@mail.com' "${group}/slist.txt" || ! grep -Fxq 'non-admin@mail.com' "${group}/slist.txt"
|
|
|
done
|