1

Topic: Fix Received: from x.x.x.x (localhost [127.0.0.1]) spam score problem

Hello, when i'm send mail from roundcube i get this header result:

Received: from mailserver.xxxxxx.it ([127.0.0.1])
    by localhost (mailserver.xxxxxxxx.it [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id C9YSRjGSjHbX for <xxxxxxx@gmail.com>;
    Thu, 22 Dec 2011 12:27:34 +0100 (CET)
Received: from x.x.x.x (localhost [127.0.0.1])
    by mailserver.xxxxxx.it (Postfix) with ESMTPA id 25067362BE
    for <xxxxxxx@gmail.com>; Thu, 22 Dec 2011 12:27:34 +0100 (CET)

The problem is  RCVD_NUMERIC_HELO spam score, this is test from a test spamassasin server:

1.2 RCVD_NUMERIC_HELO      Received: contains an IP address used for HELO
-2.2 RP_MATCHES_RCVD        Envelope sender domain matches handover relay domain
-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                            [score: 0.0004]
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
                            domain
0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature

How to remove the 127.0.0.1 ip and set the server ip?
Best regards.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Fix Received: from x.x.x.x (localhost [127.0.0.1]) spam score problem

You can change HELO identity in Roundcube config file "roundcubemail-x.y.z/config/main.inc.php":

$rcmail_config['smtp_helo_host'] = '';

Setting a proper HELO identity then restarting Apache shoud be ok for you.