LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 03-05-2013, 04:12 AM   #1
vicky007aggrwal
Member
 
Registered: Aug 2012
Posts: 92

Rep: Reputation: Disabled
mailx query


How to check that the SMTP server name being used by mailx utiltity in redat linux 5
 
Old 03-05-2013, 08:03 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Default service is sendmail on RHEL5; try
Code:
ps -ef|grep mail
The most likely otherwise is postfix.
 
Old 03-05-2013, 10:23 AM   #3
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 285Reputation: 285Reputation: 285
Which distro? Once try:
Code:
~$ cat ~/mbox | grep -i smtp
Also check it's manual and check if there ~/.mailrc file exist.
Code:
~$ man mailx
~$ ls -la ~/.mailrc
 
  


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
TO ANYONE USING MAILX (mailx 12.1). stf92 Linux - Software 22 07-08-2010 10:44 PM
mailx pramka Suse/Novell 3 05-01-2008 05:18 PM
interesting MySQL query/view query :s mjh Programming 3 03-25-2008 08:30 AM
mailx csaunders Red Hat 1 05-23-2007 09:55 AM
help with mysql query: return nth rows in query hawarden Programming 2 07-31-2006 07:36 PM


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration