diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-22 16:14:08 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-22 16:14:08 +0800 |
commit | b36c8acf3902e2d9b05db4e01a8f6fc1edbbc7a2 (patch) | |
tree | 80666b893f604efba652e17ab8fa24e404790b14 | |
parent | 447da5c6fbcf2ab072d915077da0a066300577bf (diff) | |
download | pttbbs-b36c8acf3902e2d9b05db4e01a8f6fc1edbbc7a2.tar pttbbs-b36c8acf3902e2d9b05db4e01a8f6fc1edbbc7a2.tar.gz pttbbs-b36c8acf3902e2d9b05db4e01a8f6fc1edbbc7a2.tar.bz2 pttbbs-b36c8acf3902e2d9b05db4e01a8f6fc1edbbc7a2.tar.lz pttbbs-b36c8acf3902e2d9b05db4e01a8f6fc1edbbc7a2.tar.xz pttbbs-b36c8acf3902e2d9b05db4e01a8f6fc1edbbc7a2.tar.zst pttbbs-b36c8acf3902e2d9b05db4e01a8f6fc1edbbc7a2.zip |
- notification on forward behavior change
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4230 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/mail.c | 9 | ||||
-rw-r--r-- | mbbsd/menu.c | 3 |
2 files changed, 10 insertions, 2 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c index f4b88129..3dcf82be 100644 --- a/mbbsd/mail.c +++ b/mbbsd/mail.c @@ -27,6 +27,15 @@ setforward(void) int flIdiotSent2Self = 0; int oidlen = strlen(cuser.userid); + vs_hdr("設定自動轉寄"); + + outs(ANSI_COLOR(1;31) "\n\n" + "由於許\多使用者有意或無意的設定錯誤間接造成自動轉寄被惡意使用,\n" + "本站基於安全性及防止廣告信的考量,\n" + "即日起自動轉寄的寄件者一律改為轉寄者的 ID。\n\n" + "不便之處請多見諒。\n" + ANSI_RESET "\n"); + setuserfile(buf, ".forward"); if ((fp = fopen(buf, "r"))) { fscanf(fp, "%" toSTR(sizeof(ip)) "s", ip); diff --git a/mbbsd/menu.c b/mbbsd/menu.c index 499efbdc..035cf1ef 100644 --- a/mbbsd/menu.c +++ b/mbbsd/menu.c @@ -492,8 +492,7 @@ static const commands_t maillist[] = { {mail_list, PERM_LOGINOK, "RMail List 群組寄信"}, {x_love, PERM_LOGINOK, "PPaper 情書產生器"}, // #ifdef USE_MAIL_AUTO_FORWARD - {setforward, PERM_LOGINOK, "FForward " ANSI_COLOR(1;32) - "設定信箱自動轉寄" ANSI_RESET}, + {setforward, PERM_LOGINOK, "FForward 設定信箱自動轉寄" }, // #endif // USE_MAIL_AUTO_FORWARD {m_sysop, 0, "YYes, sir! 寫信給站長"}, {m_internet, PERM_INTERNET, "RInternet 寄信到站外"}, |