archer2000
New Pleskian
I created a new customer with a subscription. As far as I see, this user will be the linux user as well. Now, I would like to be able to send (system) mails to that user. I tried:
(1) .forward-file in the home directory of the user
(2) Adding the user to /etc/aliases
(3) Adding the user to /var/spool/postfix/plesk
(2) and (3) with
- postmap -s aliases > aliases
- newaliases / postmap hash:aliases
Always I am getting such an error (I used mail test as root-user):
Oct 8 23:07:11 servername postfix/pickup[4994]: 05B8C1AE64C8: uid=0 from=<root>
Oct 8 23:07:11 servername postfix/cleanup[5002]: 05B8C1AE64C8: message-id=<20121008210711.05B8C1AE64C8@servername.myserver.net>
Oct 8 23:07:11 servername postfix/qmgr[4995]: 05B8C1AE64C8: from=<root@servername.myserver.net>, size=374, nrcpt=1 (queue active)
Oct 8 23:07:11 servername postfix/error[5256]: 05B8C1AE64C8: to=<test@servername.myserver.net>, orig_to=<test>, relay=none, delay=0.41, delays=0.34/0/0/0.07, dsn=5.0.0, status=bounced (User unknown in virtual alias table)
Where I have to add the user?
(1) .forward-file in the home directory of the user
(2) Adding the user to /etc/aliases
(3) Adding the user to /var/spool/postfix/plesk
(2) and (3) with
- postmap -s aliases > aliases
- newaliases / postmap hash:aliases
Always I am getting such an error (I used mail test as root-user):
Oct 8 23:07:11 servername postfix/pickup[4994]: 05B8C1AE64C8: uid=0 from=<root>
Oct 8 23:07:11 servername postfix/cleanup[5002]: 05B8C1AE64C8: message-id=<20121008210711.05B8C1AE64C8@servername.myserver.net>
Oct 8 23:07:11 servername postfix/qmgr[4995]: 05B8C1AE64C8: from=<root@servername.myserver.net>, size=374, nrcpt=1 (queue active)
Oct 8 23:07:11 servername postfix/error[5256]: 05B8C1AE64C8: to=<test@servername.myserver.net>, orig_to=<test>, relay=none, delay=0.41, delays=0.34/0/0/0.07, dsn=5.0.0, status=bounced (User unknown in virtual alias table)
Where I have to add the user?