All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Re: Sending mail from embedded device
Date: Tue, 06 Aug 2013 11:27:41 -0600	[thread overview]
Message-ID: <5201320D.1010506@mlbassoc.com> (raw)
In-Reply-To: <52011DDF.5090807@windriver.com>

On 2013-08-06 10:01, Mark Hatle wrote:
> On 8/6/13 10:00 AM, Jack Mitchell wrote:
>> 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.
>
> Drop in replacement for the 'sendmail' command, but it's not a drop-in for 'sendmail' the software.  (It only has sending capabilities from what I've been told, which is all that
> is required for the LSB certification.)

And almost enough for my needs.  Amanda wants to use an MTA that
works like the desktop 'mail', e.g.
   mail -s "subject" TO <body
I wrote a simple wrapper to use msmtp/sendmail and it works fine.

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


  reply	other threads:[~2013-08-06 17:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-06 14:31 Sending mail from embedded device Gary Thomas
2013-08-06 14:41 ` Jack Mitchell
2013-08-06 14:50   ` Mark Hatle
2013-08-06 15:00     ` Jack Mitchell
2013-08-06 16:01       ` Mark Hatle
2013-08-06 17:27         ` Gary Thomas [this message]
2013-08-06 18:39           ` Tomas Frydrych
2013-08-08  9:58             ` Tim Coote
2013-08-08 11:49               ` Gary Thomas
2013-08-08 19:54                 ` Tim Coote
2013-08-06 14:51   ` Gary Thomas
2013-08-06 15:13 ` Paul Eggleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5201320D.1010506@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.