summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-04 13:41:52 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-04 13:41:52 +0800
commit75c3618ae50422d29259dc57d263a8bcbb7fc28b (patch)
tree1dc86975693dfce61fcfa553d4f24309a66bf956 /util
parent0009127361b92e7a0a1c409b0e3915c237b283df (diff)
downloadpttbbs-75c3618ae50422d29259dc57d263a8bcbb7fc28b.tar
pttbbs-75c3618ae50422d29259dc57d263a8bcbb7fc28b.tar.gz
pttbbs-75c3618ae50422d29259dc57d263a8bcbb7fc28b.tar.bz2
pttbbs-75c3618ae50422d29259dc57d263a8bcbb7fc28b.tar.lz
pttbbs-75c3618ae50422d29259dc57d263a8bcbb7fc28b.tar.xz
pttbbs-75c3618ae50422d29259dc57d263a8bcbb7fc28b.tar.zst
pttbbs-75c3618ae50422d29259dc57d263a8bcbb7fc28b.zip
use MYHOSTNAME
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1294 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/outmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/outmail.c b/util/outmail.c
index 861bae49..508d857b 100644
--- a/util/outmail.c
+++ b/util/outmail.c
@@ -82,7 +82,7 @@ void doSendBody(int sock, FILE *fp, char *from, char *to, char *subject) {
"Mime-Version: 1.0\r\n"
"Content-Type: text/plain; charset=\"big5\"\r\n"
"Content-Transfer-Encoding: 8bit\r\n"
- "Message-Id: <%d.%x.outmail@ptt2.cc>\r\n"
+ "Message-Id: <%d.%x.outmail@" MYHOSTNAME ">\r\n"
"X-Disclaimer: [" BBSNAME "]對本信內容恕不負責\r\n\r\n",
from, from, to, subject, starttime,
(msgid += (int)(random() >> 24)));