Vestacp - exim 邮件转发到 gmail 中的垃圾邮件

Vestacp - exim 邮件转发到 gmail 中的垃圾邮件

我不明白为什么转发邮件会像垃圾邮件一样重新发送。在服务器上,我使用 exim 和 VESTA 控制面板。以下是邮件来源:

Delivered-To: [email protected]
Received: by 10.107.158.78 with SMTP id h75csp14306ioe;
        Tue, 1 Sep 2015 14:59:53 -0700 (PDT)
X-Received: by 10.112.64.228 with SMTP id r4mr14312689lbs.103.1441144793654;
        Tue, 01 Sep 2015 14:59:53 -0700 (PDT)
Return-Path: <[email protected]>
Received: from alfa.hostname.com (123-123-123-123.datacenter.com. [123.123.123.123])
        by mx.google.com with ESMTPS id z1si17722025lbw.159.2015.09.01.14.59.51
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 01 Sep 2015 14:59:53 -0700 (PDT)
Received-SPF: softfail (google.com: domain of transitioning [email protected] does not designate 123.123.123.123 as permitted sender) client-ip=123.123.123.123;
Authentication-Results: mx.google.com;
       spf=softfail (google.com: domain of transitioning [email protected] does not designate 123.123.123.123 as permitted sender) [email protected];
       dkim=pass [email protected];
       dmarc=pass (p=NONE dis=NONE) header.from=gmail.com
Received: from mail-la0-f42.google.com ([209.85.215.42])
    by alfa.hostname.com with esmtps (UNKNOWN:AES128-GCM-SHA256:128)
    (Exim 4.72)
    (envelope-from <[email protected]>)
    id 1ZWtam-0005pP-Au
    for [email protected]; Wed, 02 Sep 2015 00:59:48 +0300
Received: by laeb10 with SMTP id b10so9441190lae.1
        for <[email protected]>; Tue, 01 Sep 2015 14:59:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:date:message-id:subject:from:to:content-type;
        bh=znPMRO2Q6GFf5sy8VwAXEJsHQaB1x8k+ht3bzxNhUI4=;
        b=gZ4Vo8NogOFY14nbTJmdYxAdFmNHmyAPtlzv5GVQXu2TNPEAXF/jl9bZlvJwwveBKF
         xgop3NxDH1Yj32Uz7RhQMP7DL7Ky/2B5ujvmjZRtPb1zkq/4/k9c2xyp/D5PlaAlKCY4
         6Nv5bBrppy6dTb1Aabl8tplY9T/atIJ9aNP05Tt7I7JbWKzrR5LBsz/nFVcDV8a5MH0L
         9FHJjQd90m4fsXBR2WbflvcQZllkqJojvgGPS4CN19DQzZgRP9bUIvfgElqvB34ZNvUj
         JDrTcSfh8Xz1XdiTkesftrc/5Rbq/z0xoC51w2aTGyqG1CIyCU2rcG/HVHZrttz+boJu
         uFTA==
MIME-Version: 1.0
X-Received: by 10.152.184.41 with SMTP id er9mr11827213lac.20.1441144790447;
 Tue, 01 Sep 2015 14:59:50 -0700 (PDT)
Received: by 10.25.30.10 with HTTP; Tue, 1 Sep 2015 14:59:50 -0700 (PDT)
Date: Wed, 2 Sep 2015 00:59:50 +0300
Message-ID: <CAL+hCrnSTcvn5+Xr9Q2dHZzq9o4CL6D=GYdcuu39GOS0=i+uKw@mail.gmail.com>
Subject: test
From: Name Sender <[email protected]>
To: "domain.com" <[email protected]>
Content-Type: multipart/alternative; boundary=001a11345e364dfdaa051eb6ab05
X-redirected: yes

--001a11345e364dfdaa051eb6ab05
Content-Type: text/plain; charset=UTF-8

test

--001a11345e364dfdaa051eb6ab05
Content-Type: text/html; charset=UTF-8

<div dir="ltr">test</div>

--001a11345e364dfdaa051eb6ab05--

谢谢你!

答案1

如果希望转发功能正常运作,您需要修改邮件。该From字段需要包含转发服务器有权发送的地址。该Reply-to字段可以包含任何地址。对于您来说,这将是原始发件人的地址。

不过,我不知道您该如何进行设置。

答案2

您的 SPF 记录不正确

已接收 SPF:软失败(google.com:转换域[电子邮件保护]未指定 123.123.123.123 为允许的发件人)client-ip=123.123.123.123;身份验证

然后,您还应该为服务器的 IP 地址添加反向 DNS (rDNS),并使其与 SMTP 主机名相同。

相关内容