Solved

Can't receive mail from internet mail service like yahoo and hotmail.

Posted on 2004-08-03
6
416 Views
Last Modified: 2013-12-15
Hi i'm currently trying to set up a Linux mail server for the company i'm working in. I must admit I have very little knowledge in Linux and NT administration so treat me like a complete newbie.

So far I have Postfix installed on the Linux machine with RH 9.0 distribution. From variouse articles I found in the web, i was able to configure it to send mail and receive locally. But I can't get it to receive mail from internet mail services like Yahoo and Hotmail.

Don't know what to do now, please help.

Not sure what information you guys need, so i will wait till someone ask for it ( please also include the complete command structure).

Thx in advance.
0
Comment
Question by:chaoslord
  • 3
  • 3
6 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 11708522
There are two ways you can receive email: If your server is known as "mail exchanger" for your domain, any mail server on the Internet can directly connect to your machine and deliver mails for your domain. For this to work, you need to setup the server (and your firewall!) so that it can accept these connections.
If your provider collects email for you in e.g. a POP3 account you need to retrieve these mails first, before you can submit them to your Postfix server. One option is to use "fetchmail" to retrieve the emails (this is what  I'm using at home for my own domain).

What's your setup? How did you receive emails before you installed Linux?
0
 

Author Comment

by:chaoslord
ID: 11708810
thx for the quick reply khkrerner,

We are currently using the mail service provided by our ISP, but want a mail server of our own for more control. I have registered another domain name to practice with before messing with our current one. The DNS setup is hopefully correct, maybe you can check it for me? the domain name is optoceramic.com and the server is mail.optoceramic.com

You mentioned firewall, we do have a router/firewall that the ISP set up for us. How do i set up the firewall to accept outside connections? Do i have to call the ISP to do it or just change some configuration file?

0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 11709442
YOu need to open up port 25 on your firewall. I'm behind a pretty restrictive firewall myself right now, so I cannot test your connection. I will however be able to do this in a couple of hours.
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

Author Comment

by:chaoslord
ID: 11709599
Increased points given,

Not sure if this is the way to check if port 25 is open, but here it is:

# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 mail.optoceramic.com ESMTP Postfix
quit
221 Bye
0
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 400 total points
ID: 11710069
You did this from your local host, which means that if postfix is running, and you don't have a firewall on the local machine, it should work (which it does).

You need to check this from a remote machine (outside of your own subnet). I just did this, and it did not work:

finch:~ khk$ telnet mail.optoceramic.com 25
Trying 67.153.124.198...
telnet: connect to address 67.153.124.198: Operation timed out
telnet: Unable to connect to remote host

When I try this to teh default port, I get this:

finch:~ khk$ telnet mail.optoceramic.com
Trying 67.153.124.198...
Connected to bostonappliedtechinc-bostonappliedtechinc-psr2174424.z124-153-67.customer.algx.net.
Escape character is '^]'.

TA 612 IAD


user:
telnet> quit
Connection closed.


This means that I can resolve the address, and can connect with just telnet, but when I try to use port 25, I don't get a connection.

The good news is that your DNS MX record is set up correctly:

finch:~ khk$ nslookup
> set type=mx
> optoceramic.com
Server:         192.168.1.254
Address:        192.168.1.254#53

Non-authoritative answer:
optoceramic.com mail exchanger = 0 mail.optoceramic.com.

Authoritative answers can be found from:
optoceramic.com nameserver = ns19.zoneedit.com.
optoceramic.com nameserver = ns8.zoneedit.com.
mail.optoceramic.com    internet address = 67.153.124.198



As you can see, nslookup reports the machine mail.optoceramic.com correctly as mail exchanger.

I guess that once you talk to your ISP and have them enable port 25 you should be OK. Just make sure that you are not relaying emails that are not sent to your own domain. The reason why your ISP has disabled this port is that it can be used to send SPAM by abusing mail servers that are not correctly setup.

0
 

Author Comment

by:chaoslord
ID: 11712161
It works now, thx for your help :)
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question