smtp身份验证但被垃圾邮件过滤器拒绝

时间:2017-05-09 11:44:07

标签: smtp spam

当我直接从我的服务器发送电子邮件时遇到垃圾邮件问题,我要求我的客户在她的服务器上打开一个电子邮件帐户。 我使用smtp身份验证与电子邮件地址和电子邮件密码。 这是服务器的详细解答,任何人都可以解释一下我无法发送的原因和解决方案。 谢谢。

PEAR_Error Object
(
[error_message_prefix] => 
[mode] => 1
[level] => 1024
[code] => 10006
[message] => Failed to send data [SMTP: Invalid response code received from 
server (code: 550, response: 5.7.1 Rejected by spam filter (17211ed8-34a9-
11e7-9a8c-336c9f1d8145) [CSP-02])]
[userinfo] => 
[backtrace] => Array
    (
        [0] => Array
            (
                [file] => /opt/cpanel/ea-php56/root/usr/share/pear/PEAR.php
                [line] => 577
                [function] => __construct
                [class] => PEAR_Error
                [type] => ->
                [args] => Array
                    (
                        [0] => Failed to send data [SMTP: Invalid response 
 code received from server (code: 550, response: 5.7.1 Rejected by spam 
 filter (17211ed8-34a9-11e7-9a8c-336c9f1d8145) [CSP-02])]
                        [1] => 10006
                        [2] => 1
                        [3] => 1024
                        [4] => 
                    )

            )

        [1] => Array
            (
                [function] => _raiseError
                [class] => PEAR
                [type] => ::
                [args] => Array
                    (
                        [0] => 
                        [1] => Failed to send data [SMTP: Invalid response 
code received from server (code: 550, response: 5.7.1 Rejected by spam 
filter 
(17211ed8-34a9-11e7-9a8c-336c9f1d8145) [CSP-02])]
                        [2] => 10006
                    )

            )

        [2] => Array
            (
                [file] => /opt/cpanel/ea-php56/root/usr/share/pear/PEAR.php
                [line] => 237
                [function] => call_user_func_array
                [args] => Array
                    (
                        [0] => Array
                            (
                                [0] => PEAR
                                [1] => _raiseError
                            )

                        [1] => Array
                            (
                                [0] => 
                                [1] => Failed to send data [SMTP: Invalid 
response code received from server (code: 550, response: 5.7.1 Rejected by 
spam filter (17211ed8-34a9-11e7-9a8c-336c9f1d8145) [CSP-02])]
                                [2] => 10006
                            )

                    )

            )

        [3] => Array
            (
                [file] => /opt/cpanel/ea-
php56/root/usr/share/pear/Mail/smtp.php
                [line] => 319
                [function] => __callStatic
                [class] => PEAR
                [type] => ::
                [args] => Array
                    (
                        [0] => raiseError
                        [1] => Array
                            (
                                [0] => Failed to send data [SMTP: Invalid 
response code received from server (code: 550, response: 5.7.1 Rejected by 
spam filter (17211ed8-34a9-11e7-9a8c-336c9f1d8145) [CSP-02])]
                                [1] => 10006
                            )

                    )

            )

        [4] => Array
            (
                [file] => /opt/cpanel/ea-
php56/root/usr/share/pear/Mail/smtp.php
                [line] => 319
                [function] => raiseError
                [class] => PEAR
                [type] => ::
                [args] => Array
                    (
                        [0] => Failed to send data [SMTP: Invalid response 
code received from server (code: 550, response: 5.7.1 Rejected by spam 
filter (17211ed8-34a9-11e7-9a8c-336c9f1d8145) [CSP-02])]
                        [1] => 10006
                    )

            )

        [5] => Array
            (
                [file] => crm/public_html/testsendemail.php
                [line] => 22
                [function] => send
                [class] => Mail_smtp
                [object] => Mail_smtp Object
                    (
                        [_smtp] => Net_SMTP Object
                            (
                                [host] => xxx.com
                                [port] => 25
                                [localhost] => localhost
                                [auth_methods] => Array
                                    (
                                        [LOGIN] => Array
                                            (
                                                [0] => Net_SMTP Object
 *RECURSION*
                                                [1] => authLogin
                                            )

                                        [PLAIN] => Array
                                            (
                                                [0] => Net_SMTP Object
 *RECURSION*
                                                [1] => authPlain
                                            )

                                    )

                                [pipelining] => 
                                [pipelined_commands:protected] => 0
                                [debug:protected] => 
                                [debug_handler:protected] => 
                                [socket:protected] => Net_Socket Object
                                    (
                                        [fp] => Resource id #7
                                        [blocking] => 1
                                        [persistent] => 
                                        [addr] => xxx.com
                                        [port] => 25
                                        [timeout] => 
                                        [lineLength] => 2048
                                        [newline] => 

                                        [_debug] => 
                                        [_default_error_mode] => 
                                        [_default_error_options] => 
                                        [_default_error_handler] => 
                                        [_error_class] => PEAR_Error
                                        [_expected_errors] => Array
                                            (
                                            )

                                    )

                                [socket_options:protected] => Array
                                    (
                                    )

                                [timeout:protected] => 0
                                [code:protected] => 250
                                [arguments:protected] => Array
                                    (
                                        [0] => Reset OK
                                    )

                                [greeting:protected] => 
sunucu.alvagenyazilim.com ESMTP Exim 4.86 Tue, 09 May 2017 14:17:29 +0300
                                [esmtp:protected] => Array
                                    (
                                        [sunucu.alvagenyazilim.com] => Hello 
localhost [89.19.23.154]
                                        [SIZE] => 53477376
                                        [8BITMIME] => 
                                        [AUTH] => PLAIN LOGIN
                                        [HELP] => 
                                    )

                            )

                        [_extparams] => Array
                            (
                            )

                        [host] => xxx.com
                        [port] => 25
                        [auth] => 1
                        [username] => crm@xxx.com
                        [password] => Tansudemir12345
                        [localhost] => localhost
                        [timeout] => 
                        [debug] => 
                        [persist] => 
                        [pipelining] => 
                        [socket_options] => Array
                            (
                            )

                        [sep] => 

                        [greeting] => sunucu.alvagenyazilim.com ESMTP Exim 4.86 Tue, 09 May 2017 14:17:29 +0300
                    )

                [type] => ->
                [args] => Array
                    (
                        [0] => ozer@rrrr.com
                        [1] => Array
                            (
                                [From] => crm@xxx.com
                                [To] => ozer@rrrr.com
                                [Subject] => testemail
                                [Content-type] => text/html; charset=UTF-8
                            )

                        [2] => testemail
                    )

            )

    )

[callback] => 
)
)

1 个答案:

答案 0 :(得分:0)

您应该在域的DNS区域中添加spf和DKIM记录,并添加rDNS记录。一旦完成,允许它传播并检查邮件是否仍然是垃圾邮件文件夹。