-   Linux - Networking (
-   -   how can i find smtp mail server name (

rtz 07-19-2013 08:03 PM

how can i find smtp mail server name
i want to find out the outgoing mail server name through there any command available to achieve this?

ButterflyMelissa 07-20-2013 01:03 PM

umm, check the info on your provider's site...usually they list name/IP address pairs of their servers (DNS, POP, SMTP;...)

Unless you really just want to do it the hard way :)
listen on the box for the port something was sent to:


netstat -antp
Okay, sift tru the data to look for traffic on the SMTP port, then do a reverse lookup


host [IP address]
You should get one (or more) lines of the servers on that IP address...

Happy whatever!! :)


All times are GMT -5. The time now is 02:02 PM.