All the details are available here.
FromOrTo: domain.com /usr/mailscanner/etc/filename.no.rules.confFor filetype.rules.rules add:
FromOrTo: domain.com /usr/mailscanner/etc/filetype.no.rules.confThe files /usr/mailscanner/etc/filename.no.rules.conf and /usr/mailscanner/etc/filetype.no.rules.conf should simply contain the following line:
allow . - -Make sure that you put tabs and not spaces between the parts of the above line.