I am using postfix to send email. I have mysql set up to manage domains, accounts, and aliases. I have 3 domains set up. One domain is the primary domain and when sending emails to gmail accounts everything works fine. The ssl certificate is only for the primary domain.
When I use any of the virtual domains to send email to a gmail account they are marked as spam. The reason gmail gives is the email is unencrypted. It recognizes that the mail server that sent the mail is the primary server. Postfix is configured to only use tls.
Why does the mail from the virtual domains not get sent as encrypted?
I can provide any additional information if it will help.
Here is a header from an email, DMARC and SPF are configured.
Delivered-To: XXXXX@gmail.com Received: by 10.79.120.143 with SMTP id d15csp334618ivg; Wed, 13 Apr 2016 18:56:09 -0700 (PDT) X-Received: by 10.55.80.131 with SMTP id e125mr15507566qkb.62.1460598969001; Wed, 13 Apr 2016 18:56:09 -0700 (PDT) Return-Path: <XXXXX@virtual.me> Received: from primary.com (primary.com. [45.##.##.##]) by mx.google.com with ESMTP id 123si7618120qkk.31.2016.04.13.18.56.08 for <XXXXX@gmail.com>; Wed, 13 Apr 2016 18:56:08 -0700 (PDT) Received-SPF: neutral (google.com: 45.##.##.## is neither permitted nor denied by best guess record for domain of XXXXX@virtual.me) client-ip=45.##.##.##; Authentication-Results: mx.google.com; spf=neutral (google.com: 45.##.##.## is neither permitted nor denied by best guess record for domain of XXXXX@virtual.me) smtp.mailfrom=XXXXX@virtual.me Received: from primary.com (localhost [127.0.0.1]) by primary.com (Postfix) with ESMTPSA id 72B42140776 for <XXXXX@gmail.com>; Wed, 13 Apr 2016 21:56:07 -0400 (EDT) Mime-Version: 1.0 Date: Thu, 14 Apr 2016 01:56:07 +0000 Content-Type: multipart/alternative; boundary="----=_Part_822_880614403.1460598967" Message-ID: <firstname.lastname@example.org> X-Mailer: AfterLogic webmail client From: "XXXXXX" <XXXXXx@virtual.me> Subject: test To: XXXXX@gmail.com X-Priority: 3 (Normal)
smtp primary.com Reverse DNS is not a valid Hostname More Info dns virtual.me SOA Serial Number Format is Invalid More Info dns virtual.me SOA Expire Value out of recommended range More Info