On Fri, May 31, 2013 at 06:46:50PM +0200, Simon B wrote:

> smtp      inet  n       -       -       -       -       smtpd -v
>    -o receive_override_options=
> cleanup   unix  n       -       -       -       0       cleanup -v
> 
> #Stop Postfix from cleaning emails before sending to amavis
> pre-cleanup unix n - n - 0 cleanup
>         -o virtual_alias_maps=
>         -o canonical_maps=
>         -o sender_canonical_maps=
>         -o recipient_canonical_maps=
>         -o masquerade_domains=
> 
> #Regular messsages can get cleaned up
> cleanup unix n - n - 0 cleanup -v
>         -o mime_header_checks=
>         -o nested_header_checks=
>         -o body_checks=
>         -o header_checks=
> 
> smtp inet n - n - - smtpd
>         -o cleanup_service_name=pre-cleanup

That's because you also have a second smtpd, which is configured to use
pre-cleanup, and pre-cleanup hash virtual_laias_maps turned off.

Last entry wins.

-- 
        Viktor.

Reply via email to