Sending and receiving email is refused

  • Posted September 9, 2014

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?


@reshadar : the comment @paulrodrigues made just makes sense. I am new with DO, and so I am not sure of their policy on mail service. You should send a support ticket to the technical team, as @paulrodrigues seems to know more about the service.

I had many problems with mail traffic on D.O. You will have to open a ticket to the support team open the traffic for you. I don’t know why they block mail traffic. =D


This comment has been deleted

This comment has been deleted

They need some additional information about you to open the mail traffic. Because of junkmail / spam senders. Just to confirm you’re not using it to send spam messages around the world. Open a ticket to the support

@reshadar if you want to check this, you can try to telnet your IP on port 25 from your laptop :


If this works, your incoming traffic is not blocked.

To check the same for outgoing traffic, you can try to telnet google mail servers on port 25 from your VPS, and you should have the following result :

telnet 25
Connected to
Escape character is '^]'.
220 ESMTP va3si18034745wjc.67 - gsmtp

Considering guys on DO are providing containers (or VPS ?), they may block mail traffic running standalone. I would clearly understand if they have an internal relay smtp to provide mail service, but it doesn’t seems to be the case.


Hea? What do u mean is this because they block my mail traffic?

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.

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