change signup e-amil

I am trying to get the e-mail setup correctly. the e-mail is not sending out the ip addresses of the virtual server ip addresses. here is my current code:

Domain name: ${DOM}
Hosting server: ${HOSTNAME}
${IF-VIRT}
Virtual IP address: ${IP}
${ENDIF-VIRT}
Administration login: ${USER}
Administration password: ${PASS}
FTP:
Protocol: sftp
Port: 22
SFTP login: ${USER}
SFTP password: ${PASS}
${IF-WEBMIN}
Administration URL: ${WEBMIN_PROTO}://www.${DOM}:${WEBMIN_PORT}/
${ENDIF-WEBMIN}

${IF-WEB}
Website: http://www.${DOM}/
${IF-WEBALIZER}
Webalizer log reporting: Enabled
${ELSE-WEBALIZER}
Webalizer log reporting: Disabled
${ENDIF-WEBALIZER}

${ENDIF-WEB}
${IF-MAIL}
Email domain: ${DOM}
SMTP server: mail.${DOM}
POP3 server: mail.${DOM}
${IF-MX_SLAVES}
Backup SMTP servers: ${MX_SLAVES}
${ENDIF-MX_SLAVES}

${ENDIF-MAIL}
${IF-DNS}
DNS domain: ${DOM}
Nameserver: ${DNS_SERVER}
${IF-DNS_SLAVES}
Slave nameservers: ${DNS_SLAVES}
${ENDIF-DNS_SLAVES}

${ENDIF-DNS}
${IF-MYSQL}
MySQL database: ${DB}
MySQL login: ${MYSQL_USER}
${IF-MYSQL_PASS}
MySQL password: ${MYSQL_PASS}
${ELSE-MYSQL_PASS}
MySQL password: ${PASS}
${ENDIF-MYSQL_PASS}

${ENDIF-MYSQL}
${IF-POSTGRES}
PostgreSQL database: ${DB}
PostgreSQL login: ${USER}
PostgreSQL password: ${PASS}

${ENDIF-POSTGRES}

IP is only included if you’ve enabled a dedicated IP for the domain. It won’t be included for shared hosts.

I’m not sure if it is populated when on a shared IP; but you could try removing the IF-VIRT/ENDIF-VIRT and find out.