如何确定php mail()函数使用的发件人代理?

时间:2016-10-23 13:07:53

标签: php email dns

我的mail()php函数发送电子邮件,但其可交付性非常低。

我的服务器是DEBIAN,我没有安装服务器。

退回地址不符合以下域名: https://www.mail-tester.com/web-OPQmPm

  

您可能希望发布域名的DNS记录(MX类型)   fox-main.bay30.ovh或使用不同的退回电子邮件地址。

我的php.ini配置是:

[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25

; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = me@example.com

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;sendmail_path =

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =

; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
mail.add_x_header = On

; The path to a log file that will log all mail() calls. Log entries include
; the full path of the script, line number, To address and headers.
;mail.log =

我的问题是:在我的情况下post()php函数是什么(postfix?qmail?...)以及如何解决这个问题?

收到的电子邮件是:

Received: by mail-tester.com (Postfix, from userid 500) id AF3D7A017A;
    Sun, 23 Oct 2016 14:52:39 +0200 (CEST)
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-tester.com
X-Spam-Level: **
X-Spam-Status: No/2.2/5.0
X-Spam-Test-Scores: HEADER_FROM_DIFFERENT_DOMAINS=0.001,
    HTML_IMAGE_ONLY_16=1.048,HTML_IMAGE_RATIO_06=0.001,HTML_MESSAGE=0.001,
    MIME_HTML_ONLY=1.105,SPF_HELO_PASS=-0.001,SPF_PASS=-0.001,
    T_RP_MATCHES_RCVD=-0.01,T_TVD_MIME_EPI=0.01
X-Spam-Last-External-IP: 91.121.157.162
X-Spam-Last-External-HELO: fox-main.bay30.ovh
X-Spam-Last-External-rDNS: fox-main.bay30.ovh
X-Spam-Date-of-Scan: Sun, 23 Oct 2016 14:52:39 +0200
X-Spam-Report: * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record    * -0.0
 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay    *     
 domain *  0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
 mail   *      domains are different    * -0.0 SPF_PASS SPF: sender matches SPF
 record *  0.0 HTML_IMAGE_RATIO_06 BODY: HTML has a low ratio of text to
 image area *  1.0 HTML_IMAGE_ONLY_16 BODY: HTML: images with 1200-1600
 bytes of words *  0.0 HTML_MESSAGE BODY: HTML included in message  *  0.0
 T_TVD_MIME_EPI BODY: No description available. *  1.1 MIME_HTML_ONLY BODY:
 Message only has text/html MIME parts
Received-SPF: Pass (sender SPF authorized) identity=mailfrom;
 client-ip=91.121.157.162; helo=fox-main.bay30.ovh;
 envelope-from=root@fox-main.bay30.ovh; receiver=web-opqmpm@mail-tester.com
DMARC-Filter: OpenDMARC Filter v1.3.1 mail-tester.com 46E079FF4E
Authentication-Results: mail-tester.com; dmarc=none
 header.from=fox-poker.com
Received: from fox-main.bay30.ovh (fox-main.bay30.ovh [91.121.157.162]) (using TLSv1.2
    with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested)
    by mail-tester.com (Postfix) with ESMTPS id 46E079FF4E
    for <web-OPQmPm@mail-tester.com>; Sun, 23 Oct 2016 14:52:38 +0200 (CEST)
Received: from fox-main.bay30.ovh (localhost.localdomain [127.0.0.1])
    by fox-main.bay30.ovh (8.14.4/8.14.4/Debian-4) with ESMTP id u9NCqceQ021366
    for <web-OPQmPm@mail-tester.com>; Sun, 23 Oct 2016 14:52:38 +0200
Received: (from root@localhost) by fox-main.bay30.ovh (8.14.4/8.14.4/Submit)
    id u9NCqcrX021365;  Sun, 23 Oct 2016 14:52:38 +0200
Message-Id: <201610231252.u9NCqcrX021365@fox-main.bay30.ovh>
To: web-OPQmPm@mail-tester.com
Subject: Votre compte Fox-Poker, testEMail.php
X-PHP-Originating-Script: 1000:email.php
Date: Sun, 23 Oct 2016 14:52:38 +0200
MIME-version: 1.0
From: contact@fox-poker.com
Return-Path: root@fox-main.bay30.ovh
Content-Type: multipart/mixed; boundary=_24cc77109e4a921619d8d5058adc7bd8_

Content-Transfer-Encoding: BASE64

fox-main.bay30.ovh从哪里来? (我的电子邮件脚本中没有此类信息!)

0 个答案:

没有答案