Sending and receiving email is refused

  • Posted on September 9, 2014
  • reshadfarAsked by reshadfar

Hello I have a Ubuntu 14.04 TLS server with iRedMail installed. When just installed it worked okay but after the first 4 emails I get a error message

Sep  9 12:24:18 hostname postfix/smtp[9907]: connect to[]:10024: Connection refused
Sep  9 12:24:18 hostname postfix/smtp[9907]: D97C720A31: to=<>, relay=none, delay=1.1, delays=1.1/0.02/0/0, dsn=4.4.1, status=deferred (connect to[]:10024: Connection refused)
Sep  9 12:24:19 hostname postfix/smtpd[9892]: disconnect from localhost[]

I don’t know where the problem is. Can someone help me out here?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi Reshadfar,

Have you enabled mail traffic in your cloud? By default D.O. blocks Mail related ports to avoid SPAM related servers to run.

Fill this questions above and send via ticket to D.O. support in your account:

- Your Name 
- Location 
- Phone Number 
- The reason you are requesting the removal of the SMTP block

Also, please provide as many of the following as you can to help us verify your identity:

- Your public Twitter handle 
- Your blog 
- Your company or personal website 
- Your public Facebook profile

Its a very simple process. After confirmed, your mail services will run just ok.


Hi Reshadfar,

It looks like the service on port 10024 is not running :

Sep 9 12:24:18 hostname postfix/smtp[9907]: connect to[]:10024: Connection refused

On mail servers, this port is usually used for amavis : did you try to run amavis first ?

service amavis start

You should see a service running on port 10024 if that command succeeds with netstat -tunlp

Hope this could help,

Best regards,

– rustx