Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/perl/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 关闭发送邮件的管道时出错_Linux_Perl_Sendmail_Mojolicious - Fatal编程技术网

Linux 关闭发送邮件的管道时出错

Linux 关闭发送邮件的管道时出错,linux,perl,sendmail,mojolicious,Linux,Perl,Sendmail,Mojolicious,我正在使用perl模块Mail::Builder::Simple发送电子邮件。它使用sendmail实用程序来实现。 我在发送电子邮件时遇到此错误 error when closing pipe to sendmail: Trace begun at /usr/local/share/perl5/Email/Sender/Transport/Sendmail.pm line 79 我肯定这是一些权限问题,但不确定缺少什么确切的权限。你知道我错过了什么吗 我在位于/var/spool/clie

我正在使用perl模块Mail::Builder::Simple发送电子邮件。它使用sendmail实用程序来实现。 我在发送电子邮件时遇到此错误

error when closing pipe to sendmail:

Trace begun at /usr/local/share/perl5/Email/Sender/Transport/Sendmail.pm line 79
我肯定这是一些权限问题,但不确定缺少什么确切的权限。你知道我错过了什么吗

我在位于
/var/spool/clientmqueue/
的文件中看到此错误消息:

550 5.0.0 Access denied
554 5.0.0 Service unavailable
我把这个修好了

转到/etc/hosts.allow

添加行

sendmail:全部在文件末尾,然后重新启动sendmail服务。

升级电子邮件::发件人。