On Thu, 26 Nov 2020 00:20:52 -0700 the...@sys-concept.com wrote:
> According to: > https://wiki.webevaluation.nl/sending_e-mail_with_ssmtp > ssmtp has no local e-mail so it can not send cron output to > /var/mail/user The manpage here says --- It does not do aliasing, which must be done either in the user agent or on the mail-hub. Nor does it honor .forwards, which have to be done on the recieving host. It especially does not deliver to pipelines. --- > > But from posting at: > https://unix.stackexchange.com/questions/69133/where-is-the-setting-for-sending-email-to-a-system-user-with-ssmtp > > Aliases for TO: addresses would normally need to be set in > /etc/aliases, but SSMTP doesn't read this! Instead, you need to edit > /etc/mail.rc and add a line such as alias root > root<yourn...@youremail.com> > > Can anybody verify it? Not right now, but what do you try to achieve? You can set email destination for cron with MAILTO=<yourn...@youremail.com> in your crontab, if sending mails from cron is your problem. cu Gerrit