From: Alex van den Bogaerdt (no email)
Date: Wed Sep 01 2004 - 17:33:53 EDT
On Wed, Sep 01, 2004 at 09:36:10PM +0000, Voytek Eymont wrote:
> a few times now, I'm rejecting emails with a body check, with a 'suspicious
> extension' failure, where, apparently, the email do not contain any
> attachement.
> Unfortunately, I've been unable to obtain a copy of the mssg that trips the
> rule.
>
> can anyone spot the fault ?
>
>
>
> body_check
> # Rejeitar attachments malignos (nao confiaveis):
> #/(name|filename)=.*\.(bat|com|lnk|asd|shb|vb|wsf|pif|scr|chm|hta|shs|vbs|vbe|js|jse)/
> REJECT attachement with doubtful extension
You are checking:
name<anything>.com
> log error:
>
> Sep 1 17:04:43 koala postfix/cleanup[23724]: 3A688238515: reject: body
> name=3D"PersonName" downloadurl=3D"http://www.microsoft.com"/> from
^^^^ ^^^^
> mail-10.iinet.net.au[203.59.3.42]; from=<>
> to=<> proto=SMTP helo=<mail.iinet.net.au>:
> attachement with doubtful extension
Not related to your problem but nevertheless:
/(name|filename)=/
Check for "name", with or without "file" prepended. Why not just "name=" ?
HTH
Alex
-- I ask you to respect any "Reply-To" and "Mail-Follow-Up" headers. If you reply to me off-list, you'd better tell me you're doing so. If you don't, and if I reply to the list, that's your problem, not mine.
|
|
|