block pdf file

Q. How do I block all PDF or ZIP files attachments under Postfix Mail Server? A. You can easily block email attachments using mime header check. Open postfix config file Login as the root, enter: # vi /etc/postfix/ Block zip or pdf files Use mime_header_checks postfix config directive, enter: mime_header_checks = regexp:/etc/ostfix/block_attachments Save and close […]