iRedMail 0.9.0 - Cannot recieve and send mails.

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; h=mime-version:date:message-id:subject:from:to:content-type; bh=DnWMO04WreXBbq33fS5AGhpMN2wc6PD76jYIv1I8HG8=; b=sCsPUAhurZxUXs8+MIsU1vM5Gk8b2qF096YWAjXFcKh+79wCBfTJxm3cokrZ7ark9c TomMN33+TUW12SHFf9rvlRKgHbJzeHT5RzoN7k+ZZkD7oSe6TrZ5mzAhitX4P/nZwkzD puNjdPCSdNksOIqdZeb5IdHPW1rmUneLDoiEcePvW90RdXR6110BJJWXXqh+A0CHayyd 2CabSAADF/K+o2DpsQXVcizO3wlLDpuWbY59JRaUw99BLHOazaQ09UA7Je9rf+wS34jp PQwkABMWXL3YGWG/PaXR7ewW0CC3kiJUT6BmAssamTuHPzPEDxbFP2ik3UmTZlpprJkZ wAxQ== 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 refused


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

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

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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.

Problem solved.

This comment has been deleted