Re: Emailing from a daemon process
Re: Emailing from a daemon process
- Subject: Re: Emailing from a daemon process
- From: Jens Alfke <email@hidden>
- Date: Thu, 07 Jul 2016 10:46:16 -0700
> On Jul 7, 2016, at 10:01 AM, Carl Hoefs <email@hidden> wrote:
>
> I seem to recall that in the distant past I accomplished issuing emails from a daemon process on Linux by directly interfacing to /usr/sbin/sendmail. Is this the 'Postfix mail tools' you mentioned?
Yes, and sendmail on macOS is just a front-end to the Postfix system. The trouble is that Postfix isn’t actually configured, so it looks like all sendmail will do is write the email to a mail queue that’s not being processed by anything. (You can read the main page for sendmail for details.)
You can set up Postfix without much trouble, but I assume you want your daemon to work on anyone’s machine without them having to spend 5 minutes mucking about with command-line tools first...
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden