Emails redirected to @gmail.com getting marked as spam.

Issue #82 wontfix
darklow created an issue

I am using aliases/redirects for some group emails. However users at gmail receive these group emails marked as SPAM in spam folder.

Some facts:

  • DKIM records are set correctly.
  • Mailserver is not in any blacklist db.
  • If I send regular email from/through poste.io mailserver directly to same [at]gmail recipients, then they receive emails just fine in inbox, so the problem is specifically if I send to aliases.
  • It was working fine for a while, but now for a approximately month it started being marked as spam, not sure if it was related to any poste.io updates or any updates at Gmail.

Here is the mail source from gmail, the one marked as spam: http://pastie.org/private/fclpo98ag5v0osu30ynf8a

I see following common pattern in headers of all messages being marked as spam:

Received-SPF: softfail (google.com: domain of transitioning [FROM_EMAIL_HERE] does not designate 144.76.18.119 as permitted sender) client-ip=144.76.18.119;
Authentication-Results: mx.google.com;
       spf=softfail (google.com: domain of transitioning [FROM_EMAIL_HERE] does not designate 144.76.18.119 as permitted sender) smtp.mailfrom=[FROM_EMAIL_HERE]
Received: (qmail 21698 invoked by uid 8); 15 May 2016 10:43:41 -0000

Is there anything I can do to avoid aliases to gmail being marked as spam? Thank you.

Comments (6)

  1. SH repo owner

    Forwarding to 3rd party is tricky. SPF is obviously failing and sender is not using DKIM at all so gmail filter can't really tell if email is fake or not. I am afraid there is not much to do...

  2. darklow reporter

    @analogic Thank you for response. I googled a lot before asked and was afraid of there is not much that can be done. The only solution that could work I found is SRS (http://www.openspf.org/SRS), unfortunately I am not expert enough to install and set up it by myself.

    Are you familiar with SRS and is it something doable for poste.io setup? Theoretically?

    Few references: http://serverfault.com/questions/82234/srs-sender-rewriting-when-forwarding-mail-through-postfix https://www.mind-it.info/2014/02/22/forward-postfix-spf-srs/

  3. darklow reporter

    And you mentioned DKIM. I tried sending it from poste.io emails where DKIM records are set up correctly in mailserver and DNS, but gmail marked them as spam too.

  4. Log in to comment