Gmail silently discarding incoming emails

Discussion in 'Server Operation' started by Ovidiu, May 21, 2014.

  1. Ovidiu

    Ovidiu Active Member

    Hi there,

    I just realized that Gmail has been silently discarding several of my root emails over the past few days mostly containing stats and log checks and the likes coming from my server.

    Basically in my /etc/aliases file most of the system accounts redirect to root and root redirects to my Google Apps email address (ovidiu at pacura dot ru)

    Here is an excerpt from my log file:

    (1:539)# cat /var/log/mail.log | grep E3E844240CE
    May 21 00:12:26 h2118175 postfix/cleanup[458751]: E3E844240CE: message-id=<[email protected]>
    May 21 00:12:27 h2118175 postfix/local[458773]: CF3CB4240A3: to=<[email protected]>, relay=local, delay=0.15, delays=0.08/0/0/0.07, dsn=2.0.0, status=sent (forwarded as E3E844240CE)
    May 21 00:12:27 h2118175 postfix/qmgr[351027]: E3E844240CE: from=<[email protected]>, size=15088, nrcpt=1 (queue active)
    May 21 00:12:27 h2118175 postfix/smtp[458775]: E3E844240CE: to=<[email protected]>, orig_to=<[email protected]>,[]:25, delay=0.85, delays=0.07/0/0.16/0.61, dsn=5.7.1, status=bounced (host[] said: 550-5.7.1 [ 12] Our system has detected that this message is 550-5.7.1 likely unsolicited mail. To reduce the amount of spam sent to Gmail, 550-5.7.1 this message has been blocked. Please visit 550-5.7.1 for 550 5.7.1 more information. cq10si18502940lad.77 - gsmtp (in reply to end of DATA command))
    May 21 00:12:28 h2118175 postfix/bounce[458908]: E3E844240CE: sender non-delivery notification: EAC784240AF
    May 21 00:12:28 h2118175 postfix/qmgr[351027]: E3E844240CE: removed
    And if you visit the link they give:

    It says: We recommend that you do not change the envelope sender when forwarding email to Gmail.

    What is happening here?
    Any help would be much appreciated.

    I thought I was using postsrsd rewriting sender envelopes to fix exactly this problem?
  2. Ovidiu

    Ovidiu Active Member

    Figured out postsrsd will not kick in since the mail is coming from my server so no rewriting needed.

    Very weird is that Gmail is only blocking some of these emails due to their content, i.e. the pflogsumm email gets blocked because it includes the full mail stats including bounced and rejected domains etc while my backup completion notification gets through but my rkhunter report gets blocked.

    Anyone else handling these things differently?

    Do you think it is due to the fact that Strato assigns all their servers generic hostname like: ?

    If I check the reputation of on senderbase its good: but if you scroll down you see a lot of the server have a bad reputation...
    Mine is good but again, it might get tainted by the neighbourhood?

Share This Page