On Sat, Feb 15, 2020, 11:09 AM Chris Green, <[email protected]> wrote: > On Sat, Feb 15, 2020 at 07:59:21PM +1300, Peter wrote: > > On 15/02/20 10:31 am, Ian Evans wrote: > > > Hi, > > > > > > Just looking for a pointer to a recommended tutorial on setting up > > > Postfix as a send only service to be able to send alert emails from a > > > home server like smartmontools drive warnings etc. > > > > > > If this makes it easier, I do have a fully functional Postfix mail > > > server on my website server. Is there a way for the home server to send > > > its alert emails via the business server? Or should the home send-only > > > Postfix send through Gmail somehow? > > > > You're basically asking postfix to fill the roll of a null mailer. > Postfix > > can do this but there are other tools that are simpler to configure and > > better suited to that roll. I recommend msmtp: > > > > 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 anothername.example.com. >
