- 主题:smth 的mailgate.pl 有错误?
cvs上的。
在系统上直接发信给 xxxx.bbs,失败,
收到的错误信息里有:
----- Transcript of session follows -----
Scalar found where operator expected at /var/bbs/bin/mailgate.pl line 62, near
+") $Header"
(Missing operator before $Header?)
Scalar found where operator expected at /var/bbs/bin/mailgate.pl line 63, near
+") $Header"
(Missing operator before $Header?)
syntax error at /var/bbs/bin/mailgate.pl line 62, near ") $Header"
syntax error at /var/bbs/bin/mailgate.pl line 63, near ") $Header"
Compilation failed in require at /var/bbs/bin/bbsmail line 9.
554 5.3.0 unknown mailer error 9
是mailgate.pl有错吗?
--
FROM 221.218.64.204
$ diff -u mailgate.pl /home/bbs/bin/
--- mailgate.pl 2004-02-22 11:39:46.000000000 -0800
+++ /home/bbs/bin/mailgate.pl 2004-01-23 01:27:13.000000000 -0800
@@ -59,9 +59,9 @@
}
else {
print "$1 $2 $3 $4 $5 $6 ";
- if ($1) $Header{$1} = $2;
- if ($3) $Header{$3} = $4;
- if ($5) $Header{$5} = $6;
+ if ($1) { $Header{$1} = $2; }
+ if ($3) { $Header{$3} = $4; }
+ if ($5) { $Header{$5} = $6; }
}
}
}
【 在 Quotation (最美不过夕阳红) 的大作中提到: 】
: cvs上的。
: 在系统上直接发信给 xxxx.bbs,失败,
: 收到的错误信息里有:
: ...................
--
FROM 128.12.181.*
多谢多谢,可以发信了,bbs用户的信箱里也有一封未读信,
但是用户在bbs上并不会出现“你有信件”的提示,pop3能发现新信。
这是为何?
【 在 atppp (Big Mouse) 的大作中提到: 】
: $ diff -u mailgate.pl /home/bbs/bin/
: --- mailgate.pl 2004-02-22 11:39:46.000000000 -0800
: +++ /home/bbs/bin/mailgate.pl 2004-01-23 01:27:13.000000000 -0800
: ...................
--
FROM 221.216.13.239