我跟隨Twisted tutorial和那篇文章嘗試下面的代碼: # Read username, output from non-empty factory, drop connections
from twisted.internet import protocol, reactor
from twisted.protocols import basic
class FingerPr
我正在尋找使用bash和ncat的解決方案。從this question on ServerFault開始,我已經重新編制了它,mostly this answer,非常基本;允許包含一個CC收件人,使用ncat而不是netcat,並將其清理乾淨以便使用(簡單的東西)。正如在這裏看到: # Email Recipient
TOEMAIL="$REPORTRCPT";
# Default Sub