It seems as if postfix is ignoring the config which tells it to conenct to policyd before sending the mesasge.
If i telnet to to 10031 on my zimbra mta (where policyd runs) i see the following in my policyd log:
[2010/02/04-14:53:04 - 7452] [CORE] INFO: 2010/02/04-14:53:04 CONNECT TCP Peer: "127.0.0.1:42922" Local: "127.0.0.1:10031"
[2010/02/04-14:53:04 - 7450] [CORE] INFO: Starting "1" children
[2010/02/04-14:53:04 - 18658] [CORE] DEBUG: Child Preforked (18658)
[2010/02/04-14:53:04 - 18658] [CBPOLICYD] DEBUG: Starting up caching engine
[2010/02/04-14:53:24 - 7452] [CBPOLICYD] WARNING: Client closed connection => Peer: 127.0.0.1:42922, Local: 127.0.0.1:10031
[2010/02/04-14:53:44 - 7450] [CORE] INFO: Killing "1" children
[2010/02/04-14:53:44 - 7454] [CBPOLICYD] DEBUG: Shutting down caching engine (7454)
Which tells me that policyd is accepting connections, and that i should see a similar log whenever postfix attempts to send a message. I see no such log when i send via zimbra.
My zimbraMtaRestriction looks like:
[zimbra@zstore00 conf]$ zmprov gcf zimbraMtaRestriction
zimbraMtaRestriction: reject_invalid_hostname
zimbraMtaRestriction: reject_non_fqdn_sender
zimbraMtaRestriction: check_policy_service inet

ip of my zimbra mta):10031
And my postfix_recipient_restrictions.cf looks like:
%%contains VAR:zimbraMtaRestriction reject_invalid_hostname%%
%%contains VAR:zimbraMtaRestriction reject_non_fqdn_hostname%%
%%contains VAR:zimbraMtaRestriction reject_non_fqdn_sender%%
%%contains VAR:zimbraMtaRestriction reject_unknown_client%%
%%contains VAR:zimbraMtaRestriction reject_unknown_hostname%%
%%contains VAR:zimbraMtaRestriction reject_unknown_sender_domain%%
%%explode reject_rbl_client VAR:zimbraMtaRestrictionRBLs%%
%%contains VAR:zimbraMtaRestriction check_policy_service unix

rivate/policy%%
%%contains VAR:zimbraMtaRestriction check_policy_service inet

ip of my zimbra mta):10031%%
Is there something i'm missing?