26

Re: iredmail with active directory

How about just follow our tutorial below?
http://www.iredmail.org/docs/active.directory.html

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

27

Re: iredmail with active directory

Hiya,

How to I stop when a user logs on the webmail portal with just the username, they log on as username@127.0.0.1. But if they log on as username@domail.com it works. I need to stop the @127.0.0.1 and get them to just use their username to log on.
I whipped the box and started from scratch and added all the changes mentionned before in this guide but still not joy

28

Re: iredmail with active directory

Check this tutorial:
http://www.iredmail.org/docs/authentica … .name.html

You need to comment out the settings mentioned in tutorial.

29

Re: iredmail with active directory

I done that but still if I log on as username only then its logging me as username@127.0.0.1. If I log on as username@domain.com then it works. I would not mind getting users to log on with the full email address but I need to stop users to be able to log on as username just as this logs them as username@127.0.0.1.

30

Re: iredmail with active directory

rajbps wrote:

if I log on as username only then its logging me as username@127.0.0.1

I cannot reproduce this issue with Roundcube (version 1.2.2) -- if i login with just username, i cannot login at all.

31

Re: iredmail with active directory

Please show us output of commands below:

doveconf -n | grep 'auth_default_realm'
grep 'username_domain' /var/www/roundcubemail/config/config.inc.php
grep 'username_domain' /var/www/roundcubemail/config/defaults.inc.php

32

Re: iredmail with active directory

Ok here is the output as requested:

[root@mailer ~]#
[root@mailer ~]# doveconf -n | grep 'auth_default_realm'
[root@mailer ~]#
[root@mailer ~]#
[root@mailer ~]# grep 'username_domain' /var/www/roundcubemail/config/config.inc.php
[root@mailer ~]#
[root@mailer ~]#
[root@mailer ~]# grep 'username_domain' /var/www/roundcubemail/config/defaults.inc.php
$config['username_domain'] = '';
// Force domain configured in username_domain to be used for login.
// Any domain in username will be replaced by username_domain.
$config['username_domain_forced'] = false;
  //       address, uses the username_domain value if not an email address.
[root@mailer ~]#
[root@mailer ~]#
[root@mailer ~]#

33

Re: iredmail with active directory

I have same setting, and it works fine for me (except i run Roundcube 1.2.2).

34

Re: iredmail with active directory

I get one of the support tickets and provide you ssh access. When would you be able to connect pls

35

Re: iredmail with active directory

rajbps wrote:

I get one of the support tickets and provide you ssh access. When would you be able to connect pls

I have same settings and works for me, it's better for you to upgrade to Roundcube 1.2.2 first and try again. If it still doesn't work, buy our support ticket and give me direct ssh access. Contact us: http://www.iredmail.org/support.html

36

Re: iredmail with active directory

Hiya,

I downloaded the latest roundcube and tried to follow the instructions as : ./bin/installto.sh <TARGET-FOLDER>

./bin/installto.sh /var/www/roundcube-1.2.0/


[root@mailer roundcubemail-1.2.2]# bin/installto.sh /var/www/roundcubemail-1.2.0/
Upgrading from 1.2.0. Do you want to continue? (y/N)
y
Copying files to target location...done.

and it does not go very far. I even tried to run the upgrade manually afterwards:

[root@mailer roundcubemail-1.2.0]# cd bin/
[root@mailer bin]# ls
cleandb.sh    dumpschema.sh     installto.sh     msgexport.sh  update.sh
cssshrink.sh  gc.sh             jsshrink.sh      msgimport.sh
decrypt.sh    indexcontacts.sh  makedoc.sh       updatecss.sh
deluser.sh    initdb.sh         moduserprefs.sh  updatedb.sh
[root@mailer bin]# ./update.sh
What version are you upgrading from? Type '?' if you don't know.
?
Executing database schema update.
This instance of Roundcube is up-to-date.
Have fun!
[root@mailer bin]# reboot

and a reboot but when I got on the webinterface, it says 1.2.0 still

Am I missing a trick?

Rajbps

37

Re: iredmail with active directory

rajbps wrote:

[root@mailer roundcubemail-1.2.2]# bin/installto.sh /var/www/roundcubemail-1.2.0/

Install package 'rsync' first, then run this command again.

38

Re: iredmail with active directory

Ok got the support ticket. Could you confirm your ip address so that I can add it on the firewall and get you ssh access. Also I default the server back to blank ie clean install.

39

Re: iredmail with active directory

hi Zhang,

Having a lot of issues with Sogo. I send the logs could you advise please?

Rajbps