Question

Only send e-mail with iRedMail on Ubuntu

  • Posted April 4, 2013

I use this tutorial https://www.digitalocean.com/community/articles/how-to-install-iredmail-on-ubuntu-12-10-x64 , but I can only send e-mail and I receive only local e-mail. I do not how debug this problem. Can you help me?

Subscribe
Share

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.

Yes, it should point to your droplet’s hostname/PTR record.

@ Viktor, <br>Thanks for reply and clear instructions. Question remaining for me is: <br>does this mx record: “mail.yourdomain.com” need to be the same as the FQDN of the actual server (or VPS in this case)? <br>Mine says: server.yourdomain.com whereas mx and other records point to: mail.yourdomain.com, all on same IP. Would this cause redmail not receiving mai?? <br>Thanks for answers!

I’m posting this just because someone might read this in the future. <br>I was facing the same problem I only could send email but I couldn’t receive emails. <br>The soloution is very simple! Follow this steps: <br>1. Log in to your Digital Ocean account. <br>2. Frol the list on the left side choose DNS. <br>3. Navigate on your preffered domain name and click it. <br>4. Push Add Record button. <br>5. Select an MX. <br>6. Where it says enter hostname wright mail.yourdomain.com. (don’t forget the dot in the end!) <br>7. Where it says enter priority type 10 <br> <br>That’s it!! wait for few minutes and your email is working!!!

I have same error as raiyu. My dns settings see on this screenshot: http://d.pr/i/wvIi <br>Sorry, I don’t know much about mx records and dns settings, so where I do mistake

but I can only send e-mail and I receive only local e-mail <br> <br>This may be greylisting. You can check /var/log/mail.log to see if the email actually arrived. If it is in the log, just give sometime to pass the greylisting.

<br>P.S. it’s better to post iRedMail related issues/questions in iRedMail online support forum: http://www.iredmail.org/forum/

<br>Hi Peter, <br> <br>I’m author of iRedMail project, Zhang Huangbin. <br> <br>The error message is “DNS Error: Domain name not found”, that means the mail server cannot find required DNS records of your domain. Usually, mail server will use MX record(s) to connect to your mail server, if no MX record available, A record is used instead. <br> <br>Please check your DNS records first, and usually ISP will cache DNS records for several hours, you may need to wait for some hours to get modified DNS records active.

Hello there. I am too having the same issue. Now I know my DNS setting are as stated in the tutorial. You can do a whois on oddsodz.com to see. <br> <br>So I am at a lost. I can send mail to the outside world. But I can not receive any mails from the outside world. Here is a bounded mail message. <br> <br>-----Message will be retried for 2 more day(s) <br> <br>Technical details of temporary failure: <br>DNS Error: Domain name not found <br> <br>----- Original message ----- <br> <br>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; <br> d=gmail.com; s=20120113; <br> h=x-received:message-id:from:to:subject:date:mime-version <br> :content-type:x-priority:x-msmail-priority:importance:x-mailer <br> :x-mimeole:x-antivirus:x-antivirus-status; <br> bh=BgS1mutoywoNJcgZTtEsi9VDuO1lxW7juUM9djGhAPw=; <br> b=pV6PaZyYg9tCGXtDv3xheEzCMS2iH0rfzYmEYHgiJJ0lCnQP2RvpKfyUJMV1ieF/WT <br> PYlEWPSgzhd5zIyRkFOVRZxk1bLPVqJ6QAQP/dpaxPjbjuJqSH1qFi7X+/Oyt5UFvE5t <br> ClVIwQDt6CNgLsD4isuhXaThp8P47LgClRK3X9crM5hGU+8BgpVGndRve5UOe3uywrUU <br> j/lbR7nGmPvNCL2oViLs4B5/FzR0m0/Do0mI2TPMfFpWqmQ6kDO9Np2z4kStnRnFrfak <br> jP9oIWPWf9xq3Pr7ue+vppOeBYzQlwH4PWUTWNvezXOwJNjwfHPtQ2gFnb8DS5pi+drK <br> cl5g== <br>X-Received: by 10.194.122.7 with SMTP id lo7mr20535913wjb.48.1366307976561; <br> Thu, 18 Apr 2013 10:59:36 -0700 (PDT) <br>Return-Path: oddsodz@gmail.com <br>Received: from MySuperAMD (cpc9-kemp7-2-0-cust786.9-2.cable.virginmedia.com. [82.29.139.19]) <br> by mx.google.com with ESMTPS id du2sm32864956wib.0.2013.04.18.10.59.34 <br> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); <br> Thu, 18 Apr 2013 10:59:35 -0700 (PDT) <br>Message-ID: E80255211C5B4D7DB2682900EF38A02F@MySuperAMD <br>From: “Peter Whyte G-Mail” oddsodz@gmail.com <br>To: “Peter Whyte” peter@oddsodz.com <br>Subject: you gt me? <br>Date: Thu, 18 Apr 2013 18:59:32 +0100 <br>MIME-Version: 1.0 <br>Content-Type: multipart/alternative; <br> boundary=“----=_NextPart_000_0003_01CE3C66.DC4C1EF0” <br>X-Priority: 3 <br>X-MSMail-Priority: Normal <br>Importance: Normal <br>X-Mailer: Microsoft Windows Live Mail 15.4.3555.308 <br>X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 <br>X-Antivirus: avast! (VPS 130418-0, 18/04/2013), Outbound message <br>X-Antivirus-Status: Clean <br> <br>----------------------------------------- <br> <br>And here is my RAW BIND <br> <br>==================================== <br> <br>$TTL 7200 <br>@ IN SOA ns1.digitalocean.com. hostmaster.oddsodz.com. ( <br> 1366390521 ; last update: 2013-04-19 16:55:21 UTC <br> 3600 ; refresh <br> 900 ; retry <br> 1209600 ; expire <br> 10800 ; 3 hours ttl <br> ) <br> IN NS ns1.digitalocean.com. <br> NS ns2.digitalocean.com. <br> NS ns3.digitalocean.com. <br> <br> MX 0 oddsodz.com <br>@ IN A 198.199.75.193 <br>@ TXT “v=spf1 ip4:IP_ADDRESS -all” <br>dkim._domainkey TXT v=DKIM1; p=IGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDJfLEu9mhZOi8y4/yC6huETQOprEvX1Pf2sFw+xyiGFR/kTLKttzchQf64FlSbEdFEkF31rSboK4fIbW7kH7FDT77wBRsrjlDA1LEH7QKJWgnihMhFDoBdPsXqPII7Fm38GMOniKT0kD3z1TTbGxF+smShkIefIoOdED/3OAsCawIDAQAB <br> <br> <br>================================================ <br> <br>Any help on this matter would be great. It is the one thing I need.

There are a couple of next steps to take. <br> <br>First is check your MX resolution for the domain that you are sending email to, to ensure it is being routed to your virtual server. <br> <br>Next is check your maillog to see if that mail is actually hitting your MTA and perhaps being improperly processed there after.