Masim \"Vavai\" Sugianto wrote:

>  > I see no policy requests for RCPT stage.
>>
>
>Does this means that policyd doesn't correctly integrating into Zimbra
>Postfix or is this means that I have misconfiguration of my policy
>setting?

I think it means you may not have the Postfix integration setup 
right. I'm not familiar with Zimbra - is it using Postfix for it's 
mail handling ? If so, then you should be able to just follow the 
setup guides.

But you need to call the policy daemon in two places :

smtpd_recipient_restrictions =
   ...
   check_policy_service inet:postback.back.furness.net:10031,
   ...

smtpd_end_of_data_restrictions =
   check_policy_service inet:postback.back.furness.net:10031,
   ...


In my setup I have :
smtpd_recipient_restrictions =
   permit_mynetworks,
   reject_unauth_pipelining,
   check_client_access cidr:/etc/postfix/host_access,
   check_policy_service inet:postback.back.furness.net:10031,
   permit_sasl_authenticated,
   reject_non_fqdn_recipient,
   reject_unknown_recipient_domain,
   reject_unlisted_recipient,
   reject_unauth_destination,
   permit

smtpd_end_of_data_restrictions =
   check_policy_service inet:postback.back.furness.net:10031,
   permit


Looking through the logs, all the calls have "'ProtocolState' => 
'END-OF-MESSAGE'" which suggests you only have the policy service 
call in smtpd_end_of_data_restrictions.

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to