1

Topic: iredmail SMTP spam problem

hello,
I make iredmail server.
when i send mails from roundcube to gmail, all emails send indox, but when I connect my other server to iredmail SMTP all emails send in spam

iredmail server IP: 65.181.123.33
Second Server IP: 65.181.124.233 (which user iredmail SMTP to send mail)

here is original mail header:



Delivered-To: g.nadiradze0094@gmail.com
Received: by 10.216.166.134 with SMTP id g6csp244269wel;
        Thu, 6 Mar 2014 00:46:01 -0800 (PST)
X-Received: by 10.60.58.72 with SMTP id o8mr4493199oeq.23.1394095561090;
        Thu, 06 Mar 2014 00:46:01 -0800 (PST)
Return-Path: <mailer@zegrup2.ml>
Received: from server.zegrup2.ml ([65.181.123.33])
        by mx.google.com with ESMTPS id tk7si4709268obc.146.2014.03.06.00.46.00
        for <g.nadiradze0094@gmail.com>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Thu, 06 Mar 2014 00:46:01 -0800 (PST)
Received-SPF: pass (google.com: domain of mailer@zegrup2.ml designates 65.181.123.33 as permitted sender) client-ip=65.181.123.33;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of mailer@zegrup2.ml designates 65.181.123.33 as permitted sender) smtp.mail=mailer@zegrup2.ml
Received: from localhost (localhost.localdomain [127.0.0.1])
    by server.zegrup2.ml (Postfix) with ESMTP id 1AC641362E0
    for <g.nadiradze0094@gmail.com>; Thu,  6 Mar 2014 03:46:00 -0500 (EST)
X-Virus-Scanned: amavisd-new at server.zegrup2.ml
Received: from server.zegrup2.ml ([127.0.0.1])
    by localhost (server.zegrup2.ml [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id rRL9ML3UPTnk for <g.nadiradze0094@gmail.com>;
    Thu,  6 Mar 2014 03:45:59 -0500 (EST)
Received: from [127.0.0.1] (unknown [65.181.124.233])
    by server.zegrup2.ml (Postfix) with ESMTPSA id 2C1DA1362DD
    for <g.nadiradze0094@gmail.com>; Thu,  6 Mar 2014 03:45:59 -0500 (EST)
Sender: Giorgi Nadiradze <mailer@zegrup2.ml>
Message-ID: <d4d9d0ddd34431df275e3f4b1e7206d3@swift.generated>
Date: Thu, 06 Mar 2014 08:46:02 +0000
Subject: Hello
From: Giorgi Nadiradze <mailer@zegrup2.ml>
Reply-To: Giorgi Nadiradze <g.nadiradze0094@gmail.com>
To: "g.nadiradze0094@gmail.com" <g.nadiradze0094@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="_=_swift_v4_1394095562_219955c4987bd03e8ce9d37210245a29_=_"
X-Sender: mailer@zegrup2.ml
X-MW-SUBSCRIBER-UID: sz323h7tj98d0
X-Receiver: g.nadiradze0094@gmail.com
X-MW-CAMPAIGN-UID: fo980arg7q046




==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Centos 6
- Related log if you're reporting an issue:
====

----

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

2

Re: iredmail SMTP spam problem

Because your secondary MX records is not resolved globally pointing to your second live IP.

from my server your MC records does not show second IP it only shows:

[root@mail ~]# dig zegrup2.ml MX

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1 <<>> zegrup2.ml MX
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38490
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;zegrup2.ml.                    IN      MX

;; ANSWER SECTION:
zegrup2.ml.             3550    IN      MX      10 mail.zegrup2.ml.

;; AUTHORITY SECTION:
zegrup2.ml.             243     IN      NS      ns1.mysolarvps.com.
zegrup2.ml.             243     IN      NS      ns2.mysolarvps.com.

;; ADDITIONAL SECTION:
mail.zegrup2.ml.        3565    IN      A       65.181.123.33
ns1.mysolarvps.com.     172743  IN      A       208.116.5.210
ns2.mysolarvps.com.     172743  IN      A       173.199.143.151

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Mar  6 17:24:15 2014
;; MSG SIZE  rcvd: 147

Modify your DNS records and assign second backup MX record to sort out spamming issue.

3

Re: iredmail SMTP spam problem

thanks for help, but what record I add in MX record?
I am sorry. I don't know DNS record well.

4

Re: iredmail SMTP spam problem

plz help me

5

Re: iredmail SMTP spam problem

How do you config your secondary server (65.181.124.233 ) use iRedMail server (65.181.123.33) to send email?

6

Re: iredmail SMTP spam problem

You need to add second MX record as stated below in your domain panel where you added your primary MX record:

Host A record - mail2.zegrup2.ml --> IP 65.181.124.233

MX Record - Priority 20 --> mail2.zegrup.2.ml