[Why] When we used 11312 as MAIL_PORT, It may be occupied by taskqueue-3060. So we changed MAIL_PORT to 49000.
Signed-off-by: Zhang Yale zhangyale3@huawei.com --- daemon/sshd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/daemon/sshd b/daemon/sshd index 82db61a6..1a1d59b4 100755 --- a/daemon/sshd +++ b/daemon/sshd @@ -90,7 +90,7 @@ run_email() [ -n "$my_email" ] || return 0 my_username=$(echo "$my_email" | awk -F '@' '{print $1}') compose_email - curl -XPOST "${MAIL_HOST:-$LKP_SERVER}:${MAIL_PORT:-11312}/send_mail_text" -d "$data" + curl -XPOST "${MAIL_HOST:-$LKP_SERVER}:${MAIL_PORT:-49000}/send_mail_text" -d "$data" }
run_ssh