Send email to root

Send email to root

Hello,

I have some issue with change email recipient. I use your SMTP. I have some cron job from user root. I want to get email when job is done. So I set my aliases:

vim /etc/aliases:
root:  info@mydomain.com

then enter: newaliases

Test on my vps: echo "Test" | mail -s "Test " root

But I get error:

Feb  5 14:31:14 31685 postfix/pickup[18872]: 6ACC4115E2A44: uid=0 from=<root>
Feb  5 14:31:14 31685 postfix/cleanup[19757]: 6ACC4115E2A44: message-id=<20170205123114.6ACC4115E2A44@mydomain.com>
Feb  5 14:31:14 31685 postfix/qmgr[12542]: 6ACC4115E2A44: from=<info@mydomain.com>, size=299, nrcpt=1 (queue active)
Feb  5 14:31:14 31685 postfix/local[19759]: 6ACC4115E2A44: to=<info@mydomain.com>, orig_to=<root>, relay=local, delay=0.06, delays=0.05/0.01/0/0, dsn=5.1.1, status=bounced (unknown user: "info")
Feb  5 14:31:14 31685 postfix/cleanup[19757]: 7736A115E2AFE: message-id=<20170205123114.7736A115E2AFE@mydomain.com>
Feb  5 14:31:14 31685 postfix/bounce[19760]: 6ACC4115E2A44: sender non-delivery notification: 7736A115E2AFE
Feb  5 14:31:14 31685 postfix/qmgr[12542]: 7736A115E2AFE: from=<>, size=2080, nrcpt=1 (queue active)
Feb  5 14:31:14 31685 postfix/qmgr[12542]: 6ACC4115E2A44: removed
Feb  5 14:31:14 31685 postfix/local[19759]: 7736A115E2AFE: to=<info@mydomain.com>, relay=local, delay=0, delays=0/0/0/0, dsn=5.1.1, status=bounced (unknown user: "info")
Feb  5 14:31:14 31685 postfix/qmgr[12542]: 7736A115E2AFE: removed

Any solution?

Br,