changeset 710:8a31b90f7815

Output to error-log when supprcpt is specified in DM rcpt field.
author HIROSE Yuuji <yuuji@gentei.org>
date Fri, 29 May 2020 06:18:50 +0900
parents 025ef5578ae0
children 695ab5c2c1a5
files s4-funcs.sh
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/s4-funcs.sh	Thu May 28 19:27:03 2020 +0900
+++ b/s4-funcs.sh	Fri May 29 06:18:50 2020 +0900
@@ -2735,8 +2735,12 @@
 	ar=`getpar supprcpt`
 	if [ -n "$ar" ]; then
 	  for a in $ar; do
-	    checkdomain "$a" && supprcpt="$supprcpt $a" ||
-		removercpt="$removercpt $a"
+	    if checkdomain "$a"; then
+	      supprcpt="$supprcpt $a"
+	    else
+	      err "SupprcptErr=[$a] by $user"
+	      removercpt="$removercpt $a"
+	    fi
 	  done
 	fi
 	subj=`getpar subject`

yatex.org