This question already has an answer here:
I'm in troubles with postfix, hostname and google spam.
I have a virtual server, that hosts a few domains. Each domain has mail, lets, say firstname.lastname@example.org. One of those domains, lets say special.com, has MX record with mail.special.com and roundcube is set up to use this mail.special.com smtp.
When I send mail from each mailbox (via roundcube) it's ok, all the mail will be delivered, but google marks them as spam and put them into Spam folder.
I've tried to look aroud a bit and I've found that it may be caused by wrong /etc/hosts or machine hostname or myhostname in postfix main.cf
Info I can provide:
Current machine hostname
Current myhostname in main.cf
Part from recieved mail that is in spam folder (interesting)
Received-SPF: neutral (google.com: SERVER_IP_ADDRESS is neither permitted nor denied by best guess record for domain of email@example.com) client-ip=SERVER_IP_ADDRESS; Authentication-Results: mx.google.com; spf=neutral (google.com: SERVER_IP_ADDRESS is neither permitted nor denied by best guess record for domain of firstname.lastname@example.org) email@example.com Received: from vps (vps [SERVER_IP_ADDRESS]) by vps (Postfix) with ESMTP id 26E2D122371C for <firstname.lastname@example.org>; Wed, 10 Jul 2013 17:00:57 +0200 (CEST)
thatdomain.com (not special.com) SPF record value
"v=spf1 include:_spf.google.com ~all"
I think there is something really wrong, but I dont know what is that.
Can u guys please help me out?
Thanks in advance.