1

Topic: Imapsync Superuser

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.0
- Linux/BSD distribution name and version: CentOS release 5.5 (Final)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? yes
- Related log if you're reporting an issue:
====

HI,
We have to migrate some mailbox from ired to other service via imapsync.
Ther's a way to make a Superuser that can read from all mailbox ?

thanks

----

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

2

Re: Imapsync Superuser

We have a tutorial for you:
http://www.iredmail.org/docs/dovecot.master.user.html

3 (edited by bluecat129 2015-10-23 18:30:25)

Re: Imapsync Superuser

f.bovi@flagmail.it wrote:

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.0
- Linux/BSD distribution name and version: CentOS release 5.5 (Final)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? yes
- Related log if you're reporting an issue:
====

HI,
We have to migrate some mailbox from ired to other service via imapsync.
Ther's a way to make a Superuser that can read from all mailbox ?

thanks



Hi!

have you successfully migrate using imapsync with a super user account?

we are also planning to migrate  our mail.

can you share the steps you've done,
Thanks!

4

Re: Imapsync Superuser

bluecat129 wrote:

have you successfully migrate using imapsync with a super user account?

Sure.

bluecat129 wrote:

can you share the steps you've done,

imapsync is easy to use, just use the dovecot master user ([real_email]*[dovecot_master_user]) as username.

5

Re: Imapsync Superuser

ZhangHuangbin wrote:
bluecat129 wrote:

have you successfully migrate using imapsync with a super user account?

Sure.

bluecat129 wrote:

can you share the steps you've done,

imapsync is easy to use, just use the dovecot master user ([real_email]*[dovecot_master_user]) as username.



Hi Zhang,

i don't have this config files on /etc/dovecot/dovecot-master-users-passwords

6

Re: Imapsync Superuser

Try this command:

dovecot -n | grep 'master'

You will find the real file on your server.

7

Re: Imapsync Superuser

ZhangHuangbin wrote:

Try this command:

dovecot -n | grep 'master'

You will find the real file on your server.


Hi Zhang,

i only have this..
  auth_socket_path = /var/run/dovecot/auth-master
  unix_listener auth-master {
  auth_socket_path = /var/run/dovecot/auth-master
  postmaster_address = root

I'm using iRedMail-0.8.3
I only have on my /etc/dovecot
conf.d
dovecot.conf
dovecot-mysql.conf
dovecot-used-quota.conf
dovecot-share-folder.conf
will this guide work with my iRedMail-0.8.3 version found at  http://it.mat.ucsb.edu/migrating-email-to-zimbra/

Configure a Master User in Dovecot:
Edit the Dovecot config file /etc/dovecot.conf
Add this line:
auth_master_user_separator = *
In the section:
auth default {
add the lines:
passdb passwd-file {
    args = /etc/dovecot/dovecot.master
    master = yes
}
Now create the admin user account. For my current server I had to specify SHA encryption.
# htpasswd -c -s /etc/dovecot/dovecot.master admin
New password:
Re-type new password:
Adding password for user admin

I'm afraid to test this on production i dont have test environment..
thanks

8

Re: Imapsync Superuser

You can check our sample settings here:
https://bitbucket.org/zhb/iredmail/src/ … ew-default