> Sorry I should have been more specific I have the virus in a file called
> Message.zip I'm trying to stop by file name of the attachment neither of
> these seems to work.  Additionally after updating the body_checks.regexp
> file do I need to postmap or something else (I have thought so in the
past)


Something else.

After making regexp changes, postfix reload.

> /^Content-Disposition: attachment; filename="Message\.zip"/ REJECT
> Attachment name
> /^(content.*[[:space:]]+|[[:space:]]*)(filename|name)="Message\.zip"/
REJECT

Wouldn't that be a mime header check?

postconf | grep mime

See what you get.

--Eric


Reply via email to