iRedMail 0.9.0 - Cannot recieve and send mails.

April 5, 2015 2.1k views
DNS Email Messaging Configuration Management

I have installed iRedMail without problems. I can't send and recieve mails.

My DNS configuration is:

When trying to send a mail from gmail:

Delivery to the following recipient failed permanently:

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain by [2607:f8b0:4003:c08::1a].

The error that the other server returned was:
550-5.1.1 The email account that you tried to reach does not exist. Please try
550-5.1.1 double-checking the recipient's email address for typos or
550-5.1.1 unnecessary spaces. Learn more at
550 5.1.1 b6si1862986oby.16 - gsmtp

----- Original message -----

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113;
MIME-Version: 1.0
X-Received: by with SMTP id lx8mr14151934oeb.15.1428253389915;
Sun, 05 Apr 2015 10:03:09 -0700 (PDT)
Received: by with HTTP; Sun, 5 Apr 2015 10:03:09 -0700 (PDT)
Date: Sun, 5 Apr 2015 19:03:09 +0200
Message-ID: <>

When trying to send mail to a different server:

Diagnostic-Code: X-Postfix; connect to[]:10024: Connection

1 comment
  • Maybe there is a problem with my /etc/hosts file?

    root@main:~# cat /etc/hosts   localhost.localdomain   localhost main main
3 Answers

It looks like you have Gmail's MX records on your domain name. Do you have a Google Apps account? If not, you should remove the MX records and keep only the ones that point to your iRedMail droplet.

  • It didn't solved my problem. I made changes in my DNS records and now when im sending an email from gmail to my server it shows:

    Final-Recipient: rfc822;
    Original-Recipient: rfc822;
    Action: failed
    Status: 4.4.1
    Diagnostic-Code: X-Postfix; connect to[]:10024: Connection
Have another answer? Share your knowledge.