LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Closed Thread
  Search this Thread
Old 01-22-2013, 10:08 PM   #1
redhat70
Member
 
Registered: May 2012
Posts: 86

Rep: Reputation: Disabled
mailx Configuration steps needed, please .


Hi,

I have requirement from our client to configure mailx on the Red Hat Linux server. Can anybody provide me the steps to configure mailx to send the mails ?


Regards,
Aparna.
 
Old 01-23-2013, 09:15 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,120

Rep: Reputation: 6451Reputation: 6451Reputation: 6451Reputation: 6451Reputation: 6451Reputation: 6451Reputation: 6451Reputation: 6451Reputation: 6451Reputation: 6451Reputation: 6451
Quote:
Originally Posted by redhat70 View Post
Hi,
I have requirement from our client to configure mailx on the Red Hat Linux server. Can anybody provide me the steps to configure mailx to send the mails ?
The first step you need to take, is to try to look things up on your own. This isn't the place to come to get people to give you step-by-step tutorials and guides.

Had you looked at what mailx is:
http://linux.die.net/man/1/mailx

...you'd have discovered that its a command-line mail client. Notice the word 'client'....that means, it needs to talk to a mail-SERVER, to actually send the mail. Do you need to set up a mail server, or do you have one? Reading the man page covers things like specifying an SMTP server, IMAP, certificates, the .mailrc and other config files, etc.

You give no details about the environment, what mail server(s) you want to use, what clients are already in place, or any problems you're having, so we can't help much beyond directing you to the documentation....which is why it's there. If you have SPECIFIC problems with setup, errors, etc., post them, and we can try to help.
 
Old 01-23-2013, 06:40 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,790

Rep: Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538
As per TB0ne, its a cli mail client and frequently installed by default, so start with
Code:
rpm -qa|grep mailx

# should return something like
mailx-12.4-6.el6.x86_64
if installed.
If not
Code:
yum install mailx
and that's it; there's no cfg required.

Of course it'll need an MTA like sendmail or postfix on the same system if you want to send mails out.

What version of RHEL is it?
Code:
cat /etc/*release*
For v5, default MTA is sendmail, for v6, its postfix.
 
2 members found this post helpful.
Old 08-04-2016, 02:58 PM   #4
chris_carr
Member
 
Registered: Oct 2011
Location: Houston Tx
Distribution: RHEL 6
Posts: 57

Rep: Reputation: 0
@TBONE there is no reason to be a douche bag about it bro. We all had to start somewhere, step off your high horse and humble yourself.

@redhat70 Chrism01 is right. all you need to do is install it, and the configurations come into play with either sendmail for postfix.
 
Old 08-04-2016, 03:08 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,120

Rep: Reputation: 6451Reputation: 6451Reputation: 6451Reputation: 6451Reputation: 6451Reputation: 6451Reputation: 6451Reputation: 6451Reputation: 6451Reputation: 6451Reputation: 6451
Quote:
Originally Posted by chris_carr View Post
@TBONE there is no reason to be a douche bag about it bro. We all had to start somewhere, step off your high horse and humble yourself.

@redhat70 Chrism01 is right. all you need to do is install it, and the configurations come into play with either sendmail for postfix.
@chris_carr; you re-opened a 3 year old thread for this? And I'm certainly not your 'bro', and if you bothered to actually look at redhat70's posting history, you'd have a good clue as to why he was responded to in this way.

Also, read the "Question Guidelines"...since asking people to look up links/instructions is in there.
 
Old 08-05-2016, 06:13 AM   #6
chris_carr
Member
 
Registered: Oct 2011
Location: Houston Tx
Distribution: RHEL 6
Posts: 57

Rep: Reputation: 0
Like I said. Douchebag
 
Old 08-05-2016, 11:14 AM   #7
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,255

Rep: Reputation: 3918Reputation: 3918Reputation: 3918Reputation: 3918Reputation: 3918Reputation: 3918Reputation: 3918Reputation: 3918Reputation: 3918Reputation: 3918Reputation: 3918
@chris_carr, Please don't resurrect old threads in this manner. Additionally, insults aren't acceptable here at LQ. If you have any questions, feel free to contact me. It should be noted that the response from chrism01 is much more inline with what we like to see here at LQ.

--jeremy
 
  


Closed Thread


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
Rebooting Linux server Steps Needed,Please... redhat70 Linux - Server 1 08-29-2012 09:35 PM
/etc/sudoers file back up steps needed, please ... redhat70 Linux - General 5 07-05-2012 10:43 AM
mailx and sendmail configuration problem kazmiM Solaris / OpenSolaris 6 02-22-2011 01:47 PM
Needed Make File Steps..... Navdeep Linux - Software 1 03-03-2009 02:08 PM
steps needed to remove a kernel? marlor Slackware 2 07-07-2004 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:07 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