[yocto] Sending mail from embedded device

Jack Mitchell ml at communistcode.co.uk
Tue Aug 6 08:00:56 PDT 2013


On 06/08/13 15:50, Mark Hatle wrote:
> On 8/6/13 9:41 AM, Jack Mitchell wrote:
>> On 06/08/13 15:31, Gary Thomas wrote:
>>> My embedded device needs to send out email.
>>>
>>> I've looked around a bit and I don't see any recipes for a
>>> mail sender, e.g. sendmail or postfix, for Yocto (OE-core).
>>>
>>> Have I missed something?  Does anyone have any suggestions?
>>>
>>> Surely my application isn't the first that wants to send email...
>>>
>>
>> Would recipes-extended/msmtp do the job? Do you need to run the whole
>> mail stack or is pushing out emails to an smtp server adequate?
>>
> 
> msmtp is provided specifically to be able to send email out.  It should
> produce a binary called "sendmail" that is capable of simply sending
> email (and conforming to LSB requirements.)
> 
> --Mark

Colour me impressed, I didn't realise it was also a drop-in for sendmail.


-- 
  Jack Mitchell (jack at embed.me.uk)
  Embedded Systems Engineer
  Cambrideshire, UK
  http://www.embed.me.uk
--



More information about the yocto mailing list