Simon a écrit :
> [snip]
> OK.. sorry, just wanted to understand the issue. I have now changed this:
> 
> 127.0.0.1:10025 inet n  -       n     -       -  smtpd
>     ......
>     -o 
> receive_override_options=no_header_body_checks,no_unknown_recipient_checks
> 
> to this:
> 
> 127.0.0.1:10025 inet n  -       n     -       -  smtpd
>     ......
>     -o 
> receive_override_options=no_address_mappings,no_header_body_checks,no_unknown_recipient_checks
> 
> And it works a treat! Thank you. So it works, but did i use
> no_address_mappings correct in this case?
> 

yes, it's ok.

Although most people do that (no_address_mappings) before amavis, so
that amavis and spamassassin see the addresses before they are
rewritten. and also to avoid expanding large aliases at the filtering
stage. but if you have per (final) recipient spam checks, then  you want
rewrite before the filter (which is what you have now).

Reply via email to