how to check SMTP server details on Unix


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how to check SMTP server details on Unix
# 1  
Old 12-16-2010
how to check SMTP server details on Unix

Hi All,

I am trying to figure out how to check SMTP server details on Unix enviornment?
I tried using
Code:
  echo "hello" | sendmail -v abc@xyz.com

and got following error:

Code:
-bash: sendmail: command not found
-bash: echo: write error: Broken pipe

Any help will be much appreciated regarding this.
# 2  
Old 12-17-2010
Seems there is no sendmail in the PATH of your user or not installed. Try just using the "mail" or "mailx" command instead of "sendmail". I am not sure what you mean with "SMTP details" but that might be more informative, if you know what MTA you are using and check it's configuration somewhere in /etc.
# 3  
Old 12-20-2010
You could try
Code:
telnet localhost 25

and see what welcome message you get.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Any way we can create an SMTP server and use any scripting language to read emails from that server

Is there any way to create an SMTP mail server will all granular permissions to it so that I can read emails which that server receives through any scripting language and also reply from the same server automatically? (3 Replies)
Discussion started by: sandeepcm
3 Replies

2. Shell Programming and Scripting

how do i check the REDHAT details?

I am using lunix machine. I want to check if this is RED HAT 4 or higher version. How do i check this? The below output does not tell about REDHAT version. $ uname -a Linux chfdallindb11 2.6.18-128.7.1.el5 #1 SMP Wed Aug 19 04:00:49 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux $ Any help... (2 Replies)
Discussion started by: govindts
2 Replies

3. Shell Programming and Scripting

Send email from sendmail on AIX using exchange server as SMTP server

i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies

4. Fedora

How to setup an smtp server on a UNIX machine !!!

How to setup an smtp server on a unix-based machine. For example ubuntu, mac os x, fedora. (4 Replies)
Discussion started by: 14opsrc
4 Replies

5. UNIX for Dummies Questions & Answers

Command to check unix have web server

Hye All Any body know what is command to check whether unix have web server. (3 Replies)
Discussion started by: mastercar
3 Replies

6. UNIX for Dummies Questions & Answers

Check login details

As a root user i switch to a different user say "oratest". I would like to know the details like at what time did the switch ( su - oratest ) happen. Are there any logs to check this Thanks. (4 Replies)
Discussion started by: jjoy
4 Replies

7. UNIX for Advanced & Expert Users

how to check weblogic server status in Unix machine

Hi All,Could anybody help in suggesting how to check the weblogic server status in a Unix machine? ps -ef |grep "startWeblogic.sh" The above command would give the running status but can anyone throw some light how to check if it is in hung/down state. Thanks (1 Reply)
Discussion started by: RSC1985
1 Replies

8. UNIX for Dummies Questions & Answers

How check the overall CPU usage of the unix server

Hi All, Can anyone help me.. I want to know the command to check the overall CPU usage of the server. Note: I don't want the CPU usge of each and every process. I just want to know thw aggregate CPU utilization of the server. (2 Replies)
Discussion started by: Selva_Kumar
2 Replies

9. UNIX for Advanced & Expert Users

Configure SMTP Server for Unix

Hi, We had an upgrade today morning and since then mailx command is not working. I have been told to change the DNS to use host name as smtp.companyname.com instead of the IP address. Can someone please help me out to know where can I change this on a Unix Server. Thanks Aman (5 Replies)
Discussion started by: chawlaaman
5 Replies

10. Filesystems, Disks and Memory

how to find out unix server details

I like to find out Server Drive/Storage Specifications like Drive Size? Storage Type: Local or SAN ? Number of Processors: Processor Speed: Memory: please someone help me out how I can get from command line? Thanks you in advance (4 Replies)
Discussion started by: thopputhurai
4 Replies
Login or Register to Ask a Question