Hi, I tried to blank tables in roundcubemail database, done. But it still doesn't work. I can't login with user@domain I can only with : username And mails are sent with @localhost
I let you my main.inc.php file attached And the file /var/www/roundcubemail/virtusertable contain : user@domain user userx@domainx userx Thank you for your replies and your help. Wesley M. PS : OpenBSD 5.0 / rouncubemail package 0.5.3p1 -------- Original Message -------- Subject: Re: roundcubemail on openbsd 5.0 Date: Wed, 14 Dec 2011 21:35:49 +0000 From: Stuart Henderson <s...@spacehopper.org> To: "Wesley M." <open...@e-solutions.re> Cc: misc@openbsd.org, mwlu...@blackhelicopters.org, po...@openbsd.org Reply-To: po...@openbsd.org I have just tested this method with roundcube 0.7 on OpenBSD with a blank database and it works fine there, logging in with the full email address as specified in the left-hand column of the virtusertable file uses the username on the right-hand-side as the imap login name, and in prefs/identities it shows up the full list of sender addresses with a matching entry. Have you tried it with a blank database? Reply-to set to ports@, though you might do better with a roundcube forum instead if you still have problems.. On 2011/12/14 10:33, Wesley M. wrote: > Hi, > > I use sendmail 8.14.15 with virtusertable and procmail for multiple > domains and > dovecot 2.0; and Apache (chrooted in /var/www) > MAILDIR : /var/mailserver/%u/ > IMAP/POP3/IMAPS/POP3S works. > 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 > > On Tue, 13 Dec 2011 20:48:16 +0000, Stuart Henderson <s...@spacehopper.org> > wrote: > > On 2011/12/13 15:28, Michael W. Lucas wrote: > >> 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. > > > > It has some special support for looking up usernames from a file > > in virtusertable format. Can't say I've used it myself though.. > > > >> Using a mail client other than roundcube, can you authenticate to the > >> server using user@domain, and send mail from user@domain? > > > > Had Wesley followed the advice in my email about where to look > > in the config file etc. he would probably have it working by now. > > > >> > > 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. [demime 1.01d removed an attachment of type application/octet-stream which had a name of main.inc.php]