I tried this : cp /etc/mail/virtusertable /var/www/roundcubemail/ And changed in /var/www/roundcubemail/main.inc.php this line to $rcmail_config['virtuser_file'] = '/roundcubemail/virtusertable'; Add a new user.
Try it, only works with his username, and when i try to send emails, it comes from username@localhost Any idea ? > My first guess here would be that httpd is probably chrooted in which > case you're trying to access a file that is not available > >> When i try to connect using user@domain : >> error authentification >> and when i use just the username, there's @localhost >> attached to the username. > > See the config file, where it says "This domain will be used to > form e-mail addresses of new users". Note that it says *new*; > existing users will need to be changed in the database.