Hi,

I use sendmail 8.14.15 with virtusertable for multiple domains and dovecot 2.0; and Apache (chrooted in /var/www)
I just want at the Roundcube login page, type user1@domain1 and send emails from this email : user1@domain1 without @localhost
Actually i can only log in with user1 and when i send email, i have user1@localhost

I tried this :
add these 2 lines in main.inc.php and cp /etc/mail/virtusertable in /var/www/roundcubemail/

$rcmail_config['plugins'] = array('virtuser_file');
$rcmail_config['virtuser_file'] = '/roundcubemail/virtusertable'; 
add a new user, try to connect with user_new@domain1 : no success
try to connect with user_new : OK but always send emails with @localhost

I read man pages, a lot of documents in Internet, it doesn't work for me.
Any idea ?

 

Thank you very much for your replies, your helps.

Wesley.

www.mouedine.net