我有一个正常工作的msmtp配置,我希望caff (来自签名方包)使用msmtp发送我在KSP之后签名的密钥。到目前为止,我只收到以下错误消息:
No real MTA found, using ‘testfile’ at /usr/share/perl5/Mail/Mailer.pm line
108.
有人用咖啡和msmtp吗??
发布于 2010-10-25 09:33:31
您所看到的错误来自PERL 邮件::梅勒包。虽然Mail::Mailer支持使用SMTP直接发送电子邮件(因此,不需要sendmail
二进制文件),但它默认使用Linux/UNIX上的sendmail
,也是更改源中构造函数参数的唯一方法。
所以,我只能看到三个选择:
sendmail
仿真的MTA;包msmtp提供msmtp之上的mta;其他mta(如esmtp和空邮器 )也可以这样做。sendmail
-emulation脚本;然后您可以直接使用Mail::Mailer来代替系统范围的sendmail (详细信息见邮件::梅勒 ):导出msmtp
caff
源,将邮件::Mailer对象创建为:$mailer = Mail::Mailer->new('smtp',服务器=> 'smtp.server.example.org');而不是它现在可能使用的默认调用。https://askubuntu.com/questions/9428
复制