On Mon March 20 2006 18:02, Gary V wrote:

> smtpd_recipient_restrictions =
>         permit_mynetworks
>         reject_unauth_destination
>         check_client_access hash:/etc/postfix/amavis_client_whitelist
> 
> contents of /etc/postfix/amavis_client_whitelist
> (ip address of the server is listed here):
> 192.168.1.17 FILTER smtp-amavis:[127.0.0.1]:10026
> 
> Then in amavisd.conf:
> 
> $inet_socket_port = [10024, 10026]; # change from original setting
> 
> $interface_policy{'10026'} = 'CLIENTWHITELIST'; # add this setting
> 
> $policy_bank{'CLIENTWHITELIST'} = {  # mail originating from trusted servers
>   bypass_spam_checks_maps   => [1],  # don't spam-check
>   final_spam_destiny   => D_PASS,    # insure spam passes
> };
 
Gary,
you are very clear in your explanations, my compliments :)

Question is:

in master.cf i have:
127.0.0.1:10025 inet n  -       n     -       -  smtpd
    -o content_filter=
    -o local_recipient_maps=
    -o relay_recipient_maps=
    -o smtpd_restriction_classes=
    -o smtpd_client_restrictions=
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o mynetworks=127.0.0.0/8
    -o strict_rfc821_envelopes=yes
    -o smtpd_error_sleep_time=0
    -o smtpd_soft_error_limit=1001
    -o smtpd_hard_error_limit=1000

should not i add something related to 10026, too?
TIA
        -- maurizio


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to