summaryrefslogtreecommitdiffstats
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
commit0d04b21ecb25bf842ddab7b51d9c104698ae1c14 (patch)
tree6058648a3969fe205a48f6f54eeaefe46d793bee
parent8343d6b27cd1ea0e0c0327d119d1eb5a045b26ed (diff)
downloadpttbbs-0d04b21ecb25bf842ddab7b51d9c104698ae1c14.tar
pttbbs-0d04b21ecb25bf842ddab7b51d9c104698ae1c14.tar.gz
pttbbs-0d04b21ecb25bf842ddab7b51d9c104698ae1c14.tar.bz2
pttbbs-0d04b21ecb25bf842ddab7b51d9c104698ae1c14.tar.lz
pttbbs-0d04b21ecb25bf842ddab7b51d9c104698ae1c14.tar.xz
pttbbs-0d04b21ecb25bf842ddab7b51d9c104698ae1c14.tar.zst
pttbbs-0d04b21ecb25bf842ddab7b51d9c104698ae1c14.zip
use MYHOSTNAME
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1294 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/util/outmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/util/outmail.c b/pttbbs/util/outmail.c
index 861bae49..508d857b 100644
--- a/pttbbs/util/outmail.c
+++ b/pttbbs/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)));