On Sat, Feb 15, 2020 at 09:23:18PM +0000, Chris Green wrote: > On Sat, Feb 15, 2020 at 01:53:37PM -0500, Ian Evans wrote: > > > [2]https://marlam.de/msmtp/ > > > > > I'm not totally convinced that any of the simple/null mailers does > > the > > job either easily or well. I have a Beaglebone Black SBC on a small > > boat in France and it records data such as the battery voltages. I > > needed to set up outgoing mail so that if/when things went wrong I > > would receive E-Mail telling me. After trying several 'simple' > > mailers I ended up installing Postfix and, after somw quite simple > > configuration, it has 'just worked' ever since. > > -- > > Chris Green > > > > Thanks. Getting back to another part of my question, it's a bit unclear > > what I should set as the myhostname and mydomain in the config files. > > The machine name is buster. But its dynamic DNS address is > > [3]anothername.example.com. > > > My Beaglebone Black is connected via a WiFi hotspot and isn't visible > from outside at all. I just have myhostname set to a subdomain of a > domain I own, mydomain isn't explicitly set at all. > More to the point I see I have a comment at the top of main.cf that says:-
# N.B. for the aliases in /etc/aliases to work (and thus for cron errors to get # sent to me) the value in myorigin must match one of the entries in mydestination -- Chris Green