summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/mail.c9
-rw-r--r--mbbsd/menu.c3
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 寄信到站外"},