Hi, Tried the patch, but there is an typo: # Check params + if (!defined($request->{'protocol_state'})) { + $server->log(LOG_ERR,"[PROTOCOLS/Postfix] Error, parameter 'protocol_state' must be defined" if ($log); + return "required parameter 'protocol_state' was not found"; + }
Should be # Check params + if (!defined($request->{'protocol_state'})) { + $server->log(LOG_ERR,"[PROTOCOLS/Postfix] Error, parameter 'protocol_state' must be defined") if ($log); + return "required parameter 'protocol_state' was not found"; + } But it seems to work now :-) Thx again. Br hw -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nigel Kukard Sent: 27. juni 2008 08:18 To: policyd-users@lists.sourceforge.net Subject: Re: [policyd-users] policyd v2 smtpd_end_of_data_restrictions > <snip /> > > I've turned on all cluebringer debugging and this is what I see: > > > > [2008/06/26-14:32:38 - 5761] [CORE] INFO: 2008/06/26-14:32:38 > > CONNECT TCP Peer: "127.0.0.1:47941" Local: "127.0.0.1:10031" > > [2008/06/26-14:32:38 - 5761] [PROTOCOLS/Postfix] DEBUG: Possible > > Postfix protocol > > [2008/06/26-14:32:38 - 5761] [PROTOCOLS/Postfix] INFO: Identified > > Postfix protocol > > [2008/06/26-14:32:38 - 5633] [CORE] INFO: Starting "1" children > > [2008/06/26-14:32:38 - 5761] [CORE] ERROR: '' > > [2008/06/26-14:32:38 - 5761] [CBPOLICYD] ERROR: Protocol data > > validation error, required parameter 'recipient' was not found or > > invalid format > > [2008/06/26-14:32:38 - 6018] [CORE] DEBUG: Child Preforked (6018) > > [2008/06/26-14:32:38 - 6018] [CBPOLICYD] DEBUG: Starting up caching > > engine > > Where are you doing your check_policy_service? This is my config: > > smtpd_recipient_restrictions= > reject_unauth_pipelining, > permit_mynetworks, > permit_sasl_authenticated, > reject_non_fqdn_recipient, > reject_unauth_destination, > check_policy_service inet:127.0.0.1:10031, > permit > > smtpd_end_of_data_restrictions = > check_policy_service inet:127.0.0.1:10031 > Can you try the attached patch and let me know if it fixes your problem? -N ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ policyd-users mailing list policyd-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/policyd-users