Raul,
For setting up email on ubuntu, see:
https://help.ubuntu.com/community/Postfix
For OpenACS email configuration, see the config.tcl file. There's also the Kernel package parameters on your local OpenACS installation at /admin/site-map/ (near bottom of page).
cheers,
Torben