[kwlug-disc] Testing a mail port

Khalid Baheyeldin kb at 2bits.com
Wed Mar 9 10:10:01 EST 2016


First things first ...

Are you sure you have some program that is listening on the SMTP port(s)?

Try this command:

$ netstat -ltup

Or its numeric variant:

$ netstat -ltupn

It will tell you which program is listening at which port.

On Wed, Mar 9, 2016 at 10:02 AM, Joe Wennechuk
<youcanreachmehere at hotmail.com> wrote:
> Hello All,
>
> I am helping a customer, the issue is they can receive mail IMAP, but can
> not send. When I call the people at the domain they say outgoing smtp is
> port 25, or 587, and incoming IMAP is 993. They also have POP on 110 , and
> Webmail on port 80, and some other services. I can not contact the mail
> server on either 25, or 587. I have tried to use nmap to find the open
> ports. When I call Bell they instruct me how to open a port on the router;
> they are not understanding me. I have seen Bell block port 25 before on home
> accounts but not 587. What should I use to test this? How can I prove it is
> Bell blocking it? I have been testing the listed ones with telnet which I
> think should test correctly, and all ports listed by nmap respond, but 25,
> and 587 give no response. I have pasted some of my other tests below.
>
> nmap results..
> joe at streetposts:~$ sudo nmap -Pn mail.ufn.com
>
> Starting Nmap 6.40 ( http://nmap.org ) at 2016-03-09 09:49 EST
> Nmap scan report for mail.ufn.com (54.235.159.86)
> Host is up (0.14s latency).
> Not shown: 993 filtered ports
> PORT     STATE SERVICE
> 80/tcp   open  http
> 110/tcp  open  pop3
> 143/tcp  open  imap
> 443/tcp  open  https
> 993/tcp  open  imaps
> 995/tcp  open  pop3s
> 8008/tcp open  http
>
> Nmap done: 1 IP address (1 host up) scanned in 173.40 seconds
>
>
> and telnet tests..
> joe at streetposts:~$ telnet mail.ufn.com 25
> Trying 54.235.159.86...
> telnet: Unable to connect to remote host: Connection timed out
>
> joe at streetposts:~$ telnet mail.ufn.com 587
> Trying 54.235.159.86...
> telnet: Unable to connect to remote host: Connection timed out
>
>
>
> joe at streetposts:~$ telnet mail.ufn.com 80
> Trying 54.235.159.86...
> Connected to mail.ufn.com.
> Escape character is '^]'
>
> joe at streetposts:~$ telnet mail.ufn.com 993
> Trying 54.235.159.86...
> Connected to mail.ufn.com.
> Escape character is '^]'.
>
> joe at streetposts:~$ telnet mail.ufn.com 110
> Trying 54.235.159.86...
> Connected to mail.ufn.com.
> Escape character is '^]'.
> +OK Atmail IMAP/POP3 server ready
>
>
> Joseph Wennechuk
> Phone: (226) 600-6119
> https://www.linkedin.com/pub/joseph-wennechuk/4/b59/382
>
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>



-- 
Khalid M. Baheyeldin
2bits.com, Inc.
Fast Reliable Drupal
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
Simplicity is the ultimate sophistication. --   Leonardo da Vinci
For every complex problem, there is an answer that is clear, simple,
and wrong." -- H.L. Mencken





More information about the kwlug-disc mailing list