informatique:nix:linux:linux_iredmail

Ceci est une ancienne révision du document !


iRedMail

/!\ Backend OpenLDAP obligatoire, ça ne fonctionne pas en 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
  • informatique/nix/linux/linux_iredmail.1610466974.txt.gz
  • Dernière modification : 2021/01/12 16:56
  • de ben