Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does anyone know how to retrieve incoming email from the outside (internet)?
I CAN send and retrieve email in local without any problem. It also works fine when I try to send to the outside but I can NOT retrieve any new incoming email from ppl of the Internet. For some reason, I don't get any of them...
I'm using sendmail with these options in my sendmail.mc :
I am no expert and my lead you astray with this, but the address is pointing to your loop back device not your ISP orNIC. I would try you ISP's or mail servers ip address in there. Just a guess though
You need an mx entry in a dns server. Are you in control of the dns server for your domain or is it your isp? If it's your isp you will have to ask them to setup the dns records. (Also, aikidoist72 is right, you need to make your server listen on the external interface, not loopback.)
Get a computer outside of your network. (Outside of your isp's network preferably.) Check what dig your.domain.com mx returns. (Should be your current IP). See if you can telnet to port 25 on that IP. If that works try sending a mail over that telnet session and watch your logs. If that works try an email client on the remote host.
If you can't connect to port 25 and you are sure it's not because of the firewall settings on your server, then it's probably your isp blocking port 25 to not have their user's setting up mail servers.
Originally posted by Bond007 I'm using my isp smtp server to send out email and it works fine.
my problem is I cannot receive any external emails from the outside users send to me using my domain name
uhmm, yeah, you said that in the first post already.
By receiving you mean having a remote mail server directly contact your server, right? Not receiving as in getting the mail from a pop or imap server. I've been assuming you mean the former in which case a remote server needs to contact you on port 25. If that doesn't work it's the first thing you need to straighten out.
Yeah. Let's say I run my own mail server which is sendmail with a domain name
ex: me@mydomain.com
I want to send out email to me@yahoo.com It works fine cuz I'm using my isp smtp server
However, if I try to do the opposite which is from : me@yahoo.com send to me@mydomain.com
it doesn't work. I can't receive any incoming email.
here's what I got from yahoo.com:
Hi. This is the qmail-send program at yahoo.com.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<me@mydomain.com>:
Sorry, I wasn't able to establish an SMTP connection. (#4.4.1)
I'm not going to try again; this message has been in the queue too
long.
Is that possible my isp blocks both port 110 and 25 not letting me run own mail server??
Originally posted by Bond007
<me@mydomain.com>:
Sorry, I wasn't able to establish an SMTP connection. (#4.4.1)
I'm not going to try again; this message has been in the queue too
long.
That's because the yahoo server cannot contact port 25 on mail.mydomain.com.
Quote:
Is that possible my isp blocks both port 110 and 25 not letting me run own mail server??
port 110 (pop3) doen't come into play here. Two mail servers talk on port 25. And yes, it's very much possible that your isp blocks port 25. If you have a normal cable or dsl connection you are paying for getting connected to the outside world. It's not a hosting contract. Most ISPs even have it in their terms of services that customers may not run a server off their conection.
In case my isp blocks port 25. Is there any way to run your own mailserver forwarding to another port?
Quote:
Originally posted by demian That's because the yahoo server cannot contact port 25 on mail.mydomain.com.
port 110 (pop3) doen't come into play here. Two mail servers talk on port 25. And yes, it's very much possible that your isp blocks port 25. If you have a normal cable or dsl connection you are paying for getting connected to the outside world. It's not a hosting contract. Most ISPs even have it in their terms of services that customers may not run a server off their conection.
If you run an smtp server on a non-standard port remote servers will not be able to connect. The only way around this is to have a computer outside of your isp's network accepting the mail for your domain on port 25 and forwarding it to whatever port you can use. There are sites out there that offer such a service. However, you will breach your contract with your isp by doing this. They block this port for a reason.
VPS hosting (and even dedicated servers) have become rather cheap. Maybe that's an option to consider.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.