Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


iredmail_restore_from_ldif

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
iredmail_restore_from_ldif [2015/04/06 20:04] – [iRedMail (OpenLDAP) restore from LDIF] adminiredmail_restore_from_ldif [2015/04/06 20:05] – [iRedMail (OpenLDAP) restore from LDIF] admin
Line 19: Line 19:
   * Set correct permissions and restart slapd:<code>chown ldap. /var/lib/ldap/<yourdomain>/*.bdb   * Set correct permissions and restart slapd:<code>chown ldap. /var/lib/ldap/<yourdomain>/*.bdb
 systemctl restart slapd</code> systemctl restart slapd</code>
-  * Change passwords from iRedMail.tips file:<code>#cn=vmail,dc=xxx,dc=xxx+  * Change passwords for vmail and vmailadmin (see iRedMail.tips file):<code>#cn=vmail,dc=xxx,dc=xxx
 #cn=vmailadmin,dc=xxx,dc=xxx #cn=vmailadmin,dc=xxx,dc=xxx
  
 ldappasswd -x -h localhost -D "cn=Manager,dc=<yourdomain>,dc=com" -w <rootpass> -s <userpass> "cn=vmail,dc=<yourdomain>,dc=com" ldappasswd -x -h localhost -D "cn=Manager,dc=<yourdomain>,dc=com" -w <rootpass> -s <userpass> "cn=vmail,dc=<yourdomain>,dc=com"
 ldappasswd -x -h localhost -D "cn=Manager,dc=<yourdomain>,dc=com" -w <rootpass> -s <userpass> "cn=vmailadmin,dc=<yourdomain>,dc=com"</code> ldappasswd -x -h localhost -D "cn=Manager,dc=<yourdomain>,dc=com" -w <rootpass> -s <userpass> "cn=vmailadmin,dc=<yourdomain>,dc=com"</code>
iredmail_restore_from_ldif.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1