How can I set up sendmail to forward all mail to an external MTA?

Posted by unknown (google) on Server Fault See other posts from Server Fault or by unknown (google)
Published on 2009-08-26T21:40:41Z Indexed on 2010/03/12 18:07 UTC
Read the original article Hit count: 375

Filed under:
|

We have multiple applications that currently talk SMTP to an external MTA. The emails have arbitrary destination domains (they're emails to be sent to our users), but all from the same internal domain ([email protected]).

I want to set up an internal MTA (i guess with sendmail) that queues all mails, and have the internal MTA forward these emails to the external MTA, because the external MTA occasionally goes down and this causes various problems in our applications. I figure I can set up sendmail as a queuing middleware.

If the above assumptions are correct, what would the sendmail configuration look like? The 'mailertable' feature looks promising, and so does 'SMART_HOST'.

Any thoughts before I explore these possibilities?

  • Jae

© Server Fault or respective owner

Related posts about sendmail

Related posts about smtp