Mailinglist Archive: opensuse-security (757 mails)

< Previous Next >
postfix content filtering
hi to all,

i configured postfix to check header and body for special filenames. but the emails are not rejected. in are the following lines:
header_checks = pcre:/etc/postfix/pseudo_content_filter
body_checks = pcre:/etc/postfix/pseudo_content_filter

in /etc/postfix/pseudo_content_filter are lines like
/^.*filename=.*\.jpg.*$/ REJECT

if something like filename="Winter.jpg" is in the body or in the subject, the message is rejected. but mails with headers like
Content-Disposition: attachment;
Content-Transfer-Encoding: base64
Content-Type: image/jpeg;
Date: Fri, 25 Jan 2002 10:00:03 +0100

still get delivered. what am i missing?

thanks in advance,

< Previous Next >
This Thread
  • No further messages