-------- Original-Nachricht --------
> Datum: Tue, 16 Dec 2008 12:45:31 +0100
> Von: Marcin Rzepecki <m.rzepe...@iem.pw.edu.pl>
> An: postfix-users@postfix.org
> Betreff: postfix+dspam+content_filter

> Hello, 
> 
> I have configured DSPAM to act as a deamon and bind it to Postfix via
> LMTP:
> # forward to dspam
> smtp      inet   n      -       n       -       -       smtpd
>        -o content_filter=lmtp:unix:/var/run/dspam/sock
> # back route from dspam
> 127.0.0.1:10026 inet  n -       n       -       -        smtpd
>   -o content_filter= -o smtpd_authorized_xforward_hosts=127.0.0.0/8
>   -o
> receive_override_options=no_unknown_recipient_checks,no_header_body_checks
>   -o smtpd_helo_restrictions= -o smtpd_client_restrictions= -o
> smtpd_sender_restrictions=
>   -o smtpd_recipient_restrictions=permit_mynetworks,reject -o
> mynetworks=127.0.0.0/8
> 
> It works fine, but such configuration makes Postfix to filter all messages
> that 
> are relayed to other domains too. That produces unneeded load and makes
> dspam to create new databases depend on message recipient, so it's very
> bad behavior :)
> How to make to filter only incoming mail for specific domains (e.g. from
> $my_destination) and let the other to be relayed without any checks?
> 
You could run DSPAM in OptIn mode and enable DSPAM to only filter for addresses 
you have opted-in.


> Greetings,
> 
// Steve
> -- 
> Marcin Rzepecki
> m.rzepecki(at)iem.pw.edu.pl

-- 
Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a

Reply via email to