我们的网站没有发送自动发送的电子邮件,因为php_mail()函数不起作用,它似乎是因为sendmail不工作。
我曾尝试使用各种命令行,但没有电子邮件发送。 我也有安装qmail。 php.ini显示它正在使用sendmail。 日志中没有任何东西: /var/log/maillog
当我尝试再次安装sendmail时,它指出这些错误:
Error: plesk-mail-qc-driver conflicts with plesk-mail-pc-driver-11.0.9-cos6.build110120608.16.x86_64 Error: plesk-mail-pc-driver conflicts with psa-qmail-rblsmtpd-0.88-cos6.build110120606.19.x86_64 Error: plesk-mail-pc-driver conflicts with plesk-mail-qc-driver-11.0.9-cos6.build110120608.16.x86_64 Error: plesk-mail-pc-driver conflicts with 2:psa-qmail-1.03-cos6.build110120606.19.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
它不能识别--skip-broken rpm -Va --nofiles --nodigest结果没有变化
当我尝试做service sendmail start它回复:'sendmail:无法识别的服务'
我怎样才能让sendmail工作?
您在Ubuntu机器上使用rpm和centos软件包。 这根本不起作用。 最重要的是,你正在使用plesk,在这里被认为是恶意软件。