iRedMail 0.9.0 - Cannot recieve and send mails.

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

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

My DNS configuration is:
http://viewdns.info/dnsreport/?domain=wameo.pl

When trying to send a mail from gmail:

Delivery to the following recipient failed permanently:

 kontakt@wameo.pl

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain wameo.pl by aspmx.l.google.com. [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 http://support.google.com/mail/bin/answer.py?answer=6596 b6si1862986oby.16 - gsmtp

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

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; 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 10.60.123.40 with SMTP id lx8mr14151934oeb.15.1428253389915;
Sun, 05 Apr 2015 10:03:09 -0700 (PDT)
Received: by 10.202.78.6 with HTTP; Sun, 5 Apr 2015 10:03:09 -0700 (PDT)
Date: Sun, 5 Apr 2015 19:03:09 +0200
Message-ID: <CAPqDFauUdtNpOK7autBzO8dAbqxdiJuQmvhZ0GVPEaozvRYp=w@mail.gmail.com>

When trying to send mail to a different server:

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

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

    root@main:~# cat /etc/hosts
    127.0.0.1   localhost.localdomain   localhost
    127.0.1.1   main.wameo.pl main
    178.62.255.146  main.wameo.pl 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; kontakt@wameo.pl
    Original-Recipient: rfc822;kontakt@wameo.pl
    Action: failed
    Status: 4.4.1
    Diagnostic-Code: X-Postfix; connect to 127.0.0.1[127.0.0.1]:10024: Connection
        refused
    
Have another answer? Share your knowledge.