[Postfixbuch-users] content filter

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Di Apr 29 13:06:29 CEST 2008


* edv <edv at dw-bonn.de>:
> Hallo Liste,
> 
> Ich benutze die Version 2.3.8-2 von Debian (Etch).
> 
> Als Content-Filter setze ich proxsmtpd mit spamc und clamsmtpd ein. Die
> Filter kommen in einer Access-Map (check_recipient_access) zum Einsatz,
> also kein globaler Content-Filter (content_filter=).

OK

> Mein Problem besteht jetzt nun darin, dass Emails die über ein
> PIPELINING versendet werden nicht gefiltert werden, also wenn jemand
> mehrere Empfänger deklariert. Gleiches gilt auch für CC und BCC.

Was "sieht" denn die Mail zuerst? proxsmtpd oder Postfix?
 
> Es scheint als würde Postfix keine Treffer in den Maps finden :-(
> Auch eine Deklaration in header_checks und body_checks scheint nicht zu funktionieren.

> Wenn ich statdessen das ganze aber global filtern lassen klappt es.

Immerhin.
Wie kommst Du auf PIPELINING?

> smtp                  inet  n       -       -       -       -       smtpd
> 0.0.0.0:125      inet  n       -       -       -       -       smtpd
>   -o smtpd_end_of_data_restrictions=check_recipient_access,hash:/etc/postfix/virus_filter_recipient_access
>   -o smtpd_authorized_xforward_hosts=127.0.0.1
> 0.0.0.0:225      inet  n       -       -       -       -       smtpd
>   -o smtpd_end_of_data_restrictions=check_recipient_access,hash:/etc/postfix/spam_filter_recipient_access
>   -o smtpd_authorized_xforward_hosts=127.0.0.1
> virus_filter        unix  -       -       -       -       -       smtp
>   -o smtp_send_xforward_command=yes
> spam_filter       unix  -       -       -       -       -       smtp
>   -o smtp_send_xforward_command=yes

Warum denn in den smtpd_end_of_data_restrictions?

> /etc/postfix/end_of_data_recipient_access:
>      postmaster at exa.example.de FILTER virus_filter:localhost:10025
> 
> 
> /etc/postfix/virus_filter_recipient_access:
>      postmaster at exa.example.de FILTER spam_filter:localhost:10026

Laut deiner Config sind die Filter aber auf port 125 und 225?!

-- 
Ralf Hildebrandt (Ralf.Hildebrandt at charite.de)          snickebo at charite.de
Postfix - Einrichtung, Betrieb und Wartung       Tel. +49 (0)30-450 570-155
http://www.arschkrebs.de
Eight hours of work and all I managed to do was learn that the only
reason they call it "Windows" is because prolonged usage makes you
want to throw your computer through one... 



Mehr Informationen über die Mailingliste Postfixbuch-users