Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am creating a mail server for my domain. I bought a domain from Domain is

I have webserver on that machine too. It is running Ubuntu 12.04 with postfix, courier-imap, and roundcube + squirrelmail.

I can receive email if I sent it with Roundcube sender as:

But when I try to send email from my gmail account I cant receive it on Ubuntu's end.

I have MX set to in my dns-provider settings MXTOOLBOX also says that my MX is set to

My ISP is blocking SMTP port 25 and I use my ISP's smtp to send emails: I have 193 IMAP and 25 SMTP ports open on my router.

Any ideas why I can't receive any emails?


This is an automatically generated Delivery Status Notification



Delivery to the following recipient has been delayed:

Message will be retried for 2 more day(s)

Technical details of temporary failure:
The recipient server did not accept our requests to connect. Learn more at
[ (10): Connection timed out]

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

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113;
MIME-Version: 1.0
Received: by with SMTP id o22mr4433268yhn.75.1334894281860; Thu,
 19 Apr 2012 20:58:01 -0700 (PDT)
Received: by with HTTP; Thu, 19 Apr 2012 20:58:01 -0700 (PDT)
In-Reply-To: <>
References: <>
Date: Fri, 20 Apr 2012 06:58:01 +0300
Message-ID: <>
Subject: Re: moi z<3
From: Joni Rautiainen <>
To: joni <>
Content-Type: multipart/alternative; boundary=20cf3056389f7ba84b04be144b38
share|improve this question

migrated from Apr 22 '12 at 15:00

This question came from our site for professional and enthusiast programmers.

Are you sure your ISP is not blocking port 25 inbound as well? Can you telnet from outside your network to port 25 on your mail server? –  Icarus Apr 20 '12 at 15:59
Thanks for the tip... It seems I can't "telnet 25" from outside. Hmm... Can I somehow change the port for SMTP –  Joni Juhani Rautiainen Apr 20 '12 at 21:33
Did you check your IPTables rules on Ubuntu as well? I'd start by disabling the firewall on Ubuntu momentarily while you troubleshoot the issue. –  Icarus Apr 20 '12 at 22:17
Webmin tells that Linux Firewalls doenst have any rules so there is nothing its blocking. I am running ftp, ssh, apache servers on it and those are working as normal –  Joni Juhani Rautiainen Apr 21 '12 at 0:20
My ISP is blocking SMTP port 25 and I use my ISP's smtp to send emails: I have 193 IMAP and 25 SMTP ports open on my router. - If you know this and appreciate what it means then your question makes no sense. If you know your ISP is blocking port 25 then this is clearly why you can't receive anything. There's not really anything you can do about this if they won't unblock it for you. –  RobM Apr 22 '12 at 16:10

1 Answer 1

Because you said so yourself.

Your ISP does not allow you to run a mail server on this Internet connection.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.