Помогите разобраться с отправкой почты ПЛЗ.

Вопросы по работе Почтовый сервера
Dovecot, Exim, RoundCube
toxarbk
Posts: 11
Joined: Fri Oct 11, 2013 10:56 am

Помогите разобраться с отправкой почты ПЛЗ.

Postby toxarbk » Fri Jan 17, 2014 2:24 pm

На mail.ru и yandex.ru сообщения доходят. С гуглом проблемы.

Заголовок полученного письма на mail.ru:

    From MAILER-DAEMON Fri Jan 17 17:46:51 2014
    Return-path: <>
    Authentication-Results: mxs.mail.ru; spf=none () smtp.mailfrom=mymail@realbiker.ru smtp.helo=CentOS-64-64-minimal;
    dkim=invalid reason=pubkey_unavailable header.i=realbiker.ru
    Received-SPF: none
    Received: from [144.76.174.115] (port=34983 helo=CentOS-64-64-minimal)
    by mx9.mail.ru with esmtp (envelope-from <mymail@mysite.ru>)
    id 1W49l3-0004PX-Kf
    for mymail@mail.ru; Fri, 17 Jan 2014 17:46:51 +0400
    X-Mru-BL: 0:0:0
    X-Mru-PTR: enduroforkseals.ru
    X-Mru-NR: 1
    X-Mru-OF: Linux (Ethernet or modem)
    X-Mru-RC: DE
    DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=realbiker.ru; s=mail;
    h=Message-ID:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To; bh=LhlH7eTauOqLfSQuBwdpotDHf+cICxzkpnfq2sdAm5w=;
    b=U0RGMm9jyZy869SpVDWHEuFclyMjXo89yWkilXgNm6yi6L5mtY/kFh5XBB+sNJDrPglQry1h5iC3gICsSmJYtQ==;
    Received: from admin by CentOS-64-64-minimal with local (Exim 4.72)
    (envelope-from <mymail@realbiker.ru>)
    id 1W49l2-0001hw-A0
    for des@mail.ru; Fri, 17 Jan 2014 17:46:48 +0400
    To: mymail@mail.ru
    Subject: test =?UTF-8?Q?=D0=BE=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?=
    X-PHP-Originating-Script: 0:rcmail.php
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8;
    format=flowed
    Content-Transfer-Encoding: 8bit
    Date: Fri, 17 Jan 2014 17:46:48 +0400
    From: mymail@realbiker.ru
    Message-ID: <0b4c1bc6e6692603ad0997b21863bf15@realbiker.ru>
    X-Sender: mymail@realbiker.ru
    User-Agent: Roundcube Webmail/0.9.4
    X-Spam: Not detected
    X-Mras: Ok
    X-DMARC-Policy: no
    X-Mru-Authenticated-Sender: mymail@realbiker.ru

Заголовок на Яндексе:
    Received: from mxfront4m.mail.yandex.net ([127.0.0.1])
    by mxfront4m.mail.yandex.net with LMTP id h3FGJ9mu
    for <mymail@yandex.ru>; Fri, 17 Jan 2014 17:43:03 +0400
    Received: from enduroforkseals.ru (enduroforkseals.ru [144.76.174.115])
    by mxfront4m.mail.yandex.net (nwsmtp/Yandex) with ESMTPS id Agq5zpzBeM-h1v09CvJ;
    Fri, 17 Jan 2014 17:43:01 +0400
    (using TLSv1 with cipher AES256-SHA (256/256 bits))
    (Client certificate not present)
    X-Yandex-Front: mxfront4m.mail.yandex.net
    X-Yandex-TimeMark: 1389966181
    X-Yandex-Uniq: bc7d6bae-2867-4195-a781-7a39059a27bf
    Authentication-Results: mxfront4m.mail.yandex.net; spf=pass (mxfront4m.mail.yandex.net: domain of realbiker.ru designates 144.76.174.115 as permitted sender) smtp.mail=mymail@realbiker.ru; dkim=neutral header.i=@realbiker.ru
    X-Yandex-Spam: 1
    DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=realbiker.ru; s=mail;
    h=Message-ID:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To; bh=LhlH7eTauOqLfSQuBwdpotDHf+cICxzkpnfq2sdAm5w=;
    b=eFB8gdu/vPptljKeLz5EC35YdFVH3T8Yc5ZjMEnaQrC058wOtl/KU4XLTUOv07IUhFWxv39TxG+sQxN/djSOEA==;
    Received: from admin by CentOS-64-64-minimal with local (Exim 4.72)
    (envelope-from <mymail@realbiker.ru>)
    id 1W49hM-0001aL-I0
    for mymail@yandex.ru; Fri, 17 Jan 2014 17:43:00 +0400
    To: mymail@yandex.ru
    Subject: test =?UTF-8?Q?=D0=BE=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?=
    X-PHP-Originating-Script: 0:rcmail.php
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8;
    format=flowed
    Content-Transfer-Encoding: 8bit
    Date: Fri, 17 Jan 2014 17:43:00 +0400
    From: mymail@realbiker.ru
    Message-ID: <b6d1c34205a4ecfe5a5af81de090360d@realbiker.ru>
    X-Sender: mymail@realbiker.ru
    User-Agent: Roundcube Webmail/0.9.4
    Return-Path: mymail@realbiker.ru
    X-Yandex-Forward: 753f0d006c97d6c7fe16835b8435ea50

    без текста

Для начала, непонятно, почему roundcube не выдал return-path при отправке на mail.ru?

А второй вопрос, почему не распознается SPF запись, хотя в домене она есть:

@ IN TXT v=spf1 a mx ip4:144.76.174.115 mx:mail.realbiker.ru -all
Однако, эта запись не распознается системами проверки, например http://www.kitterman.com/spf/validate.html?
сообщает:
    SPF record lookup and validation for: realbiker.ru

    SPF records are primarily published in DNS as TXT records.

    The TXT records found for your domain are:
    v=spf1amxip4:144.76.174.115ptr:enduroforkseals.rumx:mail.realbiker.ru~all

    SPF records should also be published in DNS as type SPF records.
    No type SPF records found.

    Checking to see if there is a valid SPF record.

    No valid SPF record found of either type TXT or type SPF.
Куда подевались все пробелы - непонятно..

http://mxtoolbox.com/ также пропотерял пробелы:

    Type Domain Name TTL Record
    TXT realbiker.ru 24 hrs v=spf1amxip4:144.76.174.115mx:mail.realbiker.ru-all
    Test Result
    TXT Record A Valid TXT Record was not found More Info
    SPF Record A Valid SPF Record was not found More Info

При этом служебные сообщения от системы очень даже на gmail приходят:
    Delivered-To: mymail@gmail.com
    Received: by 10.114.23.34 with SMTP id j2csp16047ldf;
    Fri, 17 Jan 2014 03:18:02 -0800 (PST)
    X-Received: by 10.194.250.34 with SMTP id yz2mr821152wjc.18.1389957482188;
    Fri, 17 Jan 2014 03:18:02 -0800 (PST)
    Return-Path: <root@centos-64-64-minimal>
    Received: from CentOS-64-64-minimal (enduroforkseals.ru. [2a01:4f8:200:5272::2])
    by mx.google.com with ESMTPS id c8si1145085wix.37.2014.01.17.03.18.01
    for <mymail@gmail.com>
    (version=TLSv1 cipher=RC4-SHA bits=128/128);
    Fri, 17 Jan 2014 03:18:02 -0800 (PST)
    Received-SPF: neutral (google.com: 2a01:4f8:200:5272::2 is neither permitted nor denied by best guess record for domain of root@centos-64-64-minimal) client-ip=2a01:4f8:200:5272::2;
    Authentication-Results: mx.google.com;
    spf=neutral (google.com: 2a01:4f8:200:5272::2 is neither permitted nor denied by best guess record for domain of root@centos-64-64-minimal) smtp.mail=root@centos-64-64-minimal
    Received: from -deleted- by CentOS-64-64-minimal with local (Exim 4.72)
    (envelope-from <root@CentOS-64-64-minimal>)
    id 1W47R3-00040S-Ki
    for mymail@gmail.com; Fri, 17 Jan 2014 15:18:01 +0400
    Date: Fri, 17 Jan 2014 15:18:01 +0400
    Message-Id: <E1W47R3-00040S-Ki@CentOS-64-64-minimal>
    From: root@CentOS-64-64-minimal (Cron Daemon)
    To: mymail@gmail.com
    Subject: Cron <mymail@CentOS-64-64-minimal> perl /home/-deleted-/web/realbiker.ru/cgi-bin/photo/writebest.pl
    Content-Type: text/plain; charset=UTF-8
    Auto-Submitted: auto-generated
    X-Cron-Env: <MAILTO=mymail@gmail.com>
    X-Cron-Env: <SHELL=/bin/sh>
    X-Cron-Env: <HOME=/home/-deleted->
    X-Cron-Env: <PATH=/usr/bin:/bin>
    X-Cron-Env: <LOGNAME=-deleted->
    X-Cron-Env: <USER=-deleted->

Голову сломал. =(

ahouse
Posts: 18
Joined: Fri Sep 01, 2017 1:05 pm

Re: Помогите разобраться с отправкой почты ПЛЗ.

Postby ahouse » Tue Sep 19, 2017 4:48 pm

dkim=invalid reason=pubkey_unavailable

upxbotx
Posts: 17
Joined: Fri Jul 21, 2017 3:41 pm

Re: Помогите разобраться с отправкой почты ПЛЗ.

Postby upxbotx » Fri Sep 22, 2017 6:49 pm

toxarbk wrote:На mail.ru и yandex.ru сообщения доходят. С гуглом проблемы.

Заголовок полученного письма на mail.ru:

    From MAILER-DAEMON Fri Jan 17 17:46:51 2014
    Return-path: <>
    Authentication-Results: mxs.mail.ru; spf=none () smtp.mailfrom=mymail@realbiker.ru smtp.helo=CentOS-64-64-minimal;
    dkim=invalid reason=pubkey_unavailable header.i=realbiker.ru
    Received-SPF: none
    Received: from [144.76.174.115] (port=34983 helo=CentOS-64-64-minimal)
    by mx9.mail.ru with esmtp (envelope-from <mymail@mysite.ru>)
    id 1W49l3-0004PX-Kf
    for mymail@mail.ru; Fri, 17 Jan 2014 17:46:51 +0400
    X-Mru-BL: 0:0:0
    X-Mru-PTR: enduroforkseals.ru
    X-Mru-NR: 1
    X-Mru-OF: Linux (Ethernet or modem)
    X-Mru-RC: DE
    DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=realbiker.ru; s=mail;
    h=Message-ID:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To; bh=LhlH7eTauOqLfSQuBwdpotDHf+cICxzkpnfq2sdAm5w=;
    b=U0RGMm9jyZy869SpVDWHEuFclyMjXo89yWkilXgNm6yi6L5mtY/kFh5XBB+sNJDrPglQry1h5iC3gICsSmJYtQ==;
    Received: from admin by CentOS-64-64-minimal with local (Exim 4.72)
    (envelope-from <mymail@realbiker.ru>)
    id 1W49l2-0001hw-A0
    for des@mail.ru; Fri, 17 Jan 2014 17:46:48 +0400
    To: mymail@mail.ru
    Subject: test =?UTF-8?Q?=D0=BE=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?=
    X-PHP-Originating-Script: 0:rcmail.php
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8;
    format=flowed
    Content-Transfer-Encoding: 8bit
    Date: Fri, 17 Jan 2014 17:46:48 +0400
    From: mymail@realbiker.ru
    Message-ID: <0b4c1bc6e6692603ad0997b21863bf15@realbiker.ru>
    X-Sender: mymail@realbiker.ru
    User-Agent: Roundcube Webmail/0.9.4
    X-Spam: Not detected
    X-Mras: Ok
    X-DMARC-Policy: no
    X-Mru-Authenticated-Sender: mymail@realbiker.ru

Заголовок на Яндексе:
    Received: from mxfront4m.mail.yandex.net ([127.0.0.1])
    by mxfront4m.mail.yandex.net with LMTP id h3FGJ9mu
    for <mymail@yandex.ru>; Fri, 17 Jan 2014 17:43:03 +0400
    Received: from enduroforkseals.ru (enduroforkseals.ru [144.76.174.115])
    by mxfront4m.mail.yandex.net (nwsmtp/Yandex) with ESMTPS id Agq5zpzBeM-h1v09CvJ;
    Fri, 17 Jan 2014 17:43:01 +0400
    (using TLSv1 with cipher AES256-SHA (256/256 bits))
    (Client certificate not present)
    X-Yandex-Front: mxfront4m.mail.yandex.net
    X-Yandex-TimeMark: 1389966181
    X-Yandex-Uniq: bc7d6bae-2867-4195-a781-7a39059a27bf
    Authentication-Results: mxfront4m.mail.yandex.net; spf=pass (mxfront4m.mail.yandex.net: domain of realbiker.ru designates 144.76.174.115 as permitted sender) smtp.mail=mymail@realbiker.ru; dkim=neutral header.i=@realbiker.ru
    X-Yandex-Spam: 1
    DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=realbiker.ru; s=mail;
    h=Message-ID:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To; bh=LhlH7eTauOqLfSQuBwdpotDHf+cICxzkpnfq2sdAm5w=;
    b=eFB8gdu/vPptljKeLz5EC35YdFVH3T8Yc5ZjMEnaQrC058wOtl/KU4XLTUOv07IUhFWxv39TxG+sQxN/djSOEA==;
    Received: from admin by CentOS-64-64-minimal with local (Exim 4.72)
    (envelope-from <mymail@realbiker.ru>)
    id 1W49hM-0001aL-I0
    for mymail@yandex.ru; Fri, 17 Jan 2014 17:43:00 +0400
    To: mymail@yandex.ru
    Subject: test =?UTF-8?Q?=D0=BE=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?=
    X-PHP-Originating-Script: 0:rcmail.php
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8;
    format=flowed
    Content-Transfer-Encoding: 8bit
    Date: Fri, 17 Jan 2014 17:43:00 +0400
    From: mymail@realbiker.ru
    Message-ID: <b6d1c34205a4ecfe5a5af81de090360d@realbiker.ru>
    X-Sender: mymail@realbiker.ru
    User-Agent: Roundcube Webmail/0.9.4
    Return-Path: mymail@realbiker.ru
    X-Yandex-Forward: 753f0d006c97d6c7fe16835b8435ea50

    без текста

Для начала, непонятно, почему roundcube не выдал return-path при отправке на mail.ru?

А второй вопрос, почему не распознается SPF запись, хотя в домене она есть:

@ IN TXT v=spf1 a mx ip4:144.76.174.115 mx:mail.realbiker.ru -all
Однако, эта запись не распознается системами проверки, например http://www.kitterman.com/spf/validate.html?
сообщает:
    SPF record lookup and validation for: realbiker.ru

    SPF records are primarily published in DNS as TXT records.

    The TXT records found for your domain are:
    v=spf1amxip4:144.76.174.115ptr:enduroforkseals.rumx:mail.realbiker.ru~all

    SPF records should also be published in DNS as type SPF records.
    No type SPF records found.

    Checking to see if there is a valid SPF record.

    No valid SPF record found of either type TXT or type SPF.
Куда подевались все пробелы - непонятно..

http://mxtoolbox.com/ также пропотерял пробелы:

    Type Domain Name TTL Record
    TXT realbiker.ru 24 hrs v=spf1amxip4:144.76.174.115mx:mail.realbiker.ru-all
    Test Result
    TXT Record A Valid TXT Record was not found More Info
    SPF Record A Valid SPF Record was not found More Info

При этом служебные сообщения от системы очень даже на gmail приходят:
    Delivered-To: mymail@gmail.com
    Received: by 10.114.23.34 with SMTP id j2csp16047ldf;
    Fri, 17 Jan 2014 03:18:02 -0800 (PST)
    X-Received: by 10.194.250.34 with SMTP id yz2mr821152wjc.18.1389957482188;
    Fri, 17 Jan 2014 03:18:02 -0800 (PST)
    Return-Path: <root@centos-64-64-minimal>
    Received: from CentOS-64-64-minimal (enduroforkseals.ru. [2a01:4f8:200:5272::2])
    by mx.google.com with ESMTPS id c8si1145085wix.37.2014.01.17.03.18.01
    for <mymail@gmail.com>
    (version=TLSv1 cipher=RC4-SHA bits=128/128);
    Fri, 17 Jan 2014 03:18:02 -0800 (PST)
    Received-SPF: neutral (google.com: 2a01:4f8:200:5272::2 is neither permitted nor denied by best guess record for domain of root@centos-64-64-minimal) client-ip=2a01:4f8:200:5272::2;
    Authentication-Results: mx.google.com;
    spf=neutral (google.com: 2a01:4f8:200:5272::2 is neither permitted nor denied by best guess record for domain of root@centos-64-64-minimal) smtp.mail=root@centos-64-64-minimal
    Received: from -deleted- by CentOS-64-64-minimal with local (Exim 4.72)
    (envelope-from <root@CentOS-64-64-minimal>)
    id 1W47R3-00040S-Ki
    for mymail@gmail.com; Fri, 17 Jan 2014 15:18:01 +0400
    Date: Fri, 17 Jan 2014 15:18:01 +0400
    Message-Id: <E1W47R3-00040S-Ki@CentOS-64-64-minimal>
    From: root@CentOS-64-64-minimal (Cron Daemon)
    To: mymail@gmail.com
    Subject: Cron <mymail@CentOS-64-64-minimal> perl /home/-deleted-/web/realbiker.ru/cgi-bin/photo/writebest.pl
    Content-Type: text/plain; charset=UTF-8
    Auto-Submitted: auto-generated
    X-Cron-Env: <MAILTO=mymail@gmail.com>
    X-Cron-Env: <SHELL=/bin/sh>
    X-Cron-Env: <HOME=/home/-deleted->
    X-Cron-Env: <PATH=/usr/bin:/bin>
    X-Cron-Env: <LOGNAME=-deleted->
    X-Cron-Env: <USER=-deleted->

Голову сломал. =(



как написали уже DKIM   запись пропишите в DNS
для теста настроек используйте сервис mxtoolbox.com


Return to “Почтовый сервер”



Who is online

Users browsing this forum: No registered users and 4 guests