Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-31-2002, 09:26 AM   #1
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
Machine 2 at IP

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" 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, 12:52 AM   #2
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.

Old 08-01-2002, 01:19 PM   #3
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.



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


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

All times are GMT -5. The time now is 02:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration