s4
changeset 613:51e0cc07a79a
Make NO-REPLY address for direct message to avoid miscommunication
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Fri, 17 Apr 2020 18:15:40 +0900 |
parents | d3e25f4be330 |
children | 962c954715b8 |
files | s4-funcs.sh |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/s4-funcs.sh Fri Apr 17 16:21:48 2020 +0900 1.2 +++ b/s4-funcs.sh Fri Apr 17 18:15:40 2020 +0900 1.3 @@ -15,6 +15,7 @@ 1.4 db=${DB:-$dbdir/cgi.sq3} 1.5 listentlimit=${LISTENTLIMIT:-30} 1.6 admin=${ADMIN:-hostmaster@example.org} 1.7 +noreply=${NOREPLY:-noreply@example.org} 1.8 templ=${TEMPL:-templ} 1.9 layout=${LAYOUT:-$templ/default} 1.10 formdir=${FORMDIR:-$templ/form} 1.11 @@ -2538,7 +2539,7 @@ 1.12 fromad=`email4groupbyuid "$grp" "$myuid" | sed -e 1q -e 's/[ ,].*//'` 1.13 mail_from="$safegc <$fromad>" 1.14 else 1.15 - mail_from="$admin" 1.16 + mail_from="ここには届きません <$noreply>" 1.17 fi 1.18 MAIL_FROM=$mail_from \ 1.19 smail "`email4groupbyuid "$grp" $usel` $user" \