A entrega de e-mails para o Gmail é interrompida após a implementação de DomainKey

1

Eu tenho um VPS pessoal que uso como email pessoal e servidor web. Hoje eu estava diagnosticando e-mail e criei uma conta de teste no Gmail. No começo eu não estava implementado DomainKey e apenas o SPF estava disponível. Enviei um e-mail do meu servidor e ele caiu na pasta da caixa de entrada. esta é a mensagem:

Delivered-To: [email protected]  
Received: by 10.49.109.169 with SMTP id ht9csp256915qeb;  
    Thu, 10 Oct 2013 08:27:14 -0700 (PDT)  
X-Received: by 10.60.42.168 with SMTP id p8mr617741oel.73.1381418834422;  
    Thu, 10 Oct 2013 08:27:14 -0700 (PDT)  
Return-Path: <[email protected]>  
Received: from azary.ir (azary.ir. [198.23.143.195])  
    by mx.google.com with ESMTP id t30si17805783yhb.274.1969.12.31.16.00.00;  
    Thu, 10 Oct 2013 08:27:14 -0700 (PDT)  
Received-SPF: pass (google.com: domain of [email protected] designates 198.23.143.195 as permitted sender) client-ip=198.23.143.195;  
Authentication-Results: mx.google.com;  
   spf=pass (google.com: domain of [email protected] designates 198.23.143.195 as permitted sender) [email protected]  
Received: from azary.ir (localhost [127.0.0.1])  
by azary.ir (Postfix) with ESMTPA id F06AF141077  
for <[email protected]>; Thu, 10 Oct 2013 18:57:12 +0330 (IRST)  
MIME-Version: 1.0  
Content-Type: text/plain; charset=UTF-8;  
 format=flowed  
Content-Transfer-Encoding: 7bit  
Date: Thu, 10 Oct 2013 18:57:12 +0330  
From: "soroosh.azary" <[email protected]>  
To: [email protected]  
Subject: test15  
Message-ID: <[email protected]>  
X-Sender: [email protected]  
User-Agent: Roundcube Webmail/0.9.4  

;aslfj ;lsakjf ;asj;fdlkj    

E então percebi que não habilitei o DomainKey no meu servidor. Depois de ativá-lo, enviei novamente um e-mail para a mesma conta, mas desta vez ele caiu na pasta de spam. Esta é a mensagem:

Delivered-To: [email protected]  
Received: by 10.49.109.169 with SMTP id ht9csp260477qeb;  
        Thu, 10 Oct 2013 09:33:48 -0700 (PDT)  
X-Received: by 10.182.66.164 with SMTP id g4mr1837295obt.47.1381422827879;  
        Thu, 10 Oct 2013 09:33:47 -0700 (PDT)  
Return-Path: <[email protected]>  
Received: from azary.ir (azary.ir. [198.23.143.195])
        by mx.google.com with ESMTP id z44si17956142yhn.218.1969.12.31.16.00.00;
        Thu, 10 Oct 2013 09:33:47 -0700 (PDT)
Received-SPF: pass (google.com: domain of [email protected] designates 198.23.143.195 as permitted sender) client-ip=198.23.143.195;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of [email protected] designates 198.23.143.195 as permitted sender) [email protected];
       dkim=pass [email protected]
Received: from azary.ir (localhost [127.0.0.1])
        by azary.ir (Postfix) with ESMTPA id CC8FF1400AA
        for <[email protected]>; Thu, 10 Oct 2013 20:03:45 +0330 (IRST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=azary.ir; s=2013;
    t=1381422825; bh=JEpdovrX5kTP5c8EfB0d+fjgdTg6w2qACp6GgAOfVto=;
    h=Date:From:To:Subject:From;
    b=X9ecar48Un7rocSIUgJllNLJM/ukuc57zaGUxM3Iwp8uKy2Z6lUOc0mrqpJDhx+/c
     ZbS5d4nkM8Geq4982ik6/0l0NDsTxtBIkJosRNeU02MhxSb7fnE9vCCx0W379w4A+T
     CpuTT28Dq6np4mRrIEiVX/DmhmI2Zu7GdSVU2CjupQ8Jyei/X6/33IS/+9BJ522++H
     FlkwQ3lFDWgU6zBdvmXm6TYTvA+phJKCC3rgbKTlyQInT8KPLpgZFzzzBwJkWWmKOR
     0pdsapmPjiJMXoCoLXpPoT4Ld1Ff4ZmT1z15LEbgigdihZRyeAd/BNKjFwk0bVqSr4
     8aVQRmzPH17+w==
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Thu, 10 Oct 2013 20:03:45 +0330
From: "soroosh.azary" <[email protected]>
To: [email protected]
Subject: test18
Message-ID: <[email protected]>
X-Sender: [email protected]
User-Agent: Roundcube Webmail/0.9.4

sdfnlasdfaslkfdjhasf

O que está acontecendo? E como posso consertar isso?
O interessante é que quando eu mandei e-mails para o Yahoo, primeiro eles foram para a pasta de spam, e depois para a caixa de entrada, exatamente o oposto do que o Gmail fez!

UPDATE:
Enviei um email para [email protected] e este é o resultado:

==========================================================
    Summary of Results
==========================================================
SPF check:          pass
DomainKeys check:   neutral
DKIM check:         pass
Sender-ID check:    pass
SpamAssassin check: ham

==========================================================
Details:
==========================================================

HELO hostname:  azary.ir
Source IP:      198.23.143.195
mail-from:      [email protected]

----------------------------------------------------------
SPF check details:
----------------------------------------------------------
Result:         pass 
ID(s) verified: [email protected]
DNS record(s):
    azary.ir. SPF (no records)
    azary.ir. 38400 IN TXT "v=spf1 a mx a:azary.ir ip4:198.23.143.195 ?all"
    azary.ir. 38400 IN A 198.23.143.195

----------------------------------------------------------
DomainKeys check details:
----------------------------------------------------------
Result:         neutral (message not signed)
ID(s) verified: [email protected]
DNS record(s):

----------------------------------------------------------
DKIM check details:
----------------------------------------------------------
Result:         pass (matches From: [email protected])
ID(s) verified: header.d=azary.ir
Canonicalized Headers:
    Date:'20'Thu,'20'10'20'Oct'20'2013'20'22:32:26'20'+0330'0D''0A'
    From:'20'"soroosh.azary"'20'<[email protected]>'0D''0A'
    To:'20'[email protected]'0D''0A'
    Subject:'20'asdf'0D''0A'
    DKIM-Signature:'20'v=1;'20'a=rsa-sha256;'20'c=simple/simple;'20'd=azary.ir;'20's=2013;'0D''0A'
    '09't=1381431747;'20'bh=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN/XKdLCPjaYaY=;'0D''0A'
    '09'h=Date:From:To:Subject:From;'0D''0A'
    '09'b=

Canonicalized Body:
    '0D''0A'


DNS record(s):
  2013._domainkey.azary.ir. 38400 IN TXT "v=DKIM1; k=rsa; t=s; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzmZ9hO/I4JfmRKOHP3ALQj15U/ECe/TiP88R2npL+B3jgrzTYQejG2uByYU9Eq1GlQTbqP4j+IKc4CnagBbOvGsnPfz/aUFSANd9qKmFPkFkwsWdhQ7mHQzDAXkOKrxvnhEc/ttFPnw5t4WZM+42n5mFojUMCchqsUvgj+jkpPbWYgA5tOLmRrgJ5Z7EbGvjU78TNAwrygyyFz2+VNHNsy1N008uoS6EO24xQZXc5u0HCzJEcK+TIC81t8E5W/2H0OY8KJEufl7kJorJgPlyFgu8Qq3ZEzzuywcQU+R70jJ+yofa0vPgq50n1vr8xpgYViquFi/LlcnJ4bapnPjjxwIDAQAB"

Public key used for verification: 2013._domainkey.azary.ir (2048 bits)

NOTE: DKIM checking has been performed based on the latest DKIM specs
(RFC 4871 or draft-ietf-dkim-base-10) and verification may fail for
older versions.  If you are using Port25's PowerMTA, you need to use
version 3.2r11 or later to get a compatible version of DKIM.

----------------------------------------------------------
Sender-ID check details:
----------------------------------------------------------
Result:         pass 
ID(s) verified: [email protected]
DNS record(s):
    azary.ir. SPF (no records)
    azary.ir. 38400 IN TXT "v=spf1 a mx a:azary.ir ip4:198.23.143.195 ?all"
    azary.ir. 38400 IN A 198.23.143.195

----------------------------------------------------------
SpamAssassin check details:
----------------------------------------------------------
SpamAssassin v3.3.1 (2010-03-16)

Result:         ham  (-2.7 points, 5.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
-0.7 RP_MATCHES_RCVD        Envelope sender domain matches handover relay domain
-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                            [score: 0.0000]
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
                            domain
 0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature

Pelo que vejo, tudo está bem. Qual é o próximo?

2a ATUALIZAÇÃO:
Eu usei serviços no link e link para verificar novamente. Nenhum deles relatou qualquer problema. Confuso

3a ATUALIZAÇÃO:
O problema é não reproduzível; Desativei o DKIM e enviei e-mails para o Gmail e o Yahoo, e os dois foram para a pasta de spam. Mais uma vez eu habilitei o DKIM e enviei e-mails para ambos, e somente no yahoo ele foi para a caixa de entrada. Estou me convencendo de que isso tem algo a ver com a reputação.

    
por sazary 10.10.2013 / 18:40

1 resposta

0

Parece que os seus emails vão para "greylist", tente colocar o NOTSPAM na primeira letra, então tudo deve estar ok.

O Yahoo também verifica o tamanho mínimo da mensagem. Tente colocar mais de 5 palavras.

    
por 19.10.2013 / 01:58