I Agree with Marc ;) have someone else manage the reputation and sending for you, but if you must, i would secure postfix - use TLS, setup DKIM and also use SPF records, and have a system for tracking when an email is bounced from a destination so you can block sending to that address to keep your reputation good.. aaand if that sounds like a lot of work, including making it resilient to various hardware/infrastructure/software failure modes, then probably go with a SMTP service or API. my .02
-Andy On Sat, May 2, 2020 at 12:54 PM Marcantonio Rendino <[email protected]> wrote: > I'm not sure what that's asking, however SendGrid can accept email via > either API or SMTP - so, for example, in the latter case, whatever bit of > code wants to send an email, does so via a SendGrid hostname vs. a local > one; that simple. > > > On May 2, 2020, at 10:21 AM, Joe Golden <[email protected]> wrote: > > > > Does this mean no smarthost? > > > > On Fri, May 01, 2020 at 02:08:58PM -0400, Marcantonio Rendino wrote: > >> You correctly focus on one of the core issues: deliverability. Which is > a moving target and requires time and effort to address - no one should be > running their own mailserver anymore. (I've done it professionally - and I > wouldn't recommend that either -- too much pain.) > >> > >> https://sendgrid.com/free/ <https://sendgrid.com/free/> - let someone > else worry about these commoditized details -- same as we don't solder our > own motherboards anymore. > >> > >>> On Apr 29, 2020, at 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 > >>> > >>> <image001.jpg> > >>> > >>> http://pubassist.com <http://pubassist.com/> > >>> ph: 800-310-8716 > >>> > >> > > > > -- > > Joe Golden /_\ www.Triangul.us /_\ Coding, Drupalism, Open Sourcery >
