RE: I can receive, but not send email.
10-22-2018, 05:48 AM
(This post was last modified: 10-22-2018, 06:41 AM by x17Andrew71x.)
(10-22-2018, 05:21 AM)fearworks Wrote: Are you able to receive incoming mail from an external account (i.e. one that's not on your server), or have you only tested with other internal accounts?
You seem to be sending emails from a @vestraweb.com address, but I cannot see that this domain has any MX records set up. I don't think this is the cause of your problem, but this will lead to many other problems and I cannot understand why you would be sending from this domain but not have any MX records?
I think the most likely explanation is that port 25 is blocked on your server. You may have it open in your firewall, but that would have no effect if your ISP or server hosting company block port 25.
Without knowing the IP of your server, it's tricky to guess as to what the issue is. If you want to send it to me in a PM then I would be happy to take a look and work out what is going on.
Keith.
Edit: OK, I see an MX record now so maybe you are busy trying things out, or maybe I checked the wrong address. That's good, but as I said I don't think that's why you are having the problems you've had.
Yes I am able to receive mail externally, i tried it from a few different external addresses. They all receive fine.
VestraWeb is my domain, i use login.vestraweb.com for the panel and I haven't set up any MX entries yet.
I'm new to email hosting and it is definitely not my area of expertise. I didn't think I had to have any set up.
What's the quickest and easiest way to set it up. Hosting the domain at GoDaddy.
I just got off of chat with ISP and they said they aren't blocking 25 and I also have 25 forwarded through my router.
So It would have to be something with the Server itself.
I am not great with IPTables, but I am pretty sure I have it opened...
Maybe I did it wrong.
How can I check to ensure that the port is properly managed through the server?
So I just ran nmap:
Code:
Nmap scan report for 47.201.243.105
Host is up (0.0036s latency).
Not shown: 991 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp filtered ssh
53/tcp open domain
80/tcp filtered http
111/tcp filtered rpcbind
143/tcp open imap
587/tcp open submission
5000/tcp open upnp
50000/tcp open ibm-db2
Nmap done: 1 IP address (1 host up) scanned in 1.50 seconds
It doesn't show 25 as open.
Even though I've opened it like 10 different times.
I'll try again though...
EDIT:
I've tried: sudo ufw allow 25
I've tried: sudo iptables -I INPUT -p tcp -m tcp --sport 25 -j ACCEPT
nmap -p25 localhost shows:
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00024s latency).
Other addresses for localhost (not scanned): 127.0.0.1
PORT STATE SERVICE
25/tcp closed smtp
Nmap done: 1 IP address (1 host up) scanned in 0.31 seconds
Why is it still blocked?