sentora / sentora-core

Sentora is a web hosting control panel written in PHP for *NIX
GNU General Public License v3.0
648 stars 446 forks source link

Welcome email to gmail spam #130

Closed agencia closed 9 years ago

agencia commented 9 years ago

Hi,

I have installed sentora on my vps and everything is great, I just have one problem, when sending the welcome email it gets to spam on gmail, these are the headers

Delivered-To: xxx@gmail.com
Received: by 10.194.205.133 with SMTP id lg5csp447424wjc;
        Sat, 21 Feb 2015 18:48:38 -0800 (PST)
X-Received: by 10.69.25.9 with SMTP id im9mr8503536pbd.2.1424573317283;
        Sat, 21 Feb 2015 18:48:37 -0800 (PST)
Return-Path: <apache@panel.dinfra.mx>
Received: from panel.dinfra.mx (ec2-52-10-201-128.us-west-2.compute.amazonaws.com. [52.10.201.128])
        by mx.google.com with ESMTP id j6si5476792pdo.204.2015.02.21.18.48.36
        for <xxx@gmail.com>;
        Sat, 21 Feb 2015 18:48:37 -0800 (PST)
Received-SPF: none (google.com: apache@panel.dinfra.mx does not designate permitted sender hosts) client-ip=52.10.201.128;
Authentication-Results: mx.google.com;
       spf=none (google.com: apache@panel.dinfra.mx does not designate permitted sender hosts) smtp.mail=apache@panel.dinfra.mx
Received: by panel.dinfra.mx (Postfix, from userid 48)
    id 01AD5A1820E; Sun, 22 Feb 2015 02:48:35 +0000 (UTC)
To: xxx@gmail.com
Subject: Bienvenido a Dinfra
X-PHP-Originating-Script: 0:class.phpmailer.php
Date: Sat, 21 Feb 2015 20:48:35 -0600
From: Equipo Dinfra <info@dinfra.mx>
Message-ID: <5b0da5eb045119fa41217cb977366ad9@panel.dinfra.mx>
X-Priority: 3
X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

All other email sent from my server through roundcube works ok, what calls my attention is

apache@panel.dinfra.mx does not designate permitted sender hosts 

I have created info@dinfra.mx mailbox and i want to use it for the welcome message instead of apache@panel.dinfra.mx

Regards

allebb commented 9 years ago

Hhmmm that's strange - Could you you just confirm that you are using the standard PHP mail() setting and have set "info@dinfra.mx" in the Sentora configuration module? as opposed to say trying to use SMTP method at localhost?

Thanks, Bobby

agencia commented 9 years ago

Hi Bobby,

That was it, changing to SMTP method and changing the default welcome message got me to inbox

Regards

denysvitali commented 9 years ago

Check the spf records and the DKIM for the mail

denysvitali commented 9 years ago

Sorry, just saw now that was closed!