[FINALLY SOLVED] Re: bypass spam check for local system mail

Indunil Jayasooriya indunil75 at gmail.com
Mon Sep 26 07:49:18 CEST 2016


exactly my issue ;) system mail like cronjobs, logdigest, apache and so on
> ... are send through sendmail or 'mail'
>
> to disable amavis / content filter on the pickup service we simply
> overwrite the default via
>
> pickup    fifo  n       -       n       60      1       pickup
>    -o content_filter=
>
> or we could also define filtering on a different post and specify a policy
> bank
>
> pickup    fifo  n       -       n       60      1       pickup
>    -o content_filter=amavis:[127.0.0.1]:10026
>
> $inet_socket_port = [10024,10026];  # listen on multiple TCP ports
>
> $interface_policy{'10026'} = 'LOCALHOST';
>
> $policy_bank{'LOCALHOST'} = {   # mail originating from @localhost postfix
> pickup service
>   originating => 1,  # is true in MYNETS by default, but let's make it
> explicit
>   os_fingerprint_method => undef,  # don't query p0f for internal clients
>   bypass_spam_checks_maps   => [1],  # don't spam-check
> };
>
> or instead of defining an additional policy bank just use the existing
> MYNETS
>
> problem solved ... feeling so relieved now ... yeah ;)
>
> thanks a lot for all you time & help
>
> Glad to hear. U r welcome
>





-- 
cat /etc/motd

Thank you
Indunil Jayasooriya
http://www.theravadanet.net/
http://www.siyabas.lk/sinhala_how_to_install.html   -  Download Sinhala
Fonts
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20160926/28b53094/attachment.html>


More information about the amavis-users mailing list