s4
changeset 575:618ecf019115
From: address should be one in smail
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sat, 25 May 2019 22:28:16 +0900 |
parents | e4e207222ee9 |
children | c81511a6b7e0 |
files | s4-funcs.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/s4-funcs.sh Wed May 01 21:43:31 2019 +0900 1.2 +++ b/s4-funcs.sh Sat May 25 22:28:16 2019 +0900 1.3 @@ -2479,7 +2479,7 @@ 1.4 if [ x"$mkfrom" = x"yes" ]; then 1.5 safegc=`echo "$gecos" | tr -d '<>@'` 1.6 myuid=`query "SELECT rowid FROM user WHERE name='$user';"` 1.7 - fromad=`email4groupbyuid "$grp" "$myuid"` 1.8 + fromad=`email4groupbyuid "$grp" "$myuid" | sed -e 1q -e 's/[ ,].*//'` 1.9 mail_from="$safegc <$fromad>" 1.10 else 1.11 mail_from="$admin"