informatique:nix:linux:linux_iredmail

imapsync

 git clone https://github.com/imapsync/imapsync.git
 /root/imapsync/imapsync --host1 mail.toto.fr --port1 993 --ssl1 --user1 toto@toto.fr --password1 'PASSWORD' --host2 mail2.toto.fr --user2 toto@toto.fr --password2 'PASSWORD' --delete2

iRedMail

/!\ Backend OpenLDAP obligatoire, ça ne fonctionne pas (encore) avec MySQL/MariaDB.

ldapmodify -x -D "cn=vmailadmin,dc=toto,dc=fr" -f /tmp/alias.add.ldif -w <ldap_admin_password>
  • /tmp/alias.add.ldif
dn: mail=email@toto.fr,ou=Users,domainName=toto.fr,o=domains,dc=toto,dc=fr
changetype: modify
add: shadowAddress
shadowAddress: alias@toto.fr
  • /tmp/alias.del.ldif
dn: mail=email@toto.fr,ou=Users,domainName=toto.fr,o=domains,dc=toto,dc=fr
changetype: modify
delete: shadowAddress
shadowAddress: alias@toto.fr
  • Pour la prise en compte
systemctl restart slapd.service
systemctl restart mlmmjadmin
  • Penser à passer à YES le paramètre ci-dessous dans /etc/sogo/sogo.conf :
 SOGoMailCustomFromEnabled = YES;
systemctl restart sogo

SOGo



  • informatique/nix/linux/linux_iredmail.txt
  • Dernière modification : 2021/01/18 09:50
  • de ben