New Zealand ADSL Mailing List


Re: JetStream bill for a several thousand dollars

From: M.Negovanovic <milosn_at_bmf.bounceme.net>
Date: Sat, 11 Oct 2003 20:04:53 +1300
Message-ID: <20031011070453.GA27227@bmf.bounceme.net>

On Sat, Oct 11, 2003 at 05:43:39PM +1300, Volker Kuhlmann wrote:
> I don't see how the suggested mime header check for postfix could
> possibly work, the mime-headers you want to look at, like
>
> Content-Type: audio/x-wav; name="cpbs.com"
>
> are all in the body, the email header only contains
>
> Content-Type: multipart/alternative;
>
> so you will have to read the whole email in the first place. Or is
> postfix able to repeat the header check as soon as it has read the
> start of each mime part, and skipping the remaining body as soon as it
> enounters the x-wav? This wouldn't skip the whole body, but the bulk of
> it.

Hi,

in postfix2 u have 2 options:

header_checks
mime_header_checks

second one is more fun :) and behaves like u described. So yeah it does
accept a bit of the email body but as soon as the first attachment is
matched positive against the filter in /etc/postfix/mime_header_checks
the mail is rejected.

Regards
Milos

-- 
This message is part of the NZ ADSL mailing list. 
see http://unixathome.org/adsl/ for archives, FAQ, 
and various documents. 
To unsubscribe: send mail to majordomo@lists.unixathome.org 
with "unsubscribe adsl" in the body of the message 
 
Received on Sat Oct 11 20:05:06 2003

This archive was generated by hypermail 2.2.0 : Thu Nov 30 11:48:26 2006 EST