I think it would be better to loop on all ldapmodules, calling this, not only mail. You can create an empty preSlaveSetup method on LdapModule (as you do with slaveSetup).

What do you think about this?