Sendmail will do it, look for the documentation of the smarthost config directive in sendmail.mc (usually in /etc/sendmail or thereabout).
Or use Postfix, and use the same smarthost directive in main.cf (or master.cf, can't recall which at the moment) Sendmail is arguably more powerful, Postfix is exponentially easier to configure. Good luck and welcome to Linux! Rubin On Apr 29, 2020 4:34 PM, Ron Lawrence <[email protected]> wrote: Hi folks, Tell me if posting question like this is out of bounds. I’m still relatively new to Linux—but I’m managing my own servers. I’m running Debian 9 and working in PHP. The application I’m working on needs to be able to send emails. PHP requires an MTA to be installed for its mail() function to work. I’ve installed SendMail, but I’m getting lost in what documentation I have found for configuration. I’m wondering what people are using for an MTA and how you are solving the problem of mail servers junking your emails (because they don’t trust the source). My thought here is to use one of my email providers (Comcast, GoDaddy, or Gmail) for the SMTP service. But that means configuring the MTA to do that. Any advice would be appreciated. Thanks in advance, Ron Lawrence Publishers' Assistant [cid:[email protected]] http://pubassist.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__pubassist.com&d=DwMFAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=XhPPejuK-ndF0ewbiAdKOgZIOnUtjtc3nbtQY1d17dM&m=FJInrimM5T1yF1InfbKDP-6dNhe9qSRemRJj7lt7Utw&s=w2pnMh0IT6-eawRyahFPuFp7O2NaH0riRCmClfEcjGs&e=> ph: 800-310-8716
