LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-25-2014, 01:52 PM   #1
Mackhand
LQ Newbie
 
Registered: Aug 2014
Posts: 6

Rep: Reputation: Disabled
Need help setting up email relay in Redhat


I cannot seem to find the right documentation needed for this. I want to setup a single server (Redhat 6.5) that can relay emails to the outside. We have applications that send emails to customers when jobs are done, all they do is send a message to smtp.company.com which is defined in DNS. I want to setup one single server that can send these emails to the outside. I have sendmail setup but so far all I can do is send mail internally as root@servername. I would need the from address to be donotreply@domain.com.
 
Old 08-26-2014, 09:17 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,681

Rep: Reputation: 8154Reputation: 8154Reputation: 8154Reputation: 8154Reputation: 8154Reputation: 8154Reputation: 8154Reputation: 8154Reputation: 8154Reputation: 8154Reputation: 8154
Quote:
Originally Posted by Mackhand View Post
I cannot seem to find the right documentation needed for this. I want to setup a single server (Redhat 6.5) that can relay emails to the outside. We have applications that send emails to customers when jobs are done, all they do is send a message to smtp.company.com which is defined in DNS. I want to setup one single server that can send these emails to the outside. I have sendmail setup but so far all I can do is send mail internally as root@servername. I would need the from address to be donotreply@domain.com.
You don't say how you're sending the emails, but if they're coming from a script and it's using mail/mailx to do the actual mailing, have you read their man pages? The "-r" flag will set the "FROM" address. What you're asking for with Sendmail is the genericstable feature:
http://www.tldp.org/HOWTO/Sendmail-A...Rewrite-3.html
http://www.sendmail.com/sm/open_sour.../features.html

...which may (or may not), be overkill. And, since you're using RHEL 6.5, have you contacted Red Hat support, since you're paying for it with your subscription?? They have documents in their knowledgebase, which you're also paying for access to....
 
  


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
Email Relay abuse novice06 Linux - Security 7 03-29-2006 06:53 PM
Setting up an Email server in RedHat 9 using sendmail basketkase999 Linux - Software 15 04-03-2005 09:30 AM
routing email through different relay GraemeK Linux - Networking 1 01-27-2004 08:06 AM
simple email relay rowdy1025 Fedora 1 12-13-2003 08:43 AM
How can I relay email in sendmail? aarceo *BSD 1 09-14-2003 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:26 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
Open Source Consulting | Domain Registration