I have followed all the instruction in this link http://www.howtoforge.com/forums/showthread.php?t=2
i was unable to do : postmap /etc/postfix/virtusertable i got instead :
bash: postmap: command not found
so i restarted postfix with /etc/init.d/postfix restart that was ok and then restared ispconfig with /etc/init.d/ispconfig_server restart that was ok too.
now this is what i have :
sample_user is a user in the ISPconfig system who has the following email address : firstname.lastname@example.org
now i'm able to receive emails sent to email@example.com
but when i send emails to firstname.lastname@example.org
from webmail i have the following in the inbox :
From: Mail Delivery System
Subject: Undelivered Mail Returned to Sender
I think the problem is with postmap which is not working, any clue?