I have Roundcube elsewhere. It basically runs like any other IMAP/pop3 client, e.g., communicates over port 110/995/whatever. My roundcube install isn't actually on my mail server.
This leads me to think that copying system files into the chroot isn't going to help. Using a mail client other than roundcube, can you authenticate to the server using user@domain, and send mail from user@domain? ==ml On Mon, Dec 12, 2011 at 04:37:50PM +0400, Wesley M. wrote: > 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. -- Michael W. Lucas http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/ Latest book: Network Flow Analysis http://www.networkflowanalysis.com/ mwlu...@blackhelicopters.org, Twitter @mwlauthor