rejecting messages with attachments with postfix
Carla Schroder <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.pdxlug |
|---|---|
| Message-ID | <[email protected]> |
Ok gurus, can you find any flaws with using this regex to reject all messages with attachments in Postfix? /filename=\"/ REJECT take your sorry attachments elsewhere, luser Put this in a file and call it mime_header_checks Call it from main.cf with mime_header_checks = regexp:/etc/postfix/mime_header_checks It seems too easy to be true, or perhaps it's just too Draconian. Whatcha think? -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Carla Schroder this message brought to you by Libranet 2.8 and Kmail ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~