Dear Nigel, Great; but how can I found the error in postfix ? I installed postfix from redhat's official repository. I don't see any option regarding this instance value... Regards - Vincent
Jumping NET Ackermann Sarl Vincent Ackermann CEO Chemin de la Chapelle 11 CH-2740 Moutier Mobile: +41 79 695 25 42 Tel: +41 32 493 63 55 Fax: +41 32 493 63 56 Email: [email protected] PGPkey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7B0BEDB7 -----Message d'origine----- De : [email protected] [mailto:[email protected]] De la part de [email protected] Envoyé : mercredi 10 mars 2010 13:00 À : [email protected] Objet : Users Digest, Vol 21, Issue 8 Send Users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.policyd.org/mailman/listinfo/users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Users digest..." Today's Topics: 1. Re: policyd error on redhat 5: protocol data validation error (Nigel Kukard) ---------------------------------------------------------------------- Message: 1 Date: Wed, 10 Mar 2010 10:53:05 +0000 From: Nigel Kukard <[email protected]> Subject: Re: [policyd-users] policyd error on redhat 5: protocol data validation error To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" On 03/10/10 10:42, Vincent Ackermann wrote: > > Hello, > > I just installed postfix and policyd v2 on my redhat 5 server. > > I installed the necessary modules and libraries. Cluebringer 2.0.10 > run but, if I try to send email, I receive: > > [r...@... ~]# telnet localhost 25 > > Trying 127.0.0.1... > > Connected to localhost.localdomain (127.0.0.1). > > Escape character is '^]'. > > 220 mail....... ESMTP Sendmail > > helo ..... > > 250 mail....... > > mail from: <[email protected]> > > 450 4.3.2 <[email protected]>: Sender address rejected: Try again > later > > > > On the console, I started cbpolicyd in debug mode: > > [r...@... ~]# /usr/sbin/cbpolicyd --debug --fg --config > /etc/policyd/cluebringer.conf > > [2010/03/10-11:29:16 - 27835] [CBPOLICYD] NOTICE: Policyd v2 / > Cluebringer - v2.0.10 > > [2010/03/10-11:29:16 - 27835] [CBPOLICYD] NOTICE: Initializing system > modules. > > [2010/03/10-11:29:16 - 27835] [CBPOLICYD] NOTICE: System modules > initialized. > > [2010/03/10-11:29:16 - 27835] [CBPOLICYD] NOTICE: Module load started... > > [2010/03/10-11:29:16 - 27835] [CORE] NOTICE: => AccessControl: enabled > > [2010/03/10-11:29:16 - 27835] [CORE] NOTICE: => CheckHelo: enabled > > [2010/03/10-11:29:16 - 27835] [CORE] NOTICE: => CheckSPF: enabled > > [2010/03/10-11:29:16 - 27835] [CORE] NOTICE: => Greylisting: enabled > > [2010/03/10-11:29:16 - 27835] [CORE] NOTICE: => Quotas: enabled > > [2010/03/10-11:29:16 - 27835] [CORE] NOTICE: => Protocol(Postfix): > enabled > > [2010/03/10-11:29:16 - 27835] [CBPOLICYD] NOTICE: Module load done. > > [2010/03/10-11:29:16 - 27835] [CBPOLICYD] DEBUG: Opening syslog, > destination = 'unix', facility = 'mail'. > > [2010/03/10-11:29:16 - 27835] [CORE] NOTICE: 2010/03/10-11:29:16 cbp > (type Net::Server::PreFork) starting! pid(27835) > > [2010/03/10-11:29:16 - 27835] [CORE] NOTICE: Binding to TCP port 10031 > on host 127.0.0.1 > > [2010/03/10-11:29:16 - 27835] [CORE] WARNING: Group Not Defined. > Defaulting to EGID '0 10 6 4 3 2 1 0' > > [2010/03/10-11:29:16 - 27835] [CORE] WARNING: User Not Defined. > Defaulting to EUID '0' > > [2010/03/10-11:29:16 - 27835] [CORE] INFO: Setting up serialization > via flock > > [2010/03/10-11:29:16 - 27835] [CORE] INFO: Beginning prefork (4 > processes) > > [2010/03/10-11:29:16 - 27835] [CORE] INFO: Starting "4" children > > [2010/03/10-11:29:16 - 27836] [CORE] DEBUG: Child Preforked (27836) > > [2010/03/10-11:29:16 - 27836] [CBPOLICYD] DEBUG: Starting up caching > engine > > [2010/03/10-11:29:16 - 27838] [CORE] DEBUG: Child Preforked (27838) > > [2010/03/10-11:29:16 - 27838] [CBPOLICYD] DEBUG: Starting up caching > engine > > [2010/03/10-11:29:16 - 27839] [CORE] DEBUG: Child Preforked (27839) > > [2010/03/10-11:29:16 - 27839] [CBPOLICYD] DEBUG: Starting up caching > engine > > [2010/03/10-11:29:16 - 27835] [CORE] DEBUG: Parent ready for children. > > [2010/03/10-11:29:16 - 27840] [CORE] DEBUG: Child Preforked (27840) > > [2010/03/10-11:29:16 - 27840] [CBPOLICYD] DEBUG: Starting up caching > engine > > [2010/03/10-11:29:54 - 27836] [CORE] INFO: 2010/03/10-11:29:54 CONNECT > TCP Peer: "127.0.0.1:55003" Local: "127.0.0.1:10031" > > [2010/03/10-11:29:54 - 27835] [CORE] INFO: Starting "1" children > > [2010/03/10-11:29:54 - 27906] [CORE] DEBUG: Child Preforked (27906) > > [2010/03/10-11:29:54 - 27906] [CBPOLICYD] DEBUG: Starting up caching > engine > > [2010/03/10-11:29:54 - 27836] [PROTOCOLS/Postfix] DEBUG: Possible > Postfix protocol > > [2010/03/10-11:29:54 - 27836] [PROTOCOLS/Postfix] INFO: Identified > Postfix protocol > > [2010/03/10-11:29:54 - 27836] [PROTOCOLS/Postfix] ERROR: Error, > parameter 'instance' cannot be '' > > *[2010/03/10-11:29:54 - 27836] [CBPOLICYD] ERROR: Protocol data > validation error, required parameter 'instance' was not found or > invalid format* > > [2010/03/10-11:30:26 - 27835] [CORE] INFO: Killing "1" children > > [2010/03/10-11:30:26 - 27836] [CBPOLICYD] DEBUG: Shutting down caching > engine (27836) > Your installation of postfix is not sending a required name/value pair... Read http://www.postfix.org/SMTPD_POLICY_README.html This says that instance= is sent for each policy request for postfix later than version 2.1. As policyd is not receiving a required name/value pair, it is giving an error. I suggest maybe debugging more on your side, and determining why your installation of policyd is not sending the instance= name/value pair. Regards Nigel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.policyd.org/pipermail/users/attachments/20100310/98ad9a90/attachment.html ------------------------------ _______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users End of Users Digest, Vol 21, Issue 8 ************************************ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
