中興法商這邊是用 Ptt + util
手邊正好有 WDBBS_981208
若採用 mailpost 來認證的話
建議
justify_user()
..
strncpy(record.justify, myfrom, 43);
把 43 改為 REGLEN + 1
struct.h
#define REGLEN 38 /* Length of registration data */
char justify[REGLEN + 1]; /* 註冊資料 39 bytes */
uschar month; /* 出生月份 1 byte */
...
原來的情況會造成有些 user 的 justify 太長
如:
denfun@ms12.url.com.tw ("=?big5?B?tLyouQ==?=")
會把幾個欄位蓋到
造成 user_display() 出垂.
--
㊣ [來源:中興法商北極星 192.192.35.34 ]◆ From: bbs.nchulc.edu.tw