sendmail relay through another machine?
Heres a situation:
Machine 1 at IP 22.214.171.124
Machine 2 at IP 126.96.36.199
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 188.8.131.52" 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.