General discussion on installation and configuration of SOGo

Text archives Help


RE: [SOGo] vacation message goes to spam


Chronological Thread 
  • From: "Fernando Salas [Novanet]" (fsalas@novanet.network) < >
  • To: < >
  • Subject: RE: [SOGo] vacation message goes to spam
  • Date: Tue, 26 Jul 2016 16:26:19 -0500
  • Dmarc-filter: OpenDMARC Filter v1.2.0 mail.inverse.ca 074BA11AAFAE

Dear Chris,

 

Thanks for your answer.

 

I have SPF, DKIM and also the PTR record implemented, the mail goes normally to the INBOX folder, the only issue is with the “vacation auto response mail", I send again the full headers so yo can see the SPF and DKIM, I have replace with A.B.C.D the IP of the server.

 

This is the full header of the "spam" mail, in this header there is no “DKIM-Signature” and also there is no “Return-Path” value, I don´t understang why there is no “DKIM-Signature” when the email goes from the “vacation” system.

 

Delivered-To:

Received: by 10.103.122.141 with SMTP id v135csp893887vsc;

        Wed, 13 Jul 2016 04:17:28 -0700 (PDT)

X-Received: by 10.66.117.105 with SMTP id kd9mr12589484pab.40.1468408648637;

       Wed, 13 Jul 2016 04:17:28 -0700 (PDT)

Return-Path: <>

Received: from my.sogo.server (my.sogo.server. [A.B.C.D])

        by mx.google.com with ESMTPS id o6si4948924pac.39.2016.07.13.04.17.28

        for < >

        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);

        Wed, 13 Jul 2016 04:17:28 -0700 (PDT)

Received-SPF: pass (google.com: best guess record for domain of .server designates A.B.C.D as permitted sender) client-ip=A.B.C.D;

Authentication-Results: mx.google.com;

       spf=pass (google.com: best guess record for domain of .server designates A.B.C.D as permitted sender) smtp.helo=my.sogo.server;

       dmarc=fail (p=QUARANTINE dis=QUARANTINE) header.from=novanet.network

Received: from my.sogo.server (my.sogo.server [127.0.0.1])

  by my.sogo.server (Postfix) with ESMTP id 1C329103157

  for < >; Wed, 13 Jul 2016 06:17:28 -0500 (ECT)

X-Virus-Scanned: Debian amavisd-new at my.sogo.server

Received: from my.sogo.server ([127.0.0.1])

  by my.sogo.server (my.sogo.server [127.0.0.1]) (amavisd-new, port 10024)

  with ESMTP id 2tf9QE8MhRw6 for < >;

  Wed, 13 Jul 2016 06:17:27 -0500 (ECT)

Received: by my.sogo.server (Postfix, from userid 2000)

  id EB50D10311B; Wed, 13 Jul 2016 06:17:27 -0500 (ECT)

X-Sieve: Pigeonhole Sieve 0.4.2

Message-ID: < .server>

Date: Wed, 13 Jul 2016 06:17:27 -0500

From: <user@sogo.server>

To: < >

Subject: Respuesta =?utf-8?q?autom=C3=A1tica?= - Fuera de la oficina

In-Reply-To: < >

References: < >

Auto-Submitted: auto-replied (vacation)

Precedence: bulk

MIME-Version: 1.0

Content-Type: text/plain; charset=utf-8

Content-Transfer-Encoding: 8bit

 

 

And this is the header that goes to the Inbox folder, you can see the validation of the “DKIM-Signature” and also the value for the “Return-PAth” variable as well as the SPF record:

 

                                                                                                                                                                                                                                                            

Delivered-To:

Received: by 10.103.122.130 with SMTP id v124csp1814641vsc;

        Tue, 26 Jul 2016 12:27:20 -0700 (PDT)

X-Received: by 10.66.138.74 with SMTP id qo10mr42243733pab.135.1469561240400;

        Tue, 26 Jul 2016 12:27:20 -0700 (PDT)

Return-Path: <user@sogo.server>

Received: from my.sogo.server (my.sogo.server. [A.B.C.D])

        by mx.google.com with ESMTPS id x184si1983910pfb.210.2016.07.26.12.27.19

        for < >

        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);

        Tue, 26 Jul 2016 12:27:20 -0700 (PDT)

Received-SPF: pass (google.com: domain of user@sogo.server designates A.B.C.D as permitted sender) client-ip=A.B.C.D;

Authentication-Results: mx.google.com;

       dkim=pass header.i=@novanet.network;

       spf=pass (google.com: domain of user@sogo.server designates A.B.C.D as permitted sender) smtp.mailfrom=user@sogo.server;

       dmarc=pass (p=QUARANTINE dis=NONE) header.from=novanet.network

Received: from my.sogo.server (my.sogo.server [127.0.0.1])

  by my.sogo.server (Postfix) with ESMTP id BB94B10311B

  for < >; Tue, 26 Jul 2016 14:27:18 -0500 (ECT)

Authentication-Results: my.sogo.server (amavisd-new);

  dkim=pass (2048-bit key) reason="pass (just generated, assumed good)"

  header.d=novanet.network

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=novanet.network;

  h=content-language:x-mailer:content-type:content-type

  :mime-version:message-id:date:date:subject:subject:to:from:from;

  s=dkim; t=1469561237; x=1470425238; bh=ED/WteS3/nRYBKhF/D5WVXdV

  f8s43g0e6Jth4G/+mVo=; b=YwmZzxCGtp5MzQAs5b1R31Jp9XJcnox+7fgxHag+

aHq+QHPfrZcHGNgI57B99hhPAoUeqSgPRqaRrkg62IjzSb39gUCaRFS9SlsC9be1

7ISi7xkvkH0vTUQd+87ff9Yv51VOfA0ItGiD1cPWOVQc5ut5StOByR5dacYUJCWr

ZCAYRqmN74rPBknV4Dspx8BI/c7+nYok+BLCfFcPQtl9+HKepJ4uhchOqpggeq9b

Aj68hmRu2B4RqmSP7y68NLlDWzAoEUpaAyq0C77rY/PsHvqLJtvDizgcyvj8CSIW

  GG4Digz+wocY4gNNOqKLLWd2JGE8B2ih6lfGcnRXqRF0Gg==

X-Virus-Scanned: Debian amavisd-new at my.sogo.server

Received: from my.sogo.server ([127.0.0.1])

  by my.sogo.server (my.sogo.server [127.0.0.1]) (amavisd-new, port 10024)

  with ESMTP id j0UwAOXzILj4 for < >;

  Tue, 26 Jul 2016 14:27:17 -0500 (ECT)

Received: from my.sogo.server (my.sogo.server [127.0.0.1])

  by my.sogo.server (Postfix) with ESMTP id 8E28F103158

  for < >; Tue, 26 Jul 2016 14:27:17 -0500 (ECT)

Return-Receipt-To: "Fernando Salas" <user@sogo.server>

From: Fernando Salas =?utf-8?q?=5BNovanet=5D?= <user@sogo.server>

To: < >

Subject: foto

Date: Tue, 26 Jul 2016 14:26:20 -0500

Message-ID: <!&!AAAAAAAAAAAuAAAAAAAAAGf8K0FYp9pBgunSccRfcqcBAMO2jhD3dRHOtM0AqgC7tuYAAAAAAA4AABAAAACtaG8uNwV1SqmRhDeGY2lFAQAAAAA=@novanet.network>

MIME-Version: 1.0

Content-Type: multipart/mixed;

  boundary="----=_NextPart_000_0186_01D1E749.AE13D820"

X-Mailer: Microsoft Outlook 16.0

thread-index: AdHnc5VXa0ovfY4ARsScPGVzPZPhnQ==

Content-Language: es-ec

Disposition-Notification-To: "Fernando Salas" <user@sogo.server>

 

This is a multipart message in MIME format.

 

------=_NextPart_000_0186_01D1E749.AE13D820

Content-Type: multipart/related;

  boundary="----=_NextPart_001_0187_01D1E749.AE13D820"

 

 

------=_NextPart_001_0187_01D1E749.AE13D820

Content-Type: multipart/alternative;

  boundary="----=_NextPart_002_0188_01D1E749.AE13D820"

 

 

------=_NextPart_002_0188_01D1E749.AE13D820

Content-Type: text/plain;

  charset="us-ascii"

Content-Transfer-Encoding: 7bit

 

Kind regards,

 

Fernando Salas

 

 

De: [mailto: ] En nombre de Chris Coleman ( )
Enviado el: martes, 26 de julio de 2016 15:57
Para:
Asunto: Re: [SOGo] vacation message goes to spam

 

Fernando,

To help your Vacation message to be delivered into the user's Inbox, you should add the following to your domain's DNS: 1) an SPF record, 2) DKIM records, and 3) a Reverse-PTR record.

SOGo should also add "Precedence: Bulk" to the message header for Notification messages, so that Gmail will not sort the message into "Junk".

Reference: RFC3834, https://tools.ietf.org/search/rfc3834

 

 

On 7/26/2016 3:46 PM, Fernando Salas [Novanet] (fsalas@novanet.network) wrote:

Dear Friends,

 

After enabling the vacation message on the webmail and testing it, I receive on Gmail the auto response on the "spam folder".

This is the header of the auto response that I get in Gmail:

 

Delivered-To:

Received: by 10.103.122.141 with SMTP id v135csp893887vsc;

        Wed, 13 Jul 2016 04:17:28 -0700 (PDT)

X-Received: by 10.66.117.105 with SMTP id kd9mr12589484pab.40.1468408648637;

        Wed, 13 Jul 2016 04:17:28 -0700 (PDT)

Return-Path: <>

Received: from my.sogo.server (my.sogo.server. [A.B.C.D])

        by mx.google.com with ESMTPS id o6si4948924pac.39.2016.07.13.04.17.28

        for < >

        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);

        Wed, 13 Jul 2016 04:17:28 -0700 (PDT)

 

As you can see the variable "Return-Path" is empty and I think this is the reason why Gmail send it to spam folder.

 

This is the header of a mail that goes normally to the "Inbox Folder" in Gmail:

 

Delivered-To:

Received: by 10.103.122.130 with SMTP id v124csp1814641vsc;

        Tue, 26 Jul 2016 12:27:20 -0700 (PDT)

X-Received: by 10.66.138.74 with SMTP id qo10mr42243733pab.135.1469561240400;

        Tue, 26 Jul 2016 12:27:20 -0700 (PDT)

Return-Path: <user@sogo.server>

Received: from my.sogo.server (my.sogo.server. [A.B.C.D])

        by mx.google.com with ESMTPS id x184si1983910pfb.210.2016.07.26.12.27.19

        for < >

        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);

        Tue, 26 Jul 2016 12:27:20 -0700 (PDT)

 

I’m running SOgo 3.1.3 and iRedMail 0.9.4 with MySQL

 

Any idea about this issue?

 

Kind regards,

 

Fernando Salas



-- 
Chris Coleman
Espace LLC
860-576-9526

--

https://inverse.ca/sogo/lists




Archive powered by MHonArc 2.6.18.

Top of page