$ echo "BEEP BEEP" | mailx -s "Subject: This is a test!" tallharry84@gmail.com send-mail: cannot log to /var/log/msmtp.log: cannot open: Permission denied send-mail: log info was: host=smtp.gmail.com tls=on auth=on user=tallharry84 from=tallharry84@gmail.com recipients=tallharry84@gmail.com mailsize=229 smtpstatus=250 smtpmsg='250 2.0.0 OK 1652063682 bh2-20020a170902a98200b0015e8d4eb2desm5726348plb.296 - gsmtp' exitcode=EX_OK $