Solved

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

Posted on 2004-08-03
6
419 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

717 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