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

`${DOM}` | The domain name, such as `foo.com`
`${IP}` | The virtual server's IP address, like `1.2.3.4`
`${DNS_IP}` | The virtual server's external IP address, used in DNS records
`${USER}` | The server's administration login, such as `foo`
`${GROUP}` | The Unix group for this virtual server.
`${UID} and ${GID}` | The server's Unix user ID and group ID respectively
`${HOME}` | The server's home directory, like `/home/foo`
`${EMAILTO}` | The virtual server's contact email address
`${PARENT}` | If this is a sub-server, the unique ID of the parent domain.
`${ALIAS}` | If this is an alias, the unique ID of the target domain.
`${ID}` | The unique numeric ID for this domain.
`${CREATED}` | The timestamp at which this domain was created.
`${DB}` | MySQL or PostgreSQL database name.

In addition, conditional blocks like ${IF-MAIL}...${ENDIF-MAIL} and ${IF-WEB}...${ELSE-WEB}...{$ENDIF-WEB} may be used.