<div dir="ltr"><div><div><div><div>Rather than composing the email message from scratch, including the headers, I use the 'mail' program on Linux (or mailx).<br><br></div>Several packages offer such a program. It used to be heirloom-mailx until 14.04. Now with 16.04, the package is s-nail.<br><br></div>Either way, you get a program called 'mail'. And you use it like so:<br><br></div>echo body | mail -s "subject" name@domain.dom<br><br></div>That way, you can email yourself from any scripts that need to.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 31, 2017 at 2:16 PM, B. S. <span dir="ltr"><<a href="mailto:bs27975@gmail.com" target="_blank">bs27975@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I believe this has now probably been solved.<br>
<br>
gmail wants addresses in the body of the message, not just the headers.<br>
<br>
So: echo Body | sendmail -s Subject <a href="mailto:recipient@example.com" target="_blank">recipient@example.com</a><br>
<br>
is insufficient, even though all msg headers are proper.<br>
<br>
Instead: echo -e "From: <a href="mailto:me@mine.com" target="_blank">me@mine.com</a>\nTo: the@other.guy\nSubject: Topic\nBody" | sendmail <a href="mailto:recipient@example.com" target="_blank">recipient@example.com</a><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 03/30/2017 12:00 PM, B.S. wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So on a Debian Jessie machine, I'm trying to get system notification<br>
mail messages out to real e-mail so I actually find out something<br>
happened. Like an unattended-upgrade failure.<br>
<br>
I understand that default installs auto install localhost mail<br>
facilities only. So I've installed msmtp and it's largely entirely working.<br>
<br>
However, e-mail to gmail accounts never seem to land. @<a href="http://live.ca" rel="noreferrer" target="_blank">live.ca</a> just<br>
works, instantly even. Yahoo and another non-gmail provider too.<br>
<br>
In all cases, <a href="http://cpanel2.indieserve.net" rel="noreferrer" target="_blank">cpanel2.indieserve.net</a> swallows up the message without error.<br>
<br>
Just nothing ever arrives when sent to @<a href="http://gmail.com" rel="noreferrer" target="_blank">gmail.com</a>.<br>
<br>
Anyone have any ideas?<br>
<br>
Or is this something needing configuration on <a href="http://mail.kwlug.org" rel="noreferrer" target="_blank">mail.kwlug.org</a>, like DKIM,<br>
or some other bizarreness?<br>
<br>
Thanks for any thoughts.<br>
<br>
______________________________<wbr>_________________<br>
kwlug-disc mailing list<br>
<a href="mailto:kwlug-disc@kwlug.org" target="_blank">kwlug-disc@kwlug.org</a><br>
<a href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org" rel="noreferrer" target="_blank">http://kwlug.org/mailman/listi<wbr>nfo/kwlug-disc_kwlug.org</a><br>
</blockquote>
<br>
______________________________<wbr>_________________<br>
kwlug-disc mailing list<br>
<a href="mailto:kwlug-disc@kwlug.org" target="_blank">kwlug-disc@kwlug.org</a><br>
<a href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org" rel="noreferrer" target="_blank">http://kwlug.org/mailman/listi<wbr>nfo/kwlug-disc_kwlug.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Khalid M. Baheyeldin<br><a href="http://2bits.com" target="_blank">2bits.com</a>, Inc.<br>Fast Reliable Drupal<br>Drupal optimization, development, customization and consulting.<br>Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra<br>Simplicity is the ultimate sophistication. --   Leonardo da Vinci<br>For every complex problem, there is an answer that is clear, simple, and wrong." -- H.L. Mencken<br></div>
</div>