auth http服务器192.168.0.92:465处于http auth状态时,发送了无效的标头作为响应,

时间:2019-01-02 02:51:32

标签: java nginx javamail james

我将使用nginx构建Apache james 3.2.0邮件服务器,使用JavaMail 1.5.0测试james邮件服务器是否成功发送了消息。

但是在我在Javamail和James邮件服务器之间添加了nginx之后,nginx不断收到错误[12604#11312: *1 auth http server 192.168.0.92:465 sent invalid header in response while in http auth state, client: 127.0.0.1, server: 0.0.0.0:9092, login: "admin@test.com"]

以下是我的nginx邮件配置:

mail {
    auth_http  192.168.0.92:465;
    smtp_capabilities "PIPELINING" "SIZE 10240000" "VRFY" "ETRN" "ENHANCEDSTATUSCODES" "8BITMIME" "DSN";
    server_name singlewindow.gov.cn;
    # only if upstream supports XCLIENT
    xclient off;
    smtp_auth login plain cram-md5;
    server {
        listen 9092;
        # this is SMTP proxy!
        protocol smtp;

        proxy on;
        proxy_timeout 30;
        proxy_pass_error_message on;
    }
}

12604#11312: *1 auth http server 192.168.0.92:465 sent invalid header in response while in http auth state, client: 127.0.0.1, server: 0.0.0.0:9092, login: "admin@test.com"

0 个答案:

没有答案