Note postconf -n works best.

Jordi Espasa Clofent wrote:
> Sorry Aslan, I've not seen "where" word; my complete main.cf is:

> # restictions
> smtpd_recipient_restrictions =
>              permit_sasl_authenticated, #if you use sasl
>              permit_mynetworks,
>              reject_unauth_destination,
>              check_policy_service inet:127.0.0.1:10031,
>              permit

Note here your using permit_sasl_authenticated.  A sasl authenticated 
user will be permitted here and never reach the policy service.  You 
would need to move the policy check above the permit_sasl option.

John Beaver

> 
> # SPAM controls
> maps_rbl_domains =
>          sbl-xbl.spamhaus.org
>          proxies.relays.monkeys.com
>          opm.blitzed.org
>          blackholes.wirehub.net
>          list.dsbl.org
>          rbl.dns-servicios.com
> smtpd_client_restrictions = reject_maps_rbl
> smtpd_client_restrictions = permit_mynetworks,reject_unknown_client
> disable_vrfy_command = yes
> 
> # auth
> smtp_tls_note_starttls_offer = yes
> smtpd_tls_key_file = /etc/postfix/ssl/private-key.pem
> smtpd_tls_cert_file = /etc/postfix/ssl/ca-certificate.pem
> smtpd_tls_loglevel = 2
> smtpd_tls_received_header = yes
> smtpd_tls_session_cache_timeout = 3600s
> tls_random_source = dev:/dev/urandom
> 
> # SASL authentication
> smtpd_sasl_type = dovecot
> smtpd_sasl_path = private/auth
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_security_options=noanonymous
> smtpd_sasl_local_domain = $myhostname
> smtpd_recipient_restrictions = permit_mynetworks, 
> permit_sasl_authenticated, reject_unauth_destination
> smtpd_sasl_authenticated_header = yes
> smtpd_delay_reject = yes
> broken_sasl_auth_clients = yes
> 
> # filter content
> content_filter=smtp-amavis:127.0.0.1:10024
> 
> # tunning
> default_process_limit = 500
> smtpd_error_sleep_time = 0
> in_flow_delay = 0
> 
> # mailman
> recipient_delimiter=+
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
policyd-users mailing list
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to