Mercurial > hgrepos > hgweb.cgi > 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 wrap: on
line diff
--- a/s4-funcs.sh Fri Apr 17 16:21:48 2020 +0900 +++ b/s4-funcs.sh Fri Apr 17 18:15:40 2020 +0900 @@ -15,6 +15,7 @@ db=${DB:-$dbdir/cgi.sq3} listentlimit=${LISTENTLIMIT:-30} admin=${ADMIN:-hostmaster@example.org} +noreply=${NOREPLY:-noreply@example.org} templ=${TEMPL:-templ} layout=${LAYOUT:-$templ/default} formdir=${FORMDIR:-$templ/form} @@ -2538,7 +2539,7 @@ fromad=`email4groupbyuid "$grp" "$myuid" | sed -e 1q -e 's/[ ,].*//'` mail_from="$safegc <$fromad>" else - mail_from="$admin" + mail_from="ここには届きません <$noreply>" fi MAIL_FROM=$mail_from \ smail "`email4groupbyuid "$grp" $usel` $user" \