#REJECT
#DOMAIN rootdomain.info
user1@rootdomain.info
user2@rootdomain.info
user3@rootdomain.info
user4@rootdomain.info
user5@rootdomain.info
#DOMAIN anotherrootdomain.info
user1@anotherrootdomain.info
user2@anotherrootdomain.info
user3@anotherrootdomain.info
#GROUP virtualdomain.anotherrootdomain.info GROUP-ONLY
vduser1@anotherrootdomain.info
vduser'2@anotherrootdomain.info
#END_OF_FILE

 

The example above works properly keep in mind all keywords need to be in CAPS. In the xample the virtual domain listed is a "child" of "anotherrootdomain.info" as it falls directly under that domain in the file as opposed to under the first domain listed.

Apostrophes in the user name are fine without any need to use double quotes around them or the name.

NON-RFC compliant characters in the username section will cause parsing errors resulting in the need to reupload a properly formed SFTP file to re-enable virtual domain routing properly.  See http://en.wikipedia.org/wiki/Email_address#Invalid_e-mail_addresses.  The same applies for international character sets see http://en.wikipedia.org/wiki/Email_address#Internationalization.

The following would be an example of an SFTP file where the list is not set to REJECT but to REJECT-TEST-MODE instead.  This allows testing to see if this would work as expected by sending notifications of emails that would have been blocked to the notfication address in the admin center.

#REJECT-TEST-MODE
#DOMAIN domain.com
user1@domain.com
user2@domain.com
user3@domain.com
user4@domain.com
#END_OF_FILE

The following again shows some grouping orders.  In this example virtualdomaina.com would actually be a child of domainb.com due to the location in the file.

#REJECT
#DOMAIN domaina.com
User1@domaina.com
User2@domaina.com
User3@domaina.com

#DOMAIN domainb.com
User1@domainb.com
User2@domainb.com
User3@domainb.com

#GROUP virtual.domaina.com GROUP-ONLY
User4@domaina.com
User5@domaina.com
User6@domaina.com
#END_OF_FILE

Whereas in the following example virtualdomaina.com would be a child of domaina.com as it is directly below domaina.com

#REJECT
#DOMAIN domaina.com
User1@domaina.com
User2@domaina.com
User3@domaina.com

#GROUP virtual.domaina.com GROUP-ONLY
User4@domaina.com
User5@domaina.com
User6@domaina.com

#DOMAIN domainb.com
User1@domainb.com
User2@domainb.com
User3@domainb.com
#END_OF_FILE