Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - caraboy

Pages: [1]
1
Installation and Upgrades / "Received: from localhost" headers
« on: October 06, 2011, 11:03:21 pm »
Hello,

First of all, I like Zentyal, been using it from Ebox.  :)

I am running a production server, on Ubuntu 10.04.3 LTS, with Zentyal Core version 2.0.23.

I activated mail filter, for antivirus and spam. I am behind a router, with internal IP 192.168.0.200. Configured hostname, mailname, FQDN, etc.

My email gets into spam, at least when sending mail to new gmail contacts, or yahoo. I looked at the header I receive on gmail, and it looks like this (replaced my real external IP and domain):

Code: [Select]
Return-Path: <alexandru@mydomain.ro>
Received: from mail.mydomain.ro (mail.mydomain.ro. [86.122.xx.xxx])
        by mx.google.com with ESMTP id n1si2479652faa.119.2011.10.06.08.00.00;
        Thu, 06 Oct 2011 08:00:00 -0700 (PDT)
Received-SPF: pass (google.com: best guess record for domain of alexandru@mydomain.ro designates 86.122.xx.xxx as permitted sender) client-ip=86.122.xx.xxx;
Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of alexandru@mydomain.ro designates 86.122.xx.xxx as permitted sender) smtp.mail=alexandru@mydomain.ro
Received: from localhost (localhost [127.0.0.1])
by mail.mydomain.ro (Postfix) with ESMTP id 03BD5101761
for <caraboy@gmail.com>; Thu,  6 Oct 2011 18:00:00 +0300 (EEST)
X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at mydomain.ro
Received: from mail.mydomain.ro ([127.0.0.1])
by localhost (mail.mydomain.ro [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id DStnRertlkwb for <my_test_username@gmail.com>;
Thu,  6 Oct 2011 17:59:59 +0300 (EEST)

So it looks like when activating mail filter, amavisd-new ads localhost, and 127.0.0.1 local IP to outgoing headers, thus making gmail add it to spam. I checked for blacklists, I am not listed.

Is it any way to disable those headers, on outgoing mail? It is strange no one reported this before, could not find it in a search.

Pages: [1]