Added registry entry 'mail_domain' in upgrade step to 2000.