On 1/31/2014 5:38 PM, Thijssen wrote: > Has someone already done this using header_checks? > If so, please post the example you use. > I'm getting fed up with those sneaky bastards trying to convince my > parents to click on their attachments. But still need to allow > incoming .zip attachments if they're larger than, say, 80 kbytes. > > Who in their right mind would want to zip a file with such small size anyway? > > /name=[^>]*\.(exe|zip)/ REJECT > > TIA >
You'll need to use a content filter or milter of some type to do a two-factor check. header_checks works well for blocking attachment names, but has close to zero capability for conditional processing. -- Noel Jones