LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 07-31-2002, 10:26 AM   #1
ifm
Member
 
Registered: Jun 2002
Location: USA
Distribution: RH7.3 & YDL2.1
Posts: 124

Rep: Reputation: 15
sendmail relay through another machine?


Heres a situation:

Machine 1 at IP 1.2.3.4
Machine 2 at IP 5.6.7.8

Machine 1 has php on it that sends some system emails, and other site related emails out to users, it uses "sendmail" to do so.

Machine 2 basically has an email server, and "sendmail" on it, and does not much else.

How would I make it so ALL outgoing mail from machine1 uses machine2 to relay?

1) What would I need to do to "sendmail" on machine1 to tell it to send all mail out using a single relay of machine2?
2) Would there be anything other than "allow relay from 1.2.3.4" setup on machine2 to allow this?

Thanks for any help. I am sure its like one tiny line in that nasty evil sendmail config file on machine1, but danged if I can find it.
 
Old 08-01-2002, 01:52 AM   #2
MartBrooks
Member
 
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388

Rep: Reputation: 31
1) Configure sendmail to use machine 2 as a "smarthost".
2) Nope, "allow relay" should be fine.

Regards
 
Old 08-01-2002, 02:19 PM   #3
ifm
Member
 
Registered: Jun 2002
Location: USA
Distribution: RH7.3 & YDL2.1
Posts: 124

Original Poster
Rep: Reputation: 15
Thank you!

I did a search in google for that, and found the syntax I needed to follow to make it work.

Works.

Thanks.

Last edited by ifm; 08-01-2002 at 02:28 PM.
 
  


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
Sendmail Relay johnsfrj Linux - Newbie 0 10-06-2004 11:25 AM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 05:54 PM
sendmail relay atomicx Linux - General 2 01-04-2004 02:46 AM
Sendmail relay kurgan70 Linux - Newbie 1 03-21-2002 12:33 AM
Sendmail relay arenasa Linux - Networking 3 11-14-2000 08:38 PM


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