LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-19-2013, 08:03 PM   #1
rtz
Member
 
Registered: Mar 2012
Posts: 40

Rep: Reputation: Disabled
how can i find smtp mail server name


i want to find out the outgoing mail server name through shell.is there any command available to achieve this?
 
Old 07-20-2013, 01:03 PM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
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:

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

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

Happy whatever!!

Thor

Last edited by ButterflyMelissa; 07-20-2013 at 01:10 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mail server via SMTP djh82uk Linux - Server 3 07-13-2008 08:13 PM
Cron mail sending using outside SMTP mail server Utah Linux - Software 6 08-24-2005 07:44 PM
Smtp Mail Server Delish Linux - Software 4 11-02-2004 08:52 AM
Port 25 - smtp on Mail Server etc Linux - Newbie 7 09-02-2003 01:59 AM
SMTP Mail Server How To facefullofsnow Linux - Software 5 07-16-2003 01:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration