nik600 a écrit :
> On Mon, Jan 4, 2010 at 12:52 PM, nik600 <nik...@gmail.com> wrote:
>> Dear all
>>
>> i've installed a postfix server with mysql support.
>>
>> i've also set-up a custom filter script shell that calls spamc and
>> some other custom utils, this script cannot handle multiple
>> recipients, so i've set
>>
>> filter_destination_recipient_limit = 1
>>
>> The problem that i've experienced is that when i've got an entry like
>> this in the alias table:
>>
> 
> I've also tried to change master.cf like:
> 
> smtp      inet  n       -       n       -       -       smtpd
>         -o content_filter=filter:dummy
>        -o receive_override_options=no_address_mappings
> 9009      inet  n       -       n       -       -       smtpd
>         -o content_filter=filter:dummy
>        -o receive_override_options=no_address_mappings
> 
> This fix the problem for the forward, but stops to apply custom spam
> settings, infact in that case the filter is called only for
> forwar...@foo.com and obviosly it doesn't load any custom spam option
> of
> 
> i...@foo.com
> f...@yahoo.it
> f...@libero.it
> 
> Is it possible to avoid that?
> 

if you want your filter to see rewritten addresses, remove the
no_address_mappins option from before-the-filter smtpd listeners and put
it in the after-the-filter smtpd listener(s).


Reply via email to