roundcube fails to send outgoing emails

I installed the roundcube script on some virtual domains on my server, none of them can send out emails: I get the error "failed to send message".
I suppose the problem is caused by postfix, any idea of what I must change in the postfix configuration (from the default) to make it work?

Status: 
Closed (fixed)