# mime_header_checks: example content filtering rules # # Add the following line to /etc/postfix/main.cf: # # mime_header_checks = regexp:/etc/postfix/mime_header_checks # # If it's an application type, scan it /^\s*Content-(Disposition|Type).*application\/(octet-stream|msword|mspowerpoint|msexcel|zip|x-bzip|x-gzip).*$/ FILTER scan:127.0.0.1:10026 # Clamav Daemon can catch HTML phishing scams as viruses! /^\s*Content-(Disposition|Type).*text\/html.*$/ FILTER scan:127.0.0.1:10026 # Paranoid!!! # /^\s*Content-(Disposition|Type).*(audio|image)\/.*$/ FILTER scan:127.0.0.1:10026