# Cant receive email ?

**URL:** <https://forum.virtualmin.com/t/cant-receive-email/31661>\
**Category:** Help! (Home for newbies)\
**Created:** [January 27, 2009, 10:16pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661 "2009-01-27T22:16:17Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Eric](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@Eric](https://forum.virtualmin.com/u/Eric)\
**Post date:** [February 1, 2009, 12:37pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/21 "2009-02-01T12:37:04Z")

</div>

If you’re on a dynamic IP, that may also mean that your ISP is blocking port 25/SMTP.

Do you have a way to verify that port 25 is open from the outside world?  
-Eric

---

<div class="post-metadata">

**Author:** ![zer0](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/z/8edcca/32.png) [@zer0](https://forum.virtualmin.com/u/zer0)\
**Post date:** [February 1, 2009, 1:12pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/22 "2009-02-01T13:12:25Z")

</div>

I did the port scan using Sheildsup and according to that it is open.

---

<div class="post-metadata">

**Author:** ![ronald](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/r/ea666f/32.png) [@ronald](https://forum.virtualmin.com/u/ronald)\
**Post date:** [February 1, 2009, 1:57pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/23 "2009-02-01T13:57:23Z")

</div>

I’d say you can expect that behaviour if running a server on a dynamic IP. Even with dyndns installed wouldn’t make it error free or would it?

---

<div class="post-metadata">

**Author:** ![Eric](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@Eric](https://forum.virtualmin.com/u/Eric)\
**Post date:** [February 1, 2009, 2:05pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/24 "2009-02-01T14:05:06Z")

</div>

Yeah, running on a dynamic IP is tough; what error is showing up in the mail logs though (in /var/log) whenever you send yourself a message from the outside world?  
-Eric

---

<div class="post-metadata">

**Author:** ![loufeliz](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/l/7ba0ec/32.png) [@loufeliz](https://forum.virtualmin.com/u/loufeliz)\
**Post date:** [February 1, 2009, 3:08pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/25 "2009-02-01T15:08:51Z")

</div>

Hello.

Just following up : Had time to build a new VM and reinstall Virtualmin on minimal Centos installation. Glad to say it all went smoothly worked as per steps followed from getting started.

I will be going over the process to add/manage domains with my client and have him register once the new server comes in so we can start transferring domains and websites from the Cobalt Raq he is using.

Cheers!

- Lou

---

<div class="post-metadata">

**Author:** ![zer0](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/z/8edcca/32.png) [@zer0](https://forum.virtualmin.com/u/zer0)\
**Post date:** [February 1, 2009, 3:26pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/26 "2009-02-01T15:26:49Z")

</div>

sorry which log file am i looking for in the /var/log directory?

sorry i’m new to all this…

thanx

---

<div class="post-metadata">

**Author:** ![Eric](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@Eric](https://forum.virtualmin.com/u/Eric)\
**Post date:** [February 1, 2009, 4:12pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/27 "2009-02-01T16:12:14Z")

</div>

Howdy – it depends on what Linux distribution you’re using. It’s likely either /var/log/maillog or /var/log/mail.log.  
-Eric

---

<div class="post-metadata">

**Author:** ![zer0](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/z/8edcca/32.png) [@zer0](https://forum.virtualmin.com/u/zer0)\
**Post date:** [February 1, 2009, 7:55pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/28 "2009-02-01T19:55:17Z")

</div>

Here is part of the log…

[code:1]  
Feb 1 18:45:06 b postfix/qmgr[5332]: 1AC3EE8ACB: from=\<[test@genvioncorp.com](mailto:test@genvioncorp.com)\>, size=595, nrcpt=1 (queue active)  
Feb 1 18:45:06 b postfix/qmgr[5332]: 8432AE8B2C: from=\<[test@genvioncorp.com](mailto:test@genvioncorp.com)\>, size=740, nrcpt=1 (queue active)  
Feb 1 18:45:06 b postfix/qmgr[5332]: 43C6CE8ABA: from=\<[test@genvioncorp.com](mailto:test@genvioncorp.com)\>, size=594, nrcpt=1 (queue active)  
Feb 1 18:45:36 b postfix/smtp[30971]: connect to [f.mx.mail.yahoo.com](http://f.mx.mail.yahoo.com)[68.142.202.247]:25: Connection timed out  
Feb 1 18:45:37 b postfix/smtp[30972]: connect to [mx1.hotmail.com](http://mx1.hotmail.com)[65.54.244.136]:25: Connection timed out  
Feb 1 18:45:37 b postfix/smtp[30973]: connect to [mx4.hotmail.com](http://mx4.hotmail.com)[65.55.37.120]:25: Connection timed out  
Feb 1 18:46:06 b postfix/smtp[30971]: connect to [a.mx.mail.yahoo.com](http://a.mx.mail.yahoo.com)[67.195.168.31]:25: Connection timed out  
Feb 1 18:46:07 b postfix/smtp[30972]: connect to [mx4.hotmail.com](http://mx4.hotmail.com)[65.55.37.88]:25: Connection timed out  
Feb 1 18:46:07 b postfix/smtp[30973]: connect to [mx4.hotmail.com](http://mx4.hotmail.com)[65.54.244.232]:25: Connection timed out  
Feb 1 18:46:36 b postfix/smtp[30971]: connect to [g.mx.mail.yahoo.com](http://g.mx.mail.yahoo.com)[209.191.118.103]:25: Connection timed out  
Feb 1 18:46:37 b postfix/smtp[30972]: connect to [mx3.hotmail.com](http://mx3.hotmail.com)[65.55.37.72]:25: Connection timed out  
Feb 1 18:46:37 b postfix/smtp[30973]: connect to [mx2.hotmail.com](http://mx2.hotmail.com)[65.54.245.40]:25: Connection timed out  
Feb 1 18:47:06 b postfix/smtp[30971]: connect to [f.mx.mail.yahoo.com](http://f.mx.mail.yahoo.com)[209.191.88.247]:25: Connection timed out  
Feb 1 18:47:07 b postfix/smtp[30972]: connect to [mx1.hotmail.com](http://mx1.hotmail.com)[65.54.244.8]:25: Connection timed out  
Feb 1 18:47:07 b postfix/smtp[30973]: connect to [mx3.hotmail.com](http://mx3.hotmail.com)[65.55.37.104]:25: Connection timed out  
Feb 1 18:47:36 b postfix/smtp[30971]: connect to [c.mx.mail.yahoo.com](http://c.mx.mail.yahoo.com)[216.39.53.2]:25: Connection timed out  
Feb 1 18:47:36 b postfix/smtp[30971]: 1AC3EE8ACB: to=\<zer0net2004@yahoo.ca\>, relay=none, delay=59060, delays=58910/0.02/150/0, dsn=4.4.1, status=deferred (connect to [c.mx.mail.yahoo.com](http://c.mx.mail.yahoo.com)[216.39.53.2]:25: Connection timed out)  
Feb 1 18:47:37 b postfix/smtp[30972]: connect to [mx4.hotmail.com](http://mx4.hotmail.com)[65.54.244.232]:25: Connection timed out  
Feb 1 18:47:37 b postfix/smtp[30972]: 8432AE8B2C: to=\<[bilal88@hotmail.com](mailto:bilal88@hotmail.com)\>, relay=none, delay=74818, delays=74668/0.02/150/0, dsn=4.4.1, status=deferred (connect to [mx4.hotmail.com](http://mx4.hotmail.com)[65.54.244.232]:25: Connection timed out)  
Feb 1 18:47:37 b postfix/smtp[30973]: connect to [mx1.hotmail.com](http://mx1.hotmail.com)[65.54.244.8]:25: Connection timed out  
Feb 1 18:47:37 b postfix/smtp[30973]: 43C6CE8ABA: to=\<[bilal88@hotmail.com](mailto:bilal88@hotmail.com)\>, relay=none, delay=65866, delays=65716/0.03/150/0, dsn=4.4.1, status=deferred (connect to [mx1.hotmail.com](http://mx1.hotmail.com)[65.54.244.8]:25: Connection timed out)  
[/code:1]

---

<div class="post-metadata">

**Author:** ![zer0](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/z/8edcca/32.png) [@zer0](https://forum.virtualmin.com/u/zer0)\
**Post date:** [February 1, 2009, 8:04pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/29 "2009-02-01T20:04:41Z")

</div>

also when i send my self mail from yahoo its immediately bounced i get the following response in the bounced email:

64.202.166.11 does not like recipient.  
Remote host said: 550 sorry, mail to that recipient is not accepted (#5.7.1)  
Giving up on 64.202.166.11.

i dont think DNS is pointing to my IP address for some reason, because thats not my ip address

---

<div class="post-metadata">

**Author:** ![Eric](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@Eric](https://forum.virtualmin.com/u/Eric)\
**Post date:** [February 2, 2009, 10:05am UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/30 "2009-02-02T10:05:19Z")

</div>

If you think the DNS may be incorrect, then you may want to use a remote server to verify your DNS.

That said, the above logs suggest that your server is unable to communicate with Hotmail – it’s simply not getting to it.

If you’re running this on a dynamic IP of some form, it’s rather common these days for ISP’s to block outgoing (and sometimes incoming) port 25 traffic.

Can you verify that you’re able to get to port 25 on any remote server outside of your ISP?  
-Eric

---

<div class="post-metadata">

**Author:** ![zer0](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/z/8edcca/32.png) [@zer0](https://forum.virtualmin.com/u/zer0)\
**Post date:** [February 2, 2009, 2:22pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/31 "2009-02-02T14:22:46Z")

</div>

I’ve ran scans using some of the tools on the internet to check for port 25 and they all concluded that its open and ISP is not blocking it. I am however able to send emails to my email address provided by my ISP, but I cant send them to any other email, like hotmail,yahoo,or gmail. But i cant recieve emails from anyone not even my own ISP’s email.

since i’m using godaddy DNS… this is how i set up the DNS on godaddy

1st i created an A record

Host (A) Points to TTL  
[mail.domain.com](http://mail.domain.com). x.x.x.x(my ip) 1 Hour

2nd i created MX record

Priority Host Goes to TTL  
0 [domain.com](http://domain.com). [mail.domain.com](http://mail.domain.com). 1 Hour

So if everything works, when i ping [mail.domain.com](http://mail.domain.com) it should return my IP, right? but it doesnt it returns [pop.secureserver.net](http://pop.secureserver.net) which is listed under the CNAME for pop and mail (same for both), I dont know if i’m suppose to change that? i did try changing it to [mail.domain.com](http://mail.domain.com) and then ping [mail.domain.com](http://mail.domain.com) it returns an error that i cannot find host.

---

<div class="post-metadata">

**Author:** ![Eric](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@Eric](https://forum.virtualmin.com/u/Eric)\
**Post date:** [February 2, 2009, 2:44pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/32 "2009-02-02T14:44:12Z")

</div>

I guess you’re going to need to provide both your IP address and domain for us to help, as I’m really not sure.

And all those tools can determine is that incoming SMTP isn’t blocked, they can’t determine outgoing SMTP.

The logs you showed imply your server isn’t able to communicate with remote SMTP servers, which leads me to believe that may be the issue.

What happens if you log into your Virtualmin server, and type:

telnet [ASPMX.L.GOOGLE.COM](http://ASPMX.L.GOOGLE.COM) 25

You should see this:

Trying 74.125.47.27…  
Connected to [ASPMX.L.GOOGLE.COM](http://ASPMX.L.GOOGLE.COM).  
Escape character is ‘^]’.  
220 [mx.google.com](http://mx.google.com) ESMTP 6si3375887ywi.26

If it just hangs there, that means outgoing port 25 is blocked.  
-Eric

---

<div class="post-metadata">

**Author:** ![zer0](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/z/8edcca/32.png) [@zer0](https://forum.virtualmin.com/u/zer0)\
**Post date:** [February 2, 2009, 3:19pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/33 "2009-02-02T15:19:13Z")

</div>

my ip: 99.247.223.232

my domain: [genvioncorp.com](http://genvioncorp.com)

actually i dont know how to telnet through virtualmin but in command prompt i did that and it didnt work, it says conection failed.

---

<div class="post-metadata">

**Author:** ![Eric](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@Eric](https://forum.virtualmin.com/u/Eric)\
**Post date:** [February 2, 2009, 3:25pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/34 "2009-02-02T15:25:22Z")

</div>

Howdy,

Okay, that helps a bit.

It does seem that the IP address associated with [genvioncorp.com](http://genvioncorp.com) may be incorrect – it points to a parked page at GoDaddy. So you may need to log into GoDaddy’s control panel, and make sure the IP addresses are pointing to where you’d expect.

The IP "99.247.223.232" does appear to allow incoming SMTP/25, so that part should work once you update the DNS at GoDaddy.

Regarding outgoing email – that part may be more of a problem 🙂

It does sound like it’s being blocked, but that’s not the end of the world.

I imagine your ISP has an SMTP relay they’ve setup for you. You can configure things to use that for outgoing email, which should allow you to get emails to outside mailservers.  
-Eric

---

<div class="post-metadata">

**Author:** ![zer0](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/z/8edcca/32.png) [@zer0](https://forum.virtualmin.com/u/zer0)\
**Post date:** [February 2, 2009, 3:35pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/35 "2009-02-02T15:35:10Z")

</div>

at godaddy there were two A hosts  
@ 68.178.232.100 (default)

and the second one i created

[mail.genvioncorp.com](http://mail.genvioncorp.com) (my ip)

so i changed the @ to point to my ip, i hope that works… but i think it will also point the website (which is not up yet, and it wont be hosted on-site) to my ip.

and what things do i need to configure to use the SMTP relay? (sorry for the noob question)

---

<div class="post-metadata">

**Author:** ![Eric](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@Eric](https://forum.virtualmin.com/u/Eric)\
**Post date:** [February 2, 2009, 3:40pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/36 "2009-02-02T15:40:19Z")

</div>

If your SMTP relay does not require authentication, it’s as simple as going into Webmin -\> Servers -\> Postix -\> General, and adding the SMTP relay name to “Send outgoing mail via host”.  
-Eric

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [February 2, 2009, 4:31pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/37 "2009-02-02T16:31:37Z")

</div>

I’ll also note that those log entries make me think you’re ISP is blocking port 25 (this is very common…I don’t know of any major ISP that doesn’t block port 25 to home users). You’ll never be able to run an SMTP server without port 25.

---

<div class="post-metadata">

**Author:** ![zer0](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/z/8edcca/32.png) [@zer0](https://forum.virtualmin.com/u/zer0)\
**Post date:** [February 2, 2009, 4:43pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/38 "2009-02-02T16:43:21Z")

</div>

so i contacted my ISP and they would allow me to use 3rd party email through their SMTP server so i have to verify my email with them, they sent me a code… but the problem is… i can not receive emails from outside world. it seems like godaddy DNS isnt working for me, is there a way i can use the DNS server built in virtualmin to do this for me?

Thanx

---

<div class="post-metadata">

**Author:** ![zer0](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/z/8edcca/32.png) [@zer0](https://forum.virtualmin.com/u/zer0)\
**Post date:** [February 2, 2009, 4:44pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/39 "2009-02-02T16:44:39Z")

</div>

**andreychek wrote:**

Howdy,

What do you see in the email logs, in /var/log/maillog?

Regarding webmail – by default, Usermin is available by going to [webmail.USERDOMAIN.com](http://webmail.USERDOMAIN.com).

By editing the Server Template (Apache Website), you can make that webmail link go to any URL you like – it’s Usermin by default, but you could have it go to, say, a RoundCube installation.  
-Eric

I just talked to them and they said they dont block port 25 or port 110, however they use port 587 instead of port 25 for their outgoing server.

---

<div class="post-metadata">

**Author:** ![zer0](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/z/8edcca/32.png) [@zer0](https://forum.virtualmin.com/u/zer0)\
**Post date:** [February 2, 2009, 4:46pm UTC](https://forum.virtualmin.com/t/cant-receive-email/31661/40 "2009-02-02T16:46:51Z")

</div>

i think there is a glitch int he forum… it quoted the wrong person in my previous post… i meant to quote joe

[Previous page](https://forum.virtualmin.com/t/cant-receive-email/31661.md?page=1)

[Next page](https://forum.virtualmin.com/t/cant-receive-email/31661.md?page=3)
