Visit Our UNIX and Linux User Community

Mail service

Thread Tools Search this Thread
Operating Systems Linux Red Hat Mail service
# 1  
Old 03-14-2017
Mail service

I am using rhel OS 7 , how to enable sendmail option , i have looked all places

/bin/mail is this place to start with ?
# 2  
Old 03-14-2017
There's a lot more configuration in setting up a mail server than "enable sendmail".

If you don't need a full-on mail server and only want to send mail via something else's email account, you can look into the much simpler ssmtp.
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 03-14-2017
Thanks for the reply
I am comparing the current set up on the server which doesn't have send mail to others which have
I am not seeing /etc/mail/
i am trying to understand how others were working and saw /bin/mail is a softlink to mailx

any help would be appreciated
# 4  
Old 03-14-2017

In RHEL/CentOS 7, the default mail server (MTA) is Postfix rather than Sendmail. Sendmail is certainly still available as a supported and installable alternative via yum, but unless you absolutely need Sendmail for a particular purpose, Postfix is probably the way to go. Certainly if all you want is for the server to be able to send SMTP mail, then the Red Hat default choices should be fine.
This User Gave Thanks to drysdalk For This Post:
# 5  
Old 03-14-2017
You got me to the right point ,yes this is postfix , I checked /etc/postfix/ and /etc/aliases
both were configured as other but this server is not able to generate emails
do I need to think about firewalls?
i check telnet localhost 25 which returned postfix

---------- Post updated at 04:18 PM ---------- Previous update was at 04:17 PM ----------

ok ok I found some thing in logs

---------- Post updated at 04:20 PM ---------- Previous update was at 04:18 PM ----------

Thank you again
# 6  
Old 03-15-2017
Is the problem solved, then? What did it end up being?
# 7  
Old 03-22-2017
Sorry for the late response

the mail service need to be registered internally in the companies website

Previous Thread | Next Thread
Test Your Knowledge in Computers #244
Difficulty: Medium
Networking research in the early 1970s by Robert E. Kahn and Vint Cerf let to the formulation of the Transmission Control Program (TCP), and its specification in December 1974 in RFC 699.
True or False?

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Script to monitor BI service and trigger a mail

Hello friends, I am new to shell scripting.I am assigned a task in Unix to prepare a script which will check if OBI 10g services are running or not and to send email if the services are down.Any help will be appreciated. I tried searching for it in the blog and came across the following code ... (1 Reply)
Discussion started by: pradeep467
1 Replies

2. Shell Programming and Scripting

Basic script for monitor send mail service

Hi All Need help Can any one share a basic script that is used for monitor sendmail service whether online, offline.etc in solaris Thanks in advance Zimmy (5 Replies)
Discussion started by: zimmyyash
5 Replies

3. Solaris

Need help with mail service on Sol 10

Hello All: I am trying to configure mail service on Solaris 10 and I am unable to send using mailx. It appears the server may not be listening on port 25: bash-3.00# mconnect connecting to host localhost (, port 25 connect: Connection refused services is configured to use port... (7 Replies)
Discussion started by: hoo5091
7 Replies

4. UNIX for Dummies Questions & Answers

mail service

How to restart mail service ?? thanks (1 Reply)
Discussion started by: moreg
1 Replies

5. OS X (Apple)

My Mail Service

Hello! Id like to configure my mail command, please, can anyone help me? thank you all (2 Replies)
Discussion started by: Jariya
2 Replies

Featured Tech Videos