LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-16-2010, 12:38 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Rep: Reputation: 51
Sendmail Relay Setup?


I am in verse to try out setting up Sendmail Relay Box.I have 3 Machines:
sender.sap.com,relay.sap.com and receiver.sap.com.
All I need a user fred in sender.sap.com able to send mail to a user tom in receiver.sap.com through relay.sap.com machine.I guess that is all about relaying Correct?
How can I achieve that?
 
Old 02-16-2010, 01:37 AM   #2
hostmaster
Member
 
Registered: Feb 2007
Posts: 55

Rep: Reputation: 17
Just add the IP for sender.sap.com in file /etc/mail/relay-domains of relay.sap.com or in /etc/mail/access do the following entry
###############################################
sender.sap.com RELAY
###############################################
Then execute
makemap hash /etc/mail/access.db < /etc/mail/access

(Assuming your Sendmail and DNS are properly setup)
 
1 members found this post helpful.
Old 02-16-2010, 02:21 AM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Original Poster
Rep: Reputation: 51
One Doubt.

Yes, I can understand that relay.sap.com should have entry in /etc/mail/relay-domains( Am I correct?But on RHEL Machine I dont see any file with that name. Do I need to create that manually ).
Which will be sendmail server here(I am confused )?)
As far I know, We make those relay-domain entry in Sendmail Server Right?

But about the sender.sap.com.
what configuration on sender.sap.com will direct mail to relay machine?
I mean to ask - how will sender.sap.com know where is relay machine or whom to relay?

Last edited by your_shadow03; 02-16-2010 at 03:16 AM.
 
Old 02-18-2010, 01:16 PM   #4
hostmaster
Member
 
Registered: Feb 2007
Posts: 55

Rep: Reputation: 17
sender.sap.com will send email to relay.sap.com if you configure smart host parameter in sender.sap.com's sendmail config file. /etc/mail/relay-domains is not necessary. You can achieve the same by adding the following entry in /etc/mail/access of relay.sap.com

###############################################
sender.sap.com RELAY
###############################################

Then execute
makemap hash /etc/mail/access.db < /etc/mail/access
 
  


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
Trying out Sendmail relay setup? your_shadow03 Linux - Server 3 10-31-2009 07:56 PM
sendmail relay sachin1361 Linux - Enterprise 4 04-22-2008 07:32 PM
Setup sendmail to send outgoing mail to relay server markdjones82 Linux - Enterprise 2 01-31-2008 03:46 AM
Sendmail Relay Setup Question Supergibbs Linux - Software 1 11-02-2004 12:33 PM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 05:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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