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 <[email protected]>
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.