The following substitutions can be used here. They will be replaced with the actual values from the user when the template is used :

${DOM} The domain name, such as foo.com
${MAILBOX} The mailbox name, such as bob
${USER} The full IMAP/SMTP login, such as bob-foo
${HOME} The mailbox's home directory, like /home/foo/homes/bob
${PLAINPASS} The new mailbox's password
${QUOTA} Disk quota assigned to the new mailbox
In addition, conditional blocks like ${IF-FTP}...${ELSE-FTP}...{$ENDIF-FTP} may be used.