• Какую DKIM запись делать в DNS, если DKIM с другого домена на том же VPS?

    @Delfinov Автор вопроса
    Спасибо за направление.
    Дописал в DNS записи xxx.tld yyy.tld несколько строк:

    _dmarc.yyy.tld. TXT v=DMARC1; p=none
    _dmarc.xxx.tld. TXT v=DMARC1; p=none

    и AAAA записи для ip6 для обоих доменов.
    Gmail показывает:
    SPF: PASS,
    DKIM: PASS,
    DMARC: FAIL

    Письма идут в Спам-папку.. Если поставить p=quarantine, то письма не доходят вообще.
    Что предпринять?
    Запись почты Gmail:

    SPF: PASS, IP-адрес 2a04:+++:+++:+++:ff:fe00:b0f1 Подробнее…
    DKIM: PASS, домен yyy.tld Подробнее…
    DMARC: FAIL

    Delivered-To: zzz@gmail.com
    Received: by 10.223.172.10 with SMTP id v10csp1016710wrc;
    Mon, 12 Jun 2017 07:03:27 -0700 (PDT)
    X-Received: by 10.25.37.209 with SMTP id l200mr16539704lfl.156.1497276207754;
    Mon, 12 Jun 2017 07:03:27 -0700 (PDT)
    ARC-Seal: i=1; a=rsa-sha256; t=1497276207; cv=none;
    d=google.com; s=arc-20160816;
    b=C0cWnn3LvU5i3oRxVz24ayCYRgbP0qxck6kZ62vSoIr0J9FzgGWEVicqJdGajhAZ8l
    nwXwptzCegPxXmx45MskSQsh2O4vjQOyTeAKVEdjA+bilpAB42r2kYPNAsUF93e7VaUz
    gVanFfQq8KR2mnL5+SVQ1b6qQwKNKyMv7tHLUq+2CFMz6mwcJXBgtc5DOzQIpS9D7VnD
    aKjFg8R0mWph+o9N80/ykb8KZeDTrmPZIbZFM72iM9tNnQ/4yEfo1hH9v34hLkpWAyxQ
    OzabWyg0IP26rSWRz5lGeG0mUEJ31xUWUfTOHdBzsNlf00nq7urd4v/zMQFSmUnNJjIy
    sYVw==
    ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
    h=content-transfer-encoding:mime-version:message-id:reply-to:from
    :date:subject:to:dkim-signature:arc-authentication-results;
    bh=/IbrMkWeS15r48fEXjE7IJ31hThMCrEeFFar2CtrG/s=;
    b=L2fAzkMFcVIyKrZXIfHzS9R4KfJhrG5z69qX0vx0e5lCZzFjzV4FtVWGZrsYhB/Fas
    94IyLk7ikz6/sj7uW+EAB5GTSAVkf1970+YkMmGrnLmJqGA7S45VEGLQwHcUAzN+RyNr
    VTYRdEXwojEB0H1iiT9uHw+WfGW3B9vZqUoex2E/eAx29Ai9PpZcttveHUP1GhnKAhzm
    aDUXA+atdcbhOrYdqNwM/luchdWXY7rS2WeUX2E9yRbiOZfxrDD7MRVh2vrREu2L6QO/
    yMjYkVw/MyFfCqtYx0HVT+wMTdvVz4vg6U1e35iPkwDsiPcHuomBbAMtX1vMjPcNq2f/
    BXkA==
    ARC-Authentication-Results: i=1; mx.google.com;
    dkim=pass header.i=@yyy.tld;
    spf=pass (google.com: domain of www-root@yyy.tld designates 2a04:+++:+++:+++:ff:fe00:b0f1 as permitted sender) smtp.mailfrom=www-root@yyy.tld;
    dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xxx.tld
    Return-Path:
    Received: from yyy.tld (63241.simplecloud.club. [2a04:+++:+++:+++:ff:fe00:b0f1])
    by mx.google.com with ESMTPS id f94si4798916lfi.401.2017.06.12.07.03.27
    for
    (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
    Mon, 12 Jun 2017 07:03:27 -0700 (PDT)
    Received-SPF: pass (google.com: domain of www-root@yyy.tld designates 2a04:+++:+++:+++:ff:fe00:b0f1 as permitted sender) client-ip=2a04:+++:+++:+++:ff:fe00:b0f1;
    Authentication-Results: mx.google.com;
    dkim=pass header.i=@yyy.tld;
    spf=pass (google.com: domain of www-root@yyy.tld designates 2a04:+++:+++:+++:ff:fe00:b0f1 as permitted sender) smtp.mailfrom=www-root@yyy.tld;
    dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xxx.tld
    DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=yyy.tld; s=dkim; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Reply-To:From:Date:Subject:To; bh=/IbrMkWeS15r48fEXjE7IJ31hThMCrEeFFar2CtrG/s=; b=ufWTfOpE9R1l5Ywj07y88UzHw+mXqJXdlnnDYEkpvVXq57C3c6pZ+cSU6rOAED2wOp2Ccf+dg5NcdvWjhNDTvS0BwVG7o86eqad+Z3Wz1EPGIpJ9GRTUJehn1K8KCQPJONLh9TBuxiyNEX7xtFEFcZm7sIGv6uLBC75mKaUGxTw=;
    Received: from www-root by yyy.tld with local (Exim 4.84_2) (envelope-from ) id 1dKPwF-0002U7-9h for zzz@gmail.com; Mon, 12 Jun 2017 17:03:27 +0300
    To: zzz@gmail.com
    Subject: Вы подписаны на Новости сайта xxx.tld
    X-PHP-Originating-Script: 500:class.phpmailer.php
    Date: Mon, 12 Jun 2017 17:03:27 +0300
    From: "Виктор ХХХ | xxx.tld"
    Reply-To: "Виктор ХХХ"
    Message-ID: <447827730bd1997be3106cab1e4cdc08@xxx.tld>
    MIME-Version: 1.0
    Content-Type: text/html; charset=utf-8
    Content-Transfer-Encoding: 8bit

    ===Далее текст письма===


    P.S. Да, конечно все перемешалось. Исправляю.