Emails flagged as spam

Posted July 11, 2013 7.7k views
Hi, i setup iRemMail in my droplet but the test emails oi sent are flagged as spam. I followed the tutorial. This is the email body: (start email body) Delivered-To: Received: by with SMTP id q10csp97905ldu; Thu, 11 Jul 2013 11:25:49 -0700 (PDT) X-Received: by with SMTP id v4mr38774330pag.97.1373567148768; Thu, 11 Jul 2013 11:25:48 -0700 (PDT) Return-Path: Received: from ( []) by with ESMTP id tp2si23663901pab.233.2013. for ; Thu, 11 Jul 2013 11:25:48 -0700 (PDT) Received-SPF: pass ( domain of designates as permitted sender) client-ip=; Authentication-Results:; spf=pass ( domain of designates as permitted sender); dkim=pass Received: from localhost (localhost []) by (Postfix) with ESMTP id 6BD74121CBB for ; Thu, 11 Jul 2013 18:25:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;; h=user-agent:message-id:subject:subject:to:from:from:date:date :content-transfer-encoding:content-type:content-type :mime-version; s=dkim; t=1373567138; x=1374431138; bh=vmiciYd+zN r8JfVGT0Sq/GP3K0NmMdo3eEfC+L0D8LE=; b=C30jZHUbgH4snXS7IxKFV2XYpk /03qQuOEnLr2Upz7HjwlyzPhSziBfK3KYGOgWi7vvCT/QMPgoBW4HcCovTGo52RY WCNwktxxobF/UOUX1VUG3MtaQbR7zHHhbPmBpzBuRK4PuUgrJiK7luKy6pyHJdW4 ItvJPUZhteAlMtoNs= X-Virus-Scanned: amavisd-new at Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 39pEwrvY3ulI for ; Thu, 11 Jul 2013 18:25:38 +0000 (UTC) Received: from (localhost []) by (Postfix) with ESMTPA id 8B86E121CB4 for ; Thu, 11 Jul 2013 18:25:36 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 11 Jul 2013 15:25:35 -0300 From: To: Subject: Bom dia Message-ID: X-Sender: User-Agent: RoundCube WebMail Bom dia, estou testando o email, att (end email body) What am i doing wrong?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
8 answers
Did you create SPF records?
I set up Mandrill and it works absolutely fine with gmail spam filter. That's not a direct answer to your problem but an another way to achieve the goal.
Yes, it's TXT @ "v=spf1 ip4: -all"

TXT @ "v=spf1 mx a ~all"
Hi Tobia,

Did you manage to fix this? I am having a very similar problem.


by Pablo Carranza
A carefully tailored SPF record will reduce the likelihood of your domain name getting fraudulently spoofed and keep your messages from getting flagged as spam before they reach your recipients.
I am still having the same problem! SPF: "v=spf1 a mx ip4: ?all"

Google says signature is ok, dkim is passed and SPF is passed... what else do I need?

any special way to create MX records?
50% of digital ocean's AMS datacenter's IP's are blacklisted. That's why your email are going in to a spam folder in gmail.