TWiki mailnotify邮件没有被发送

我安装了Twiki,并运行以下命令:

perl -I bin tools/mailnotify SomeWeb 

我收到消息,指出通知已发送:

 Processing SomeWeb * [email protected] : * Last notification was at ... Change to SomeTopic at ... New revision is NN Notified [email protected] of changes in SomeWeb 1 change notifications from SomeWeb 

但是,我没有收到通知的任何电子邮件。

这似乎是一些configuration问题,但我无法弄清楚什么…我还没有find在什么地方configuration什么(smpt服务器使用,在smtp服务器上使用的帐户)。

你可以使用mailx或其他cli客户端发送电子邮件吗? 我想twiki是依靠像sendmail已经被安装来做发送的东西。 这是他们的文档中的一条线,不知道有多近。

SMTPMAILHOST通常设置在Windows或其他非Unix / Linux系统,其中sendmail或类似的不可用。 当这个设置和Perl模块Net :: SMTP被安装,TWiki将连接到这个SMTP服务器(例如mail.yourdomain.com)发送用户注册和WebChangesAlerts的电子邮件。 如果您确实有sendmailtypes的程序,请将SMTPMAILHOST设置为未设置,以便使用外部sendmail程序(由TWiki.cfg中的$ mailProgram定义)。