发送电子邮件时出错

发送电子邮件时出错

我的一个客户在发送邮件时不断收到以下电子邮件,但他们的邮件已成功发送。

Your outgoing (SMTP) e-mail server has reported an internal error... 
The server responded: 451 qq read error (#4.3.0)

在邮件日志(/usr/local/psa/var/log/maillog)中我收到以下错误:

/var/qmail/bin/relaylock[3152]: /var/qmail/bin/relaylock

我的 SMTP 服务设置如下,如果这有帮助

service smtp
{
    socket_type     = stream
    protocol        = tcp
    wait            = no
    disable         = no
    user            = root
    instances       = UNLIMITED
    env             = SMTPAUTH=1
    server          = /var/qmail/bin/tcp-env
    server_args     = -Rt0  /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}

答案1

在 /etc/xinetd.d/smtp_psa 和 smtps_psa 中使用以下参数尝试

service smtp
{
    socket_type     = stream
    protocol        = tcp
    wait            = no
    disable         = no
    user            = root
    instances       = UNLIMITED
    env = smtpauth SHORT NAMES = 1 = 1 
    server          = /var/qmail/bin/tcp-env
    server_args     = -Rt0  /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}

否则尝试

不使用 spamassassin 恢复所有设置:

root# /usr/local/psa/admin/sbin/mchk --without-spam

恢复所有设置:

root# /usr/local/psa/admin/sbin/mchk --with-spam

谢谢,杰伊

相关内容