Uppercased variable.
Removed main domain, postfix and dovecot shouldn't work off domain.com as this could be pointed anywhere. This should actually be the machine hostname e.g panel.mydomain.com. Incremented to beta 7.